diff options
author | XhmikosR <xhmikosr@gmail.com> | 2018-10-15 12:46:12 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2018-10-15 14:31:42 +0300 |
commit | 3574af5231e3b281d11221afb17e27a19f3d7bcd (patch) | |
tree | 865c1f0efa9ce14b53287a48b6a9135f912c729a /package.json | |
parent | ad60a58043ca37b0037f9aa3226aff8917ce30a6 (diff) |
Include `css-copy` in the `css` script.
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json index 1f1cc560d3..6cc82f1f35 100644 --- a/package.json +++ b/package.json @@ -22,12 +22,12 @@ "http-server": "http-server --silent -p 3000", "bundlesize": "bundlesize", "check-broken-links": "npm-run-all --parallel --race \"http-server -- _gh_pages/\" blc", - "css": "npm-run-all --parallel css-lint* css-compile* --sequential css-prefix* css-minify*", + "css": "npm-run-all css-lint* css-compile* css-prefix* css-minify* css-copy", + "css-copy": "shx mkdir -p site/docs/4.1/dist/ && shx cp -r dist/css/ site/docs/4.1/dist/", "css-main": "npm-run-all --parallel css-lint css-compile --sequential css-prefix css-minify css-copy", "css-docs": "npm-run-all --parallel css-lint-docs css-compile-docs --sequential css-prefix-docs css-minify-docs", "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 && npm run css-copy", "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", - "css-copy": "shx mkdir -p site/docs/4.1/dist/ && shx cp -r dist/css/ site/docs/4.1/dist/", "css-lint": "stylelint --syntax scss \"scss/**/*.scss\"", "css-lint-docs": "stylelint --syntax scss \"site/docs/4.1/assets/scss/*.scss\" && stylelint \"site/docs/**/*.css\"", "css-lint-vars": "fusv scss/ site/docs/", |