|
27 | 27 | "options": { |
28 | 28 | "mocha": "--require scripts/mocha-bootload src/**/__tests__/**/*.js" |
29 | 29 | }, |
30 | | - "babel": { |
31 | | - "optional": [ |
32 | | - "runtime", |
33 | | - "es7.asyncFunctions", |
34 | | - "es7.objectRestSpread" |
35 | | - ] |
36 | | - }, |
37 | 30 | "scripts": { |
38 | 31 | "prepublish": "npm test && npm run build", |
39 | 32 | "test": "npm run lint && npm run check && mocha $npm_package_options_mocha", |
40 | 33 | "testonly": "mocha $npm_package_options_mocha", |
41 | 34 | "lint": "eslint src", |
42 | 35 | "check": "flow check", |
43 | | - "build": "rm -rf lib/* && babel src --ignore __tests__ --optional runtime --out-dir lib", |
44 | | - "watch": "babel --optional runtime scripts/watch.js | node", |
| 36 | + "build": "rm -rf lib/* && babel src --ignore __tests__ --out-dir lib", |
| 37 | + "watch": "babel-node scripts/watch.js", |
45 | 38 | "cover": "babel-node node_modules/.bin/isparta cover --root src --report html node_modules/.bin/_mocha -- $npm_package_options_mocha", |
46 | 39 | "cover:lcov": "babel-node node_modules/.bin/isparta cover --root src --report lcovonly node_modules/.bin/_mocha -- $npm_package_options_mocha" |
47 | 40 | }, |
48 | 41 | "dependencies": { |
49 | | - "babel-runtime": "~5.8.3" |
| 42 | + "babel-runtime": "^6.9.0" |
50 | 43 | }, |
51 | 44 | "peerDependencies": { |
52 | | - "graphql": "~0.6.0" |
| 45 | + "graphql": "^0.5.0 || ^0.6.0" |
53 | 46 | }, |
54 | 47 | "devDependencies": { |
55 | | - "babel": "5.8.3", |
56 | | - "babel-core": "5.8.3", |
57 | | - "babel-eslint": "5.0.0", |
| 48 | + "babel-cli": "6.9.0", |
| 49 | + "babel-core": "6.9.0", |
| 50 | + "babel-eslint": "6.0.4", |
| 51 | + "babel-plugin-transform-flow-strip-types": "6.8.0", |
| 52 | + "babel-plugin-transform-runtime": "6.9.0", |
| 53 | + "babel-preset-es2015": "6.9.0", |
| 54 | + "babel-preset-stage-2": "6.5.0", |
| 55 | + "babel-register": "6.9.0", |
58 | 56 | "chai": "3.5.0", |
59 | 57 | "chai-as-promised": "5.3.0", |
60 | | - "coveralls": "2.11.8", |
61 | | - "eslint": "2.2.0", |
62 | | - "flow-bin": "0.22.1", |
| 58 | + "coveralls": "2.11.9", |
| 59 | + "eslint": "2.10.2", |
| 60 | + "flow-bin": "0.25.0", |
63 | 61 | "graphql": "0.6.0", |
64 | | - "isparta": "3.0.3", |
65 | | - "mocha": "2.2.5", |
66 | | - "sane": "1.1.3" |
| 62 | + "isparta": "4.0.0", |
| 63 | + "mocha": "2.5.3", |
| 64 | + "sane": "1.3.4" |
67 | 65 | } |
68 | 66 | } |
0 commit comments