Skip to content

Commit 4518288

Browse files
committed
Move copy tasks back to css-main and js-compile so docs-github task runs properly
1 parent 159aebc commit 4518288

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"bundlesize": "bundlesize",
2424
"check-broken-links": "npm-run-all --parallel --race \"http-server -- _gh_pages/\" blc",
2525
"css": "npm-run-all --parallel css-lint* css-compile* --sequential css-prefix* css-minify*",
26-
"css-main": "npm-run-all --parallel css-lint css-compile --sequential css-prefix css-minify",
26+
"css-main": "npm-run-all --parallel css-lint css-compile --sequential css-prefix css-minify css-copy",
2727
"css-docs": "npm-run-all --parallel css-lint-docs css-compile-docs --sequential css-prefix-docs css-minify-docs",
2828
"css-compile": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/bootstrap.scss dist/css/bootstrap.css && node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/bootstrap-grid.scss dist/css/bootstrap-grid.css && node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/bootstrap-reboot.scss dist/css/bootstrap-reboot.css",
2929
"css-compile-docs": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 site/docs/4.1/assets/scss/docs.scss site/docs/4.1/assets/css/docs.min.css",
@@ -41,7 +41,7 @@
4141
"js-docs": "npm-run-all js-lint-docs js-minify-docs",
4242
"js-lint": "eslint js/src js/tests build/",
4343
"js-lint-docs": "eslint site/docs/4.1/assets/js/ site/sw.js",
44-
"js-compile": "npm-run-all --parallel js-compile-*",
44+
"js-compile": "npm-run-all --parallel js-compile-* --sequential js-copy",
4545
"js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
4646
"js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
4747
"js-compile-plugins": "cross-env PLUGINS=true babel js/src/ --out-dir js/dist/ --source-maps",
@@ -76,9 +76,9 @@
7676
"dist": "npm-run-all --parallel css js",
7777
"test": "npm-run-all dist js-test docs-compile docs-lint bundlesize",
7878
"watch": "npm-run-all --parallel watch-css-main watch-css-docs watch-js-main watch-js-docs",
79-
"watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm run css-main && npm run css-copy\"",
79+
"watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm run css-main\"",
8080
"watch-css-docs": "nodemon --watch site/docs/4.1/assets/scss/ --ext scss --exec \"npm run css-docs\"",
81-
"watch-js-main": "nodemon --watch js/src/ --ext js --exec \"npm run js-compile && npm run js-copy\"",
81+
"watch-js-main": "nodemon --watch js/src/ --ext js --exec \"npm run js-compile\"",
8282
"watch-js-docs": "nodemon --watch site/docs/4.1/assets/js/src/ --ext js --exec \"npm run js-docs\""
8383
},
8484
"style": "dist/css/bootstrap.css",

0 commit comments

Comments
 (0)