Skip to content

Commit

Permalink
package: use prepublishOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
andrenarchy committed Dec 25, 2018
1 parent 56bfa37 commit 3fd172d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"build": "rm -rf dist && tsc",
"lint": "tslint -p tsconfig.json src/**/*.ts",
"prepare": "npm run build",
"prepublishOnly": "npm run build",
"test": "mocha --opts ./mocha.opts",
"test-cover": "nyc npm test",
"test-cover-submit": "nyc report --reporter=json && codecov -f coverage/*.json"
Expand Down

0 comments on commit 3fd172d

Please sign in to comment.