From 81876f423ee12f42bb9a142927fc188bc6ca0427 Mon Sep 17 00:00:00 2001 From: microshine Date: Fri, 25 Jan 2019 16:16:24 +0300 Subject: [PATCH] Add pub script --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7b642a4..2ef1546 100644 --- a/package.json +++ b/package.json @@ -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",