[tests] import RNFirebase for parent directory rather than from npm file:.. syntax

This commit is contained in:
Salakar 2017-05-01 17:06:40 +01:00
parent 11734e51bd
commit bc653beb26
4 changed files with 11 additions and 1 deletions

2
.gitignore vendored
View File

@ -24,6 +24,7 @@ android/local.properties
# Gradle generated files
android/.gradle/
firebase
# Signing files
android/.signing/
@ -56,6 +57,7 @@ android/gradlew
android/build
android/gradlew.bat
android/gradle/
lib/.watchmanconfig
.idea
.idea
coverage

View File

@ -61,3 +61,5 @@ docs
coverage
yarn.lock
tests
lib/.watchmanconfig

View File

@ -9,7 +9,12 @@
"dev": "npm run compile -- --watch",
"lint": "eslint ./src",
"publish_pages": "gh-pages -d public/",
"tests-npm-install": "cd tests && npm install",
"tests-packager": "cd tests && npm run start",
"watch:add": "wml add $(node --eval \"console.log(require('path').resolve('./lib'));\") $(node --eval \"console.log(require('path').resolve('./tests/firebase'));\")",
"watch:list": "wml list",
"watch:start": "watchman watch $(node --eval \"console.log(require('path').resolve('./lib'));\") && wml start",
"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",
"flow": "flow"
},
@ -73,7 +78,8 @@
"flow-bin": "^0.40.0",
"react": "^15.3.0",
"react-dom": "^15.3.0",
"react-native": "^0.42.0"
"react-native": "^0.42.0",
"wml": "0.0.82"
},
"dependencies": {
"bows": "^1.6.0",

0
tests/firebase/.gitkeep Normal file
View File