Skip to content

Commit

Permalink
[meta] add build script to prepack, so it‘s not forgotten
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jul 10, 2024
1 parent a34cec3 commit 62ff3d9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@
"lib"
],
"scripts": {
"build": "rimraf lib && babel src --out-dir lib",
"flow": "flow",
"prepack": "npm run build",
"prebuild": "rimraf lib",
"build": "babel src --out-dir lib",
"lint": "eslint --ext=js,mjs .",
"prepublishOnly": "npm run build",
"pretest": "npm run lint && npm run flow",
"pretest": "npm run lint && flow",
"test": "npm run jest",
"test:ci": "npm run jest -- --ci --runInBand",
"jest": "jest --coverage __tests__/**/*",
Expand Down

0 comments on commit 62ff3d9

Please sign in to comment.