Browse Source

Add docs scripts

zhixin 7 years ago
parent
commit
8341cef0c0
1 changed files with 3 additions and 1 deletions
  1. 3 1
      package.json

+ 3 - 1
package.json

@@ -28,7 +28,9 @@
     "css:build:banner": "find dist -name '*.min.css' -exec headr {} -o {} --version --homepage --author --license \\;",
     "css:build": "run-s css:build:*",
     "clean": "rm -rf dist",
-    "build": "run-s lint clean *:build"
+    "build": "run-s lint clean *:build",
+    "docs": "bundle exec jekyll build",
+    "docs-serve": "bundle exec jekyll serve"
   },
   "repository": {
     "type": "git",