Commit daea08e7 authored by afc163's avatar afc163

pub to gh-pages

parent 55274c4d
...@@ -10,5 +10,5 @@ $ npm start ...@@ -10,5 +10,5 @@ $ npm start
``` ```
```bash ```bash
$ npm run deploy $ npm run site
``` ```
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
"build": "roadhog build", "build": "roadhog build",
"lint": "eslint --ext .js src test mock", "lint": "eslint --ext .js src test mock",
"test": "npm run lint", "test": "npm run lint",
"precommit": "npm run lint" "precommit": "npm run lint",
"site": "npm run build && gh-pages -d dist"
}, },
"dependencies": { "dependencies": {
"antd": "next", "antd": "next",
...@@ -35,6 +36,7 @@ ...@@ -35,6 +36,7 @@
"eslint-plugin-import": "^2.2.0", "eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^5.0.1", "eslint-plugin-jsx-a11y": "^5.0.1",
"eslint-plugin-react": "^7.0.1", "eslint-plugin-react": "^7.0.1",
"gh-pages": "^1.0.0",
"husky": "^0.13.4", "husky": "^0.13.4",
"mockjs": "^1.0.1-beta3", "mockjs": "^1.0.1-beta3",
"redbox-react": "^1.3.2", "redbox-react": "^1.3.2",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment