diff --git a/dsl/tsconfig.json b/dsl/tsconfig.json index 81356424d..78358e809 100644 --- a/dsl/tsconfig.json +++ b/dsl/tsconfig.json @@ -2,21 +2,18 @@ "compilerOptions": { "moduleResolution": "node", "declaration": true, - "target": "es2017", + "target": "es2019", "module": "commonjs", "outDir": "lib", "pretty": true, "noEmitOnError": true, - "experimentalDecorators": true, + "experimentalDecorators": false, "sourceMap": true, - "emitDecoratorMetadata": true, + "emitDecoratorMetadata": false, "strict": true, "esModuleInterop": true, "removeComments": true, - "noUnusedLocals": true, - "lib": [ - "esnext" - ] + "noUnusedLocals": true }, "exclude": ["examples"], "include": ["./src/*.ts"] diff --git a/package.json b/package.json index 9147a37be..ff8ca8ac8 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "test:coverage-ui": "tap test/{unit,acceptance}/{*,**/*}.test.js --coverage --coverage-report=html --nyc-arg=\"--exclude=api\"", "test:dsl": "npm run lint:dsl && npm run build:ts && tap --ts test/dsl/*.test.ts", "lint": "standard", - "lint:dsl": "standardx --parser @typescript-eslint/parser --plugin @typescript-eslint/eslint-plugin dsl/src/*.ts dsl/examples/*.ts", + "lint:dsl": "standardx --parser @typescript-eslint/parser --plugin @typescript-eslint/eslint-plugin dsl/src/*.ts dsl/examples/*.ts test/dsl/*.ts", "lint:fix": "standard --fix", "license-checker": "license-checker --production --onlyAllow='MIT;Apache-2.0;Apache1.1;ISC;BSD-3-Clause;BSD-2-Clause'", "build:esm": "npx gen-esm-wrapper . index.mjs && standard --fix index.mjs",