|
|
@@ -5,11 +5,11 @@
|
|
|
"private": true,
|
|
|
"scripts": {
|
|
|
"precommit": "npm run lint-staged",
|
|
|
- "preinstall": "cd functions && npm install",
|
|
|
+ "presite": "cd functions && npm install",
|
|
|
"start": "cross-env ESLINT=none roadhog dev",
|
|
|
"start:no-proxy": "cross-env NO_PROXY=true ESLINT=none roadhog dev",
|
|
|
"build": "cross-env ESLINT=none roadhog build",
|
|
|
- "site": "rollup -c && npm run build && firebase deploy",
|
|
|
+ "site": "npm run presite && rollup -c && npm run build && firebase deploy",
|
|
|
"analyze": "cross-env ANALYZE=1 roadhog build",
|
|
|
"lint:style": "stylelint \"src/**/*.less\" --syntax less",
|
|
|
"lint": "eslint --ext .js src mock tests && npm run lint:style",
|
|
|
@@ -38,7 +38,7 @@
|
|
|
"path-to-regexp": "^2.1.0",
|
|
|
"prop-types": "^15.5.10",
|
|
|
"qs": "^6.5.0",
|
|
|
- "rc-drawer": "^1.4.4",
|
|
|
+ "rc-drawer": "^1.5.1",
|
|
|
"react": "^16.4.0",
|
|
|
"react-container-query": "^0.11.0",
|
|
|
"react-document-title": "^2.0.3",
|