File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
"author" : " Mark <mark@remarkablemark.org>" ,
6
6
"main" : " index.js" ,
7
7
"scripts" : {
8
+ "prepublishOnly" : " npm run clean && npm run build:unmin && npm run build:min" ,
8
9
"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" ,
11
10
"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" ,
13
13
"test" : " mocha" ,
14
14
"lint" : " eslint index.js \" lib/**\" \" test/**\" " ,
15
15
"cover" : " istanbul cover _mocha -- -R spec \" test/**/*\" " ,
You can’t perform that action at this time.
0 commit comments