Add pub script

This commit is contained in:
microshine 2019-01-25 16:16:24 +03:00
parent 24c578be26
commit 81876f423e
1 changed files with 4 additions and 1 deletions

View File

@ -13,7 +13,10 @@
"build": "rollup -c",
"prepare": "npm run build",
"coverage": "nyc npm test",
"coveralls": "nyc report --reporter=text-lcov | coveralls"
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"lint": "tslint 'src/**/*.ts'",
"prepub": "npm run lint && npm run test && npm run build",
"pub": "npm version patch && npm publish && git push"
},
"keywords": [
"webcrypto",