We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 866bdfe commit 402f113Copy full SHA for 402f113
package.json
@@ -36,9 +36,12 @@
36
},
37
"preferGlobal": true,
38
"scripts": {
39
- "test": "jscs src/*.js && istanbul cover _mocha -- -u exports -R spec ./test/**/*",
40
"style": "jscs src/*.js",
41
- "codacy": "istanbul cover _mocha -- -u exports -R spec ./test/**/* && cat ./coverage/lcov.info | codacy-coverage"
+ "coverage": "istanbul cover _mocha -- -u exports -R spec ./test/**/*",
+ "test": "npm run style && npm run coverage",
42
+ "codacy": "npm run coverage && cat ./coverage/lcov.info | codacy-coverage",
43
+ "preversion": "npm test",
44
+ "postversion": "git push && git push --tags"
45
46
"bin": {
47
"diff2html": "./bin/diff2html"
0 commit comments