Skip to content

Commit

Permalink
solve issue related to npm deprecated scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoschenkel committed Sep 25, 2017
1 parent d4b7075 commit 108e534
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .publishrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
},
"confirm": true,
"publishTag": "latest --access public",
"prePublishScript": "npm test",
"prePublishScript": false,
"postPublishScript": false
}
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
"mocha": "mocha test/**/*.test.ts --require ts-node/register",
"autoformat": "prettier --config .prettierrc --write {src,test}/**/*.ts",
"tslint-check": "tslint-config-prettier-check ./tslint.json",
"clean-up": "rm -rf coverage && rm -rf lib",
"prepublish": "tsc -d && publish-please guard",
"publish-please": "npm run autoformat && npm run clean-up && publish-please"
"clean-up": "rm -rf .nyc_output && rm -rf coverage && rm -rf lib",
"prepare": "npm run clean-up && tsc -d",
"prepublishOnly": "publish-please guard",
"publish-please": "npm run autoformat && npm run clean-up && npm run test && publish-please"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 108e534

Please sign in to comment.