diff --git a/docs/README_contributors.md b/docs/README_contributors.md index 3b53baf..1480b1c 100644 --- a/docs/README_contributors.md +++ b/docs/README_contributors.md @@ -182,7 +182,7 @@ cd angular-cli-ghpages/src npm run prettier npm run build npm run test -npm publish dist +npm run publish-to-npm npm dist-tag add angular-cli-ghpages@0.6.0-rc.0 next ``` diff --git a/src/package.json b/src/package.json index 96ce72c..2c8233f 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "angular-cli-ghpages", - "version": "1.0.1", + "version": "1.0.3", "description": "Deploy your Angular app to GitHub pages directly from the Angular CLI. (ng deploy)", "main": "index.js", "bin": { @@ -12,7 +12,8 @@ "build": "tsc -p tsconfig.build.json", "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", "test": "jest", - "prettier": "prettier --write ." + "prettier": "prettier --write .", + "publish-to-npm": "npm run build && cd dist && npm publish" }, "schematics": "./collection.json", "builders": "./builders.json",