aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorGaĆ«l Poupard <[email protected]>2020-11-23 18:50:45 +0200
committerXhmikosR <[email protected]>2020-12-04 07:52:03 +0200
commit3ef8483c5d86805328ca7b93f27156389ee6cdad (patch)
tree042c703a2eecbe1e53ba3dc354977b9ed4ec8835 /package.json
parenteb618393e3509d850ed15c47ff78757afa2d5fce (diff)
downloadbootstrap-3ef8483c5d86805328ca7b93f27156389ee6cdad.tar.xz
bootstrap-3ef8483c5d86805328ca7b93f27156389ee6cdad.zip
docs(examples): use RTLCSS for RTL examples
Diffstat (limited to 'package.json')
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json
index 76bb93d4a..5d4a9a4b4 100644
--- a/package.json
+++ b/package.json
@@ -32,6 +32,7 @@
"css-prefix": "npm-run-all --parallel css-prefix-*",
"css-prefix-main": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.rtl*.css\" \"!dist/css/*.min.css\"",
"css-prefix-examples": "postcss --config build/postcss.config.js --replace \"site/content/**/*.css\"",
+ "css-prefix-examples-rtl": "cross-env NODE_ENV=RTL postcss --config build/postcss.config.js --dir \"site/content/docs/$npm_package_version_short/examples/\" --ext \".rtl.css\" --base \"site/content/docs/$npm_package_version_short/examples/\" \"site/content/docs/$npm_package_version_short/examples/{blog,carousel,dashboard,cheatsheet}/*.css\" \"!site/content/docs/$npm_package_version_short/examples/{blog,carousel,dashboard,cheatsheet}/*.rtl.css\"",
"js": "npm-run-all js-compile js-minify",
"js-compile": "npm-run-all --parallel js-compile-*",
"js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",