[build/ci] added npm postinstall script for testing environment
This commit is contained in:
parent
f8f6511e35
commit
ae40bd2140
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue