Organize npm scripts
Combine `yarn grunt jshint` and `yarn grunt jscs` into `yarn grunt lint`.
This commit is contained in:
parent
513d9a5d5c
commit
d6436de3bd
1 changed files with 5 additions and 5 deletions
10
package.json
10
package.json
|
@ -34,15 +34,15 @@
|
|||
"release-win": "npm run build-release -- -w --prepackaged release/windows --publish=always",
|
||||
"release-lin": "npm run build-release -- -l --prepackaged release/linux && NAME=$npm_package_name VERSION=$npm_package_version ./aptly.sh",
|
||||
"release": "npm run release-mac && npm run release-win && npm run release-lin",
|
||||
"test-node": "mocha --recursive test/app test/modules ts/test-unit",
|
||||
"test-electron": "yarn grunt test",
|
||||
"test-electron-coverage": "nyc --reporter=lcov --reporter=text mocha --recursive test/app test/modules ts/test-unit",
|
||||
"test": "yarn test-node && yarn test-electron",
|
||||
"test-electron": "yarn grunt test",
|
||||
"test-node": "mocha --recursive test/app test/modules ts/test-unit",
|
||||
"test-node-coverage": "nyc --reporter=lcov --reporter=text mocha --recursive test/app test/modules ts/test-unit",
|
||||
"eslint": "eslint .",
|
||||
"jscs": "yarn grunt jscs",
|
||||
"jshint": "yarn grunt jshint",
|
||||
"eslint": "eslint .",
|
||||
"lint": "yarn eslint && yarn grunt lint && yarn tslint",
|
||||
"tslint": "tslint --config tslint.json --project . --format stylish",
|
||||
"lint": "yarn eslint && yarn tslint && yarn jshint && yarn jscs",
|
||||
"transpile": "tsc",
|
||||
"clean-transpile": "rimraf ts/**/*.js ts/*.js",
|
||||
"open-coverage": "open coverage/lcov-report/index.html",
|
||||
|
|
Loading…
Reference in a new issue