Add `lint:fix` script

This commit is contained in:
microshine 2019-03-07 03:15:30 +03:00
parent ef48c12b6c
commit 8e8937851b
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@
"coverage": "nyc npm test",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"lint": "tslint '{src,test}/**/*.ts'",
"lint:fix": "tslint --fix '{src,test}/**/*.ts'",
"prepub": "npm run lint && npm run test && npm run build",
"pub": "npm version patch && npm publish --access=public && git push"
},