This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
"format": "prettier --write .",
|
"format": "prettier --write .",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"postinstall": "tsc"
|
"postinstall": "npm run build"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
@@ -1,18 +1,19 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
/* Visit https://aka.ms/tsconfig.json to read more about this file */
|
"target": "esnext",
|
||||||
"target": "es2022" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
|
"module": "node20",
|
||||||
"module": "node16" /* Specify what module code is generated. */,
|
"moduleResolution": "node16",
|
||||||
"moduleResolution": "node16" /* Specify how TypeScript looks up a file from a given module specifier. */,
|
"rootDir": "src",
|
||||||
"rootDir": "src" /* Specify the root folder within your source files. */,
|
"outDir": "dist",
|
||||||
"sourceMap": true /* Create source map files for emitted JavaScript files. */,
|
"sourceMap": true,
|
||||||
"outDir": "dist" /* Specify an output folder for all emitted files. */,
|
"declaration": true,
|
||||||
"esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */,
|
"strict": true,
|
||||||
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
|
"esModuleInterop": true,
|
||||||
"strict": true /* Enable all strict type-checking options. */,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"skipLibCheck": true /* Skip type checking all .d.ts files. */,
|
"skipLibCheck": true,
|
||||||
"isolatedModules": true /* Ensure that each file can be safely transpiled without relying on other imports. */,
|
"isolatedModules": true,
|
||||||
"declaration": true
|
"noEmitOnError": true
|
||||||
},
|
},
|
||||||
|
"include": ["src/**/*"],
|
||||||
"exclude": ["tests", "dist"]
|
"exclude": ["tests", "dist"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user