feat(eslint) Add fix option to npm run commands
This commit is contained in:
parent
7096c95371
commit
ea000dcfc8
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
||||||
"start": "nodemon server/ --exec babel-node --ignore 'claimTrieCache.json'",
|
"start": "nodemon server/ --exec babel-node --ignore 'claimTrieCache.json'",
|
||||||
"build": "babel server -d dist",
|
"build": "babel server -d dist",
|
||||||
"lint": "eslint ./server",
|
"lint": "eslint ./server",
|
||||||
|
"lint-fix": "npm run lint -- --fix",
|
||||||
"test": "npm run lint && npm run mocha",
|
"test": "npm run lint && npm run mocha",
|
||||||
"prod": "npm run build && node dist/",
|
"prod": "npm run build && node dist/",
|
||||||
"mocha": "./node_modules/.bin/mocha --compilers js:babel-register --require babel-polyfill",
|
"mocha": "./node_modules/.bin/mocha --compilers js:babel-register --require babel-polyfill",
|
||||||
|
|
Loading…
Reference in a new issue