Skip to content

Commit 0787d30

Browse files
authored
Merge pull request #101 from exogen/support-graphql-0.7.x
Update graphql in devDependencies, use exact versions
2 parents fe397ef + c09bf8b commit 0787d30

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
},
3030
"scripts": {
3131
"prepublish": "npm test && npm run build",
32-
"test": "npm run lint && npm run check && mocha $npm_package_options_mocha",
33-
"testonly": "mocha $npm_package_options_mocha",
32+
"test": "npm run lint && npm run check && npm run testonly",
33+
"testonly": "babel-node ./node_modules/.bin/_mocha $npm_package_options_mocha",
3434
"lint": "eslint src",
3535
"check": "flow check",
3636
"build": "rm -rf lib/* && babel src --ignore __tests__ --out-dir lib",
@@ -52,14 +52,13 @@
5252
"babel-plugin-transform-runtime": "6.9.0",
5353
"babel-preset-es2015": "6.9.0",
5454
"babel-preset-stage-2": "6.5.0",
55-
"babel-register": "6.9.0",
5655
"chai": "3.5.0",
5756
"chai-as-promised": "5.3.0",
5857
"coveralls": "2.11.9",
5958
"eslint": "2.10.2",
60-
"eslint-plugin-flowtype": "^2.11.4",
59+
"eslint-plugin-flowtype": "2.11.4",
6160
"flow-bin": "0.25.0",
62-
"graphql": "0.6.0",
61+
"graphql": "0.7.0",
6362
"isparta": "4.0.0",
6463
"mocha": "2.5.3",
6564
"sane": "1.3.4"

scripts/mocha-bootload.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*/
99

10-
require('babel-register');
11-
1210
var chai = require('chai');
1311

1412
var chaiAsPromised = require('chai-as-promised');

0 commit comments

Comments
 (0)