diff --git a/package-lock.json b/package-lock.json index f0928c1..3b76c58 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", diff --git a/package.json b/package.json index 6cf55aa..b29ad6e 100644 --- a/package.json +++ b/package.json @@ -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" } } diff --git a/tsconfig.json b/tsconfig.json index f05358d..51d62dd 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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"] }