Skip to content

Commit

Permalink
[meta] combine duplicate prepublish scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Feb 21, 2021
1 parent eb5c787 commit 92bbef0
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 @@ -12,15 +12,14 @@
"./implementation": "./implementation.browser.js"
},
"scripts": {
"prepublish": "safe-publish-latest",
"prepublish": "safe-publish-latest && npm run --silent build",
"pretest": "npm run lint",
"test": "npm run --silent tests-only",
"posttest": "npx aud --production",
"tests-only": "nyc tape 'test/**/*.js'",
"lint": "eslint .",
"postlint": "es-shim-api --bound --property",
"build": "mkdir -p dist && browserify browserShim.js > dist/browser.js",
"prepublish": "npm run --silent build",
"version": "auto-changelog && git add CHANGELOG.md",
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
},
Expand Down

0 comments on commit 92bbef0

Please sign in to comment.