From bc38597de8b0d9183a73b7e15bbffe5613f8dc16 Mon Sep 17 00:00:00 2001 From: nikogu <644506165@qq.com> Date: Fri, 1 Sep 2017 11:36:32 +0800 Subject: [PATCH] update roadhog-api-doc to support gh-pages --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d8b4b269..6c983ed3 100755 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "lint": "eslint --ext .js src test mock", "test": "npm run lint", "precommit": "npm run lint", - "site": "npm run build && gh-pages -d dist" + "site": "roadhog-api-doc static" }, "dependencies": { "antd": "next", @@ -41,6 +41,6 @@ "mockjs": "^1.0.1-beta3", "redbox-react": "^1.3.2", "roadhog": "^1.0.2", - "roadhog-api-doc": "^0.1.0" + "roadhog-api-doc": "^0.1.4" } } -- GitLab