Skip to content

Commit

Permalink
[meta] run build in prepack, not prepublish
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Nov 18, 2022
1 parent c479841 commit a0f4f38
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 @@ -4,10 +4,10 @@
"description": "AST utility module for statically analyzing JSX",
"main": "lib/index.js",
"scripts": {
"prepack": "npmignore --auto --commentLines=autogenerated",
"prepack": "npmignore --auto --commentLines=autogenerated && npm run build",
"prebuild": "rimraf lib",
"build": "babel src --out-dir lib",
"prepublishOnly": "safe-publish-latest && npm test && npm run build",
"prepublishOnly": "safe-publish-latest && npm test",
"prepublish": "not-in-publish || npm run prepublishOnly",
"prelint": "npm run build",
"lint": "eslint .",
Expand Down

0 comments on commit a0f4f38

Please sign in to comment.