Skip to content

Commit eec7f3c

Browse files
committed
fix: clean exit on postinstall dependency missing #25
1 parent 745f374 commit eec7f3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"js-compile-utilities": "rollup --environment BUNDLE:false --config build/rollup.config.utilities.js --sourcemap",
6464
"js-minify": "uglifyjs --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/js/coreui.js.map,includeSources,url=coreui.min.js.map\" --output dist/js/coreui.min.js dist/js/coreui.js",
6565
"js-minify-utilities": "uglifyjs --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/js/coreui-utilities.js.map,includeSources,url=coreui-utilities.min.js.map\" --output dist/js/coreui-utilities.min.js dist/js/coreui-utilities.js",
66-
"postinstall": "coreui-plugin-npm-postinstall",
66+
"postinstall": "coreui-plugin-npm-postinstall || exit 0",
6767
"release-version": "node build/change-version.js",
6868
"release-zip": "cd dist/ && zip -r9 coreui-$npm_package_version-dist.zip * && shx mv coreui-$npm_package_version-dist.zip ..",
6969
"watch": "npm-run-all --parallel watch-css watch-js",

0 commit comments

Comments
 (0)