Browse Source

changed package.json docs scripts

REJack 5 years ago
parent
commit
0d4a75475a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      package.json

+ 2 - 1
package.json

@@ -12,6 +12,7 @@
     "css-minify": "cleancss --level 1 --source-map --source-map-inline-sources --output dist/css/adminlte.min.css dist/css/adminlte.css",
     "css-minify": "cleancss --level 1 --source-map --source-map-inline-sources --output dist/css/adminlte.min.css dist/css/adminlte.css",
     "compile": "npm-run-all --parallel js css",
     "compile": "npm-run-all --parallel js css",
     "dev": "npm-run-all --parallel watch sync",
     "dev": "npm-run-all --parallel watch sync",
+    "docs": "npm-run-all --sequential docs-clean docs-prepare docs-compile",
     "docs-clean": "cd docs/ && bundle exec jekyll clean -d ../docs_html",
     "docs-clean": "cd docs/ && bundle exec jekyll clean -d ../docs_html",
     "docs-compile": "cd docs/ && bundle exec jekyll build -d ../docs_html",
     "docs-compile": "cd docs/ && bundle exec jekyll build -d ../docs_html",
     "docs-serve": "cd docs/ && bundle exec jekyll serve",
     "docs-serve": "cd docs/ && bundle exec jekyll serve",
@@ -21,7 +22,7 @@
     "js-compile": "rollup --config build/config/rollup.config.js --sourcemap",
     "js-compile": "rollup --config build/config/rollup.config.js --sourcemap",
     "js-minify": "terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/js/adminlte.js.map,includeSources,url=adminlte.min.js.map\" --output dist/js/adminlte.min.js dist/js/adminlte.js",
     "js-minify": "terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/js/adminlte.js.map,includeSources,url=adminlte.min.js.map\" --output dist/js/adminlte.min.js dist/js/adminlte.js",
     "production": "npm-run-all --sequential compile plugins",
     "production": "npm-run-all --sequential compile plugins",
-    "prepare-release": "npm-run-all --sequential compile plugins docs-clean docs-compile",
+    "prepare-release": "npm-run-all --sequential compile plugins docs",
     "plugins": "node build/npm/Publish.js -v",
     "plugins": "node build/npm/Publish.js -v",
     "sync": "browser-sync start --server --files *.html pages/ dist/",
     "sync": "browser-sync start --server --files *.html pages/ dist/",
     "watch": "npm-run-all --parallel watch-css watch-js",
     "watch": "npm-run-all --parallel watch-css watch-js",