From b349c756aa8a8985e2100c1720e4e67330bd78b0 Mon Sep 17 00:00:00 2001 From: Sibiraj Date: Mon, 9 Oct 2017 17:31:07 +0530 Subject: [PATCH] chore: add release script --- package.json | 5 +++-- scripts/release.sh | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 scripts/release.sh diff --git a/package.json b/package.json index bd9bbcfe..4114e502 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ "build": "ng build --prod && sh scripts/build.sh", "travis-test": "ng test --watch false", "precommit": "ng test --watch false && yarn run build", - "cz": "git-cz" + "cz": "git-cz", + "release": "sh scripts/release.sh" }, "keywords": [ "angular-editor", @@ -78,4 +79,4 @@ "path": "node_modules/cz-conventional-changelog" } } -} +} \ No newline at end of file diff --git a/scripts/release.sh b/scripts/release.sh new file mode 100644 index 00000000..c88cb481 --- /dev/null +++ b/scripts/release.sh @@ -0,0 +1 @@ +npm publish build/ \ No newline at end of file