Skip to content

Commit 171f699

Browse files
committed
Add preversion script
1 parent bb9ca4e commit 171f699

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "Angular expressions as standalone module",
55
"main": "./lib/main.js",
66
"scripts": {
7+
"preversion": "npm run lint && npm run test",
78
"test": "mocha test/main.test.js -R spec",
89
"test-browser": "webpack-dev-server 'mocha-loader!./test/main.test.js' --output-filename output.js --port 8081",
910
"lint": "eslint lib test && prettier lib/*.js test/*.js --list-different",

0 commit comments

Comments
 (0)