Skip to content

Commit 18abbb0

Browse files
committed
Add 'pretest' and 'test' scripts in package.json
1 parent 1d89218 commit 18abbb0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
"license": "BSD-2-Clause",
1616
"scripts": {
1717
"karma": "karma start test/karma.conf.js",
18-
"lint": "eslint *.js"
18+
"lint": "eslint *.js",
19+
"pretest": "npm run lint",
20+
"test": "npm run karma -- --single-run --log-level error"
1921
},
2022
"devDependencies": {
2123
"eslint": "^5.15.0",

0 commit comments

Comments
 (0)