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": {
"@types/color": "^3.0.3",
"color": "^4.2.0",
"romulus-js": "file:./romulus-js"
"romulus-js": "file:romulus-js"
},
"devDependencies": {
"@types/jest": "^27.4.0",

View File

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