Skip to content

Commit

Permalink
fix: Fix test and update apollo-client to 0.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
HriBB committed Feb 6, 2017
1 parent 4ce7cf2 commit 1cd6598
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
24 changes: 14 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
"name": "apollo-upload-network-interface",
"description": "UploadNetworkInterface for Apollo GraphQL Client",
"main": "lib/index.js",
"module": "src/index.js",
"jsnext:main": "src/index.js",
"scripts": {
"build": "babel src -d lib",
"clean": "rimraf lib",
"lint": "eslint src/** test/**",
"prepublish": "npm run clean && npm run build",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"test": "mocha --compilers js:babel-core/register ./test/test.js"
"test": "mocha ./test/setup.js"
},
"repository": {
"type": "git",
Expand All @@ -29,18 +31,20 @@
},
"homepage": "https://github.com/HriBB/apollo-upload-network-interface#readme",
"devDependencies": {
"babel-cli": "^6.18.0",
"babel-core": "^6.18.2",
"babel-eslint": "^7.1.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-stage-0": "^6.16.0",
"babel-cli": "^6.22.2",
"babel-core": "^6.22.1",
"babel-eslint": "^7.1.1",
"babel-polyfill": "^6.22.0",
"babel-preset-es2015": "^6.22.0",
"babel-preset-stage-0": "^6.22.0",
"babel-register": "^6.22.0",
"chai": "^3.5.0",
"eslint": "^3.10.1",
"mocha": "^3.1.2",
"eslint": "^3.15.0",
"mocha": "^3.2.0",
"rimraf": "^2.5.4",
"semantic-release": "^4.3.5"
"semantic-release": "^6.3.2"
},
"dependencies": {
"apollo-client": "^0.5.2"
"apollo-client": "^0.8.2"
}
}
5 changes: 5 additions & 0 deletions test/setup.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
require('babel-register')({
ignore: /node_modules\/(?!apollo\-client)/i
});

require('./test.js')

0 comments on commit 1cd6598

Please sign in to comment.