Skip to content

Commit

Permalink
Add preversion script
Browse files Browse the repository at this point in the history
  • Loading branch information
edi9999 committed Jan 29, 2021
1 parent bb9ca4e commit 171f699
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Angular expressions as standalone module",
"main": "./lib/main.js",
"scripts": {
"preversion": "npm run lint && npm run test",
"test": "mocha test/main.test.js -R spec",
"test-browser": "webpack-dev-server 'mocha-loader!./test/main.test.js' --output-filename output.js --port 8081",
"lint": "eslint lib test && prettier lib/*.js test/*.js --list-different",
Expand Down

0 comments on commit 171f699

Please sign in to comment.