config: extract nyc into own npm scripts because it makes debugging impossible
This commit is contained in:
parent
1b2157f031
commit
1392532b7e
10
package.json
10
package.json
|
@ -13,8 +13,10 @@
|
|||
"typeorm:migrate:library": "typeorm migration:run -c library",
|
||||
"watch": "gulp build --watch --dev",
|
||||
"build": "gulp build",
|
||||
"test:fast": "nyc mocha --grep @slow --invert",
|
||||
"test": "nyc mocha",
|
||||
"test:fast": "mocha --grep @slow --invert",
|
||||
"test": "mocha",
|
||||
"coverage:fast": "nyc npm run test:fast",
|
||||
"coverage": "nyc npm run test",
|
||||
"lint": "npm run eslint && npm run tslint",
|
||||
"eslint-check": "eslint --print-config gulpfile.js | eslint-config-prettier-check",
|
||||
"eslint": "eslint .",
|
||||
|
@ -25,8 +27,8 @@
|
|||
"forge:start": "electron-forge start",
|
||||
"forge:make": "electron-forge --platform win32 --arch x64 make",
|
||||
"forge": "npm run build && npm run forge:make",
|
||||
"precommit": "npm run prettier && npm run eslint-check && npm run tslint-check && npm run lint && npm run test:fast",
|
||||
"prepush": "npm run test"
|
||||
"precommit": "npm run prettier && npm run eslint-check && npm run tslint-check && npm run lint && npm run coverage:fast",
|
||||
"prepush": "npm run coverage"
|
||||
},
|
||||
"dependencies": {
|
||||
"jsdom": "^15.1.1",
|
||||
|
|
Loading…
Reference in New Issue