Skip to content

Commit

Permalink
Make tests pass using Node 5 / NPM 3 facebook#832
Browse files Browse the repository at this point in the history
Make tests pass using Node 5 / NPM 3 facebook#832

Make tests pass using Node 5 / NPM 3 facebook#832

Make tests pass using Node 5 / NPM 3 facebook#832
  • Loading branch information
rainer oviir authored and rainer oviir committed Feb 15, 2016
1 parent d4c3860 commit 9050c55
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
language: node_js
node_js:
- '4'
- '5'
env:
- TEST_DIR=.
- TEST_DIR=scripts/babel-relay-plugin
Expand Down
16 changes: 5 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
"dependencies": {
"babel-runtime": "5.8.24",
"fbjs": "^0.7.0",
"react-static-container": "^1.0.0-alpha.1"
"react-static-container": "^1.0.0-alpha.1",
"babel-relay-plugin": "0.7.0"
},
"peerDependencies": {
"babel-relay-plugin": "0.7.0",
"react": "^0.14.0"
},
"devDependencies": {
Expand Down Expand Up @@ -61,8 +61,8 @@
"webpack-stream": "^2.1.0"
},
"devEngines": {
"node": ">=4.x",
"npm": ">=2.x"
"node": ">=5.x",
"npm": ">=3.x"
},
"jest": {
"rootDir": "",
Expand All @@ -85,13 +85,7 @@
"<rootDir>/src/"
],
"unmockedModulePathPatterns": [
"<rootDir>/node_modules/fbjs/node_modules/core-js/",
"<rootDir>/node_modules/fbjs-scripts/",
"<rootDir>/node_modules/fbjs/node_modules/promise/",
"<rootDir>/node_modules/fbjs/lib/(?!(ErrorUtils.js$|fetch.js$|fetchWithRetries.js$))",
"<rootDir>/node_modules/react/",
"<rootDir>/node_modules/react-dom/",
"<rootDir>/node_modules/react-static-container/"
"<rootDir>/node_modules/(?!(fbjs/lib/ErrorUtils.js$|fbjs/lib/fetch.js$|fbjs/lib/fetchWithRetries.js$))"
]
}
}
1 change: 1 addition & 0 deletions scripts/babel-relay-plugin/src/.flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

[include]
../node_modules/
../../../node_modules/util/

[libs]
../interfaces
Expand Down
2 changes: 2 additions & 0 deletions src/.flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
.*/node_modules/graphql/.*
.*/react/node_modules/.*
.*/react-static-container/node_modules/.*
.*/babel-relay-plugin/node_modules/.*

[include]
../node_modules/fbjs/lib
../node_modules/react
../node_modules/react-static-container/lib
../node_modules/base62

[libs]
../node_modules/fbjs/flow/lib
Expand Down

0 comments on commit 9050c55

Please sign in to comment.