Skip to content

Commit 62626d1

Browse files
committed
fix npm publish, v1.0.3
fixes #156
1 parent bff5076 commit 62626d1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/README_contributors.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ cd angular-cli-ghpages/src
182182
npm run prettier
183183
npm run build
184184
npm run test
185-
npm publish dist
185+
npm run publish-to-npm
186186
npm dist-tag add angular-cli-ghpages@0.6.0-rc.0 next
187187
```
188188

src/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-cli-ghpages",
3-
"version": "1.0.1",
3+
"version": "1.0.3",
44
"description": "Deploy your Angular app to GitHub pages directly from the Angular CLI. (ng deploy)",
55
"main": "index.js",
66
"bin": {
@@ -12,7 +12,8 @@
1212
"build": "tsc -p tsconfig.build.json",
1313
"postbuild": "copyfiles builders.json collection.json ng-add-schema.json package.json angular-cli-ghpages deploy/schema.json dist && copyfiles ../README.md dist/README.md",
1414
"test": "jest",
15-
"prettier": "prettier --write ."
15+
"prettier": "prettier --write .",
16+
"publish-to-npm": "npm run build && cd dist && npm publish"
1617
},
1718
"schematics": "./collection.json",
1819
"builders": "./builders.json",

0 commit comments

Comments
 (0)