Run lint and test before releasing new versions

This commit is contained in:
Nicolas Gallagher
2017-06-02 15:29:11 -07:00
parent 3c400a662b
commit 22999d7e5b
+1 -1
View File
@@ -21,7 +21,7 @@
"lint": "npm run lint:cmd -- benchmarks docs src",
"lint:cmd": "eslint --fix --ignore-path .gitignore",
"precommit": "lint-staged",
"release": "npm run compile && npm run build && npm publish",
"release": "npm run lint && npm run test && npm run compile && npm run build && npm publish",
"test": "jest",
"test:watch": "npm run test -- --watch"
},