fix(cp-frontend): use postinstall hook to patch react-scripts

instead of `install`
This commit is contained in:
Sérgio Ramos 2017-05-25 14:57:41 +01:00
parent 11bb161bb2
commit d2ac10ae28

View File

@ -12,7 +12,7 @@
"lint:js": "eslint . --fix --format=tap", "lint:js": "eslint . --fix --format=tap",
"lint": "run-s lint:*", "lint": "run-s lint:*",
"test": "exit 0 # react-scripts test --env=jsdom", "test": "exit 0 # react-scripts test --env=jsdom",
"install": "node scripts/postinstall" "postinstall": "node scripts/postinstall"
}, },
"dependencies": { "dependencies": {
"apollo": "^0.2.2", "apollo": "^0.2.2",