File tree 1 file changed +1
-2
lines changed
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 6
6
"scripts" : {
7
7
"prepare" : " npm run default-rollup" ,
8
8
"test" : " babel-tape-runner test/**/*Test.js" ,
9
- "prepublishOnly" : " uglifyjs -b beautify=false target/ktapi-full.js -o target/ktapi-full.min.js" ,
10
9
"clean" : " rm -rf target/ && rm -f src/processedIndex.js" ,
11
10
"default-rollup" : " rollup -c && FILENAME=ktapi-full npm run minimize" ,
12
- "minimize" : " uglifyjs -b beautify=false target/${FILENAME:-ktapi-custom}.js -o target/${FILENAME:-ktapi-custom}.min.js" ,
11
+ "minimize" : " uglifyjs -m - b beautify=false target/${FILENAME:-ktapi-custom}.js -o target/${FILENAME:-ktapi-custom}.min.js" ,
13
12
"custom-rollup" : " metascript src/index.js $META_PARAMS >src/processedIndex.js && rollup -c -i src/processedIndex.js -o target/${FILENAME:-ktapi-custom}.js && rm src/processedIndex.js && npm run minimize" ,
14
13
"interactive-rollup" : " node interactiveBuild.js && META_PARAMS=$(cat target/settings) npm run custom-rollup"
15
14
},
You can’t perform that action at this time.
0 commit comments