1
0
mirror of https://github.com/bigchaindb/js-bigchaindb-driver.git synced 2024-11-22 01:36:56 +01:00

run linting before every commit

This commit is contained in:
Matthias Kretschmann 2017-06-13 14:14:46 +02:00
parent c8902046b8
commit 1ee24e6ac7
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -22,7 +22,8 @@
"release": "./node_modules/release-it/bin/release.js --src.tagName='v%s' --github.release --npm.publish --non-interactive",
"release-minor": "./node_modules/release-it/bin/release.js minor --src.tagName='v%s' --github.release --npm.publish --non-interactive",
"release-major": "./node_modules/release-it/bin/release.js major --src.tagName='v%s' --github.release --npm.publish --non-interactive",
"postinstall": "npm run build"
"postinstall": "npm run build",
"precommit": "npm run lint"
},
"devDependencies": {
"babel-cli": "^6.22.2",
@ -41,6 +42,7 @@
"eslint": "^3.14.1",
"eslint-config-ascribe": "^3.0.1",
"eslint-plugin-import": "^2.2.0",
"husky": "^0.13.4",
"release-it": "^2.7.3",
"rimraf": "^2.5.4",
"webpack": "^2.2.1"