Skip to content

Commit 51ce233

Browse files
committed
fixing release script
1 parent 5482aba commit 51ce233

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ng2-date-picker",
33
"author": "Vlad Ioffe",
4-
"version": "1.0.1",
4+
"version": "1.0.2",
55
"license": "MIT",
66
"main": "index.js",
77
"scripts": {
@@ -11,8 +11,9 @@
1111
"test": "ng test",
1212
"lint": "ng lint",
1313
"e2e": "ng e2e",
14-
"build-demo": "rm -rf dist/ && ng build --prod --bh /angular-datepicker/",
15-
"build-prod": "node build.js && ngc && cp package.json bin",
14+
"build:demo": "rm -rf dist/ && ng build --prod --bh /angular-datepicker/",
15+
"build:prod": "node build.js && ngc && cp package.json bin",
16+
"release": "npm run build:prod && npm publish bin",
1617
"pack": "cd bin && npm pack"
1718
},
1819
"repository": {

0 commit comments

Comments
 (0)