Skip to content

Commit

Permalink
Update package.json (#15)
Browse files Browse the repository at this point in the history
* Update package.json

* updating npm publish action
  • Loading branch information
trevorhreed authored Jan 23, 2020
1 parent cc361c4 commit d52be8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- run: npm ci
- run: npm run build
- run: npm version ${GITHUB_REF/refs\/tags\//}
- run: npm publish
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

Expand Down
7 changes: 1 addition & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@
"format": "prettier --write 'src/**/*.ts' 'src/**/*.js'",
"lint": "tslint -p tsconfig.json",
"coverage": "nyc npm run jasmine",
"test": "npm run build && npm run coverage && npm run lint",
"prepublishOnly": "npm run test",
"preversion": "npm run test",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags",
"deploy": "tsc && npm run test && npm publish --access public"
"test": "npm run build && npm run coverage && npm run lint"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit d52be8f

Please sign in to comment.