Explorar el Código

edit site script

陈帅 hace 7 años
padre
commit
eaf60da7c2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -9,7 +9,7 @@
     "start:no-proxy": "cross-env NO_PROXY=true ESLINT=none roadhog dev",
     "start:no-proxy": "cross-env NO_PROXY=true ESLINT=none roadhog dev",
     "build": "cross-env ESLINT=none roadhog build",
     "build": "cross-env ESLINT=none roadhog build",
     "build-site": "roadhog-api-doc static",
     "build-site": "roadhog-api-doc static",
-    "site": "roadhog-api-doc static && gh-pages -d dist",
+    "site": "npm run build && firebase deploy",
     "analyze": "cross-env ANALYZE=1 roadhog build",
     "analyze": "cross-env ANALYZE=1 roadhog build",
     "lint:style": "stylelint \"src/**/*.less\" --syntax less",
     "lint:style": "stylelint \"src/**/*.less\" --syntax less",
     "lint": "eslint --ext .js src mock tests && npm run lint:style",
     "lint": "eslint --ext .js src mock tests && npm run lint:style",