We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3514e45 commit dcd6cdcCopy full SHA for dcd6cdc
package.json
@@ -5,9 +5,9 @@
5
"main": "dist/index.js",
6
"scripts": {
7
"clean": "rimraf ./dist",
8
- "build": "npm run clean && webpack",
9
- "prerelease": "npm run lint && npm run build",
10
- "release": "npmpub",
+ "prebuild": "npm run lint",
+ "build": "NODE_ENV=production npm run clean && webpack",
+ "prepublish": "npm run build",
11
"lint": "eslint .",
12
"lint:fix": "npm run lint -- --fix",
13
"lint:staged": "lint-staged",
0 commit comments