mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-21 02:26:30 +08:00
[build/ci] added npm postinstall script for testing environment
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
"tests-watch-start": "watchman watch $(node --eval \"console.log(require('path').resolve('./lib'));\") && wml start",
|
||||
"tests-watch-stop": "watchman watch-del $(node --eval \"console.log(require('path').resolve('./lib'));\") && wml stop",
|
||||
"tests-pod-install": "cd tests && npm run ios:pod:install",
|
||||
"build-copy": "cp -R $(node --eval \"console.log(require('path').resolve('./lib'));\")/* $(node --eval \"console.log(require('path').resolve('./tests/firebase'));\")/",
|
||||
"postinstall": "test -d \"./tests\" && (npm run build-copy && npm run tests-npm-install) || echo \"Tests folder does not exists - skipping additional testing steps.\"",
|
||||
"flow": "flow"
|
||||
},
|
||||
"repository": {
|
||||
|
||||
Reference in New Issue
Block a user