We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a34cec3 commit 62ff3d9Copy full SHA for 62ff3d9
package.json
@@ -7,11 +7,12 @@
7
"lib"
8
],
9
"scripts": {
10
- "build": "rimraf lib && babel src --out-dir lib",
11
- "flow": "flow",
+ "prepack": "npm run build",
+ "prebuild": "rimraf lib",
12
+ "build": "babel src --out-dir lib",
13
"lint": "eslint --ext=js,mjs .",
14
"prepublishOnly": "npm run build",
- "pretest": "npm run lint && npm run flow",
15
+ "pretest": "npm run lint && flow",
16
"test": "npm run jest",
17
"test:ci": "npm run jest -- --ci --runInBand",
18
"jest": "jest --coverage __tests__/**/*",
0 commit comments