]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
watch task docs + css
authorMark Otto <markdotto@gmail.com>
Sat, 22 Apr 2017 06:35:24 +0000 (23:35 -0700)
committerJohann-S <johann.servoire@gmail.com>
Sat, 29 Apr 2017 14:43:51 +0000 (16:43 +0200)
package.json

index 28937f563d3fa17dd8fec6460a4fb2271416248e..7307a56b17257f19020aff0d3b047d8d4bc58418 100644 (file)
@@ -53,7 +53,8 @@
     "release-version": "node build/change-version.js",
     "release-zip": "cd dist/ && zip -r9 bootstrap-$npm_package_version-dist.zip * && shx mv bootstrap-$npm_package_version-dist.zip ..",
     "dist": "npm-run-all --parallel css js",
-    "test": "npm-run-all dist js-test docs"
+    "test": "npm-run-all dist js-test docs",
+    "watch": "nodemon -e scss -x \"npm run css && npm run css-docs\""
   },
   "style": "dist/css/bootstrap.css",
   "sass": "scss/bootstrap.scss",
@@ -81,6 +82,7 @@
     "htmlhint": "^0.9.13",
     "htmllint-cli": "^0.0.6",
     "node-sass": "^4.5.2",
+    "nodemon": "^1.11.0",
     "npm-run-all": "^4.0.2",
     "phantomjs-prebuilt": "^2.1.14",
     "postcss-cli": "^3.1.1",