Updated configuration files

This commit is contained in:
delvedor
2020-09-07 09:59:45 +02:00
parent d3aeef251b
commit 96110ea948
2 changed files with 5 additions and 8 deletions

View File

@ -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"]

View File

@ -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",