We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b93f9a commit f504442Copy full SHA for f504442
1 file changed
package.json
@@ -6,13 +6,13 @@
6
"main": "./dist/index.cjs.js",
7
"module": "./dist/index.mjs",
8
"scripts": {
9
- "pre_build": "rimraf dist",
10
- "_build": "rollup -c",
11
- "build": "cross-env NODE_ENV=production npm run _build",
+ "prebuild": "rimraf dist",
+ "build": "rollup -c",
12
"coveralls": "nyc report --reporter=text-lcov | coveralls",
13
- "precoverage": "rimraf coverage",
14
"lint": "eslint src",
15
- "start": "npm run _build -- -w",
+ "prepublishOnly": "npm test && cross-env NODE_ENV=production npm run build",
+ "start": "cross-env NODE_ENV=development npm run build -- -w",
+ "pretest": "rimraf coverage",
16
"test": "nyc --reporter=text --reporter=html mocha"
17
},
18
"author": "Tyler Waters <tyler.waters@gmail.com>",
0 commit comments