Skip to content

Commit

Permalink
Use a custom publish npm script, don't use npm pre/post-publish.
Browse files Browse the repository at this point in the history
  • Loading branch information
laurence-myers committed Apr 7, 2018
1 parent 7579c31 commit bcf0d32
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@
"types": "dist/main.d.ts",
"scripts": {
"build": "rimraf publish && tsc -p tsconfig.build.json && node publish/build.js",
"postpublish": "rimraf publish",
"pretest": "rimraf dist && tsc -p tsconfig.all.json",
"prepublish": "npm run test && npm run build",
"publishToNpm": "npm run test && npm run build && cd publish && npm publish && cd .. && rimraf publish",
"test": "mocha --require source-map-support/register \"dist/test/**/*.js\"",
"watch": "tsc -p tsconfig.all.json -w"
},
Expand Down

0 comments on commit bcf0d32

Please sign in to comment.