Skip to content

Commit 4998c8b

Browse files
chore(package): rename build and prepublish scripts
1 parent 9ae076f commit 4998c8b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
"author": "Mark <mark@remarkablemark.org>",
66
"main": "index.js",
77
"scripts": {
8+
"prepublishOnly": "npm run clean && npm run build:unmin && npm run build:min",
89
"release": "standard-version",
9-
"build-unmin": "NODE_ENV=development webpack index.js dist/html-react-parser.js",
10-
"build-min": "NODE_ENV=production webpack -p index.js dist/html-react-parser.min.js",
1110
"clean": "rm -rf dist",
12-
"prepublish": "npm run clean && npm run build-unmin && npm run build-min",
11+
"build:unmin": "NODE_ENV=development webpack index.js dist/html-react-parser.js",
12+
"build:min": "NODE_ENV=production webpack -p index.js dist/html-react-parser.min.js",
1313
"test": "mocha",
1414
"lint": "eslint index.js \"lib/**\" \"test/**\"",
1515
"cover": "istanbul cover _mocha -- -R spec \"test/**/*\"",

0 commit comments

Comments
 (0)