Organize npm scripts

Combine `yarn grunt jshint` and `yarn grunt jscs` into `yarn grunt lint`.
This commit is contained in:
Daniel Gasienica 2018-04-11 14:57:15 -04:00
parent 513d9a5d5c
commit d6436de3bd
1 changed files with 5 additions and 5 deletions

View File

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