|
|
|
|
64
|
"build:tsc": "tsc --build --clean && tsc",
|
64
|
"build:tsc": "tsc --build --clean && tsc",
|
65
|
"gen-types": "tsc --declaration --emitDeclarationOnly --outFile types/index.d.ts",
|
65
|
"gen-types": "tsc --declaration --emitDeclarationOnly --outFile types/index.d.ts",
|
66
|
"gen-version": "node tools/gen-version.js",
|
66
|
"gen-version": "node tools/gen-version.js",
|
67
|
- "lint": "eslint . --max-warnings 0",
|
|
|
|
|
67
|
+ "lint": "eslint . --max-warnings 0 && tsc --noEmit",
|
68
|
"lint-fix": "eslint . --max-warnings 0 --fix",
|
68
|
"lint-fix": "eslint . --max-warnings 0 --fix",
|
69
|
"prepack": "npm run build && npm run gen-types",
|
69
|
"prepack": "npm run build && npm run gen-types",
|
70
|
"test": "karma start karma.conf.js",
|
70
|
"test": "karma start karma.conf.js",
|