From 531aa3bcdb8640641802c083ffe3f93c1a6da871 Mon Sep 17 00:00:00 2001 From: Ibby Hadeed Date: Thu, 7 Sep 2017 11:45:29 -0400 Subject: [PATCH] add shipit command --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 14fd570..88992a3 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "build": "rm -rf aot dist && ngc", "test": "echo \"Error: no test specified\" && exit 1", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", - "postchangelog": "git commit -am \"chore(): update changelog\"" + "postchangelog": "git commit -am \"chore(): update changelog\"", + "shipit": "npm run build && npm publish" }, "repository": { "type": "git",