Skip to content

Commit

Permalink
🔧 add prepublishOnly step
Browse files Browse the repository at this point in the history
  • Loading branch information
ctcpip committed Feb 21, 2024
1 parent ff8f7b4 commit f9e0cd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"build:browser": "(node lib/header && browserify lib/global.js) > dist/fortune.js",
"build:minified": "(node lib/header && cat dist/fortune.js | uglifyjs -cm) > dist/fortune.min.js",
"lint": "eslint lib",
"prepublishOnly": "npm run test && npm run build",
"postpublish": "npm run deploy && npm run tag",
"tag": "git tag `npm v fortune version` && git push origin --tags",
"test": "npm run lint && npm run test:server && npm run test:browser",
Expand Down

0 comments on commit f9e0cd1

Please sign in to comment.