Explorar el Código

update roadhog-api-doc to support gh-pages

nikogu hace 8 años
padre
commit
bc38597de8
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      package.json

+ 2 - 2
package.json

@@ -7,7 +7,7 @@
     "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"
+    "site": "roadhog-api-doc static"
   },
   },
   "dependencies": {
   "dependencies": {
     "antd": "next",
     "antd": "next",
@@ -41,6 +41,6 @@
     "mockjs": "^1.0.1-beta3",
     "mockjs": "^1.0.1-beta3",
     "redbox-react": "^1.3.2",
     "redbox-react": "^1.3.2",
     "roadhog": "^1.0.2",
     "roadhog": "^1.0.2",
-    "roadhog-api-doc": "^0.1.0"
+    "roadhog-api-doc": "^0.1.4"
   }
   }
 }
 }