Ver código fonte

Add npm run analyze

afc163 8 anos atrás
pai
commit
86314e2004
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      package.json

+ 1 - 0
package.json

@@ -9,6 +9,7 @@
     "start:no-proxy": "NO_PROXY=true roadhog server",
     "start:no-proxy": "NO_PROXY=true roadhog server",
     "build": "roadhog build",
     "build": "roadhog build",
     "site": "roadhog-api-doc static",
     "site": "roadhog-api-doc static",
+    "analyze": "roadhog build --analyze",
     "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",
     "lint:fix": "eslint --fix --ext .js src mock tests && npm run lint:style",
     "lint:fix": "eslint --fix --ext .js src mock tests && npm run lint:style",