Update romulus-js path in package.json and tsconfig.json

This commit is contained in:
2025-09-03 20:22:30 +01:00
parent 695964a636
commit 02c9cfdabc
3 changed files with 17 additions and 14 deletions

2
package-lock.json generated
View File

@@ -12,7 +12,7 @@
"dependencies": { "dependencies": {
"@types/color": "^3.0.3", "@types/color": "^3.0.3",
"color": "^4.2.0", "color": "^4.2.0",
"romulus-js": "file:./romulus-js" "romulus-js": "file:romulus-js"
}, },
"devDependencies": { "devDependencies": {
"@types/jest": "^27.4.0", "@types/jest": "^27.4.0",

View File

@@ -31,8 +31,8 @@
} }
}, },
"dependencies": { "dependencies": {
"color": "^4.2.0",
"@types/color": "^3.0.3", "@types/color": "^3.0.3",
"romulus-js": "file:./romulus-js" "color": "^4.2.0",
"romulus-js": "file:romulus-js"
} }
} }

View File

@@ -1,16 +1,19 @@
{ {
"compilerOptions": { "compilerOptions": {
/* Visit https://aka.ms/tsconfig.json to read more about this file */ "target": "esnext",
"target": "es2016" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, "module": "node20",
"module": "commonjs" /* Specify what module code is generated. */, "moduleResolution": "node16",
"rootDir": "src" /* Specify the root folder within your source files. */, "rootDir": "src",
"sourceMap": true /* Create source map files for emitted JavaScript files. */, "outDir": "dist",
"outDir": "dist" /* Specify an output folder for all emitted files. */, "sourceMap": true,
"esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */, "declaration": true,
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */, "strict": true,
"strict": true /* Enable all strict type-checking options. */, "esModuleInterop": true,
"skipLibCheck": true /* Skip type checking all .d.ts files. */, "forceConsistentCasingInFileNames": true,
"declaration": true "skipLibCheck": true,
"isolatedModules": true,
"noEmitOnError": true
}, },
"include": ["src/**/*"],
"exclude": ["tests", "dist"] "exclude": ["tests", "dist"]
} }