Skip to content

Commit 74d29c7

Browse files
committed
Add ci npm script for build automation.
1 parent afb5323 commit 74d29c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@
5252
"coverage": "./node_modules/mocha/bin/mocha --timeout 20000 --require blanket --reporter html-cov ./test/*.js > coverage.html",
5353
"complexity": "./node_modules/plato/bin/plato -r -d complexity lib",
5454
"performance": "node --allow-natives-syntax --harmony ./node_modules/mocha/bin/_mocha --reporter mocha-performance ./test/*.js",
55-
"lint": "./node_modules/.bin/eslint ./example/*.js ./lib/* ./test/*.js --quiet && echo '✔ All good!'"
55+
"lint": "./node_modules/.bin/eslint ./example/*.js ./lib/* ./test/*.js --quiet && echo '✔ All good!'",
56+
"ci": "npm run lint && npm run test"
5657
},
5758
"config": {
5859
"blanket": {

0 commit comments

Comments
 (0)