feat(eslint) Add fix option to npm run commands

This commit is contained in:
BelfordZ 2017-10-12 20:49:00 -07:00
parent 7096c95371
commit ea000dcfc8

View file

@ -26,6 +26,7 @@
"start": "nodemon server/ --exec babel-node --ignore 'claimTrieCache.json'",
"build": "babel server -d dist",
"lint": "eslint ./server",
"lint-fix": "npm run lint -- --fix",
"test": "npm run lint && npm run mocha",
"prod": "npm run build && node dist/",
"mocha": "./node_modules/.bin/mocha --compilers js:babel-register --require babel-polyfill",