|
24 | 24 | }, |
25 | 25 | "homepage": "https://github.com/nodkz/graphql-compose-mongoose", |
26 | 26 | "dependencies": { |
27 | | - "babel-runtime": "^6.6.1", |
| 27 | + "graphql": "^0.5.0", |
28 | 28 | "graphql-compose": ">=0.0.2", |
29 | | - "mongoose": "^4.4.20", |
30 | | - "object-path": "^0.9.2" |
31 | | - }, |
32 | | - "peerDependencies": { |
33 | | - "graphql": "^0.5.0" |
| 29 | + "object-path": "^0.9.2", |
| 30 | + "mongoose": "^4.4.20" |
34 | 31 | }, |
35 | 32 | "devDependencies": { |
36 | | - "babel-cli": "^6.7.7", |
37 | | - "babel-core": "^6.7.7", |
38 | | - "babel-eslint": "^6.0.3", |
39 | | - "babel-loader": "^6.2.4", |
40 | | - "babel-plugin-add-module-exports": "^0.1.2", |
41 | | - "babel-plugin-dev-expression": "^0.2.1", |
42 | | - "babel-plugin-syntax-async-functions": "^6.8.0", |
43 | | - "babel-plugin-transform-class-properties": "^6.10.2", |
44 | | - "babel-plugin-transform-flow-strip-types": "^6.8.0", |
45 | | - "babel-plugin-transform-object-rest-spread": "^6.8.0", |
46 | | - "babel-plugin-transform-regenerator": "^6.9.0", |
47 | | - "babel-plugin-transform-runtime": "^6.7.5", |
48 | | - "babel-polyfill": "^6.7.4", |
49 | | - "babel-preset-es2015": "^6.6.0", |
50 | | - "babel-preset-es2015-loose": "^7.0.0", |
51 | | - "babel-preset-es2015-loose-native-modules": "^1.0.0", |
52 | | - "babel-preset-stage-0": "^6.5.0", |
53 | | - "babel-register": "^6.7.2", |
54 | | - "chai": "^3.5.0", |
55 | | - "chai-as-promised": "^5.3.0", |
56 | | - "chai-spies": "^0.7.1", |
57 | | - "eslint": "^2.8.0", |
58 | | - "eslint-config-airbnb": "^7.0.0", |
59 | | - "eslint-plugin-jsx-a11y": "^0.6.2", |
60 | | - "eslint-plugin-react": "^4.3.0", |
61 | | - "flow": "^0.2.3", |
62 | | - "flow-bin": "^0.27.0", |
63 | | - "mocha": "^2.5.3", |
64 | | - "rimraf": "^2.5.2", |
65 | | - "sane": "^1.3.4" |
| 33 | + "babel-cli": "6.10.1", |
| 34 | + "babel-eslint": "6.1.0", |
| 35 | + "babel-plugin-syntax-async-functions": "6.8.0", |
| 36 | + "babel-plugin-transform-class-properties": "6.10.2", |
| 37 | + "babel-plugin-transform-flow-comments": "6.8.0", |
| 38 | + "babel-plugin-transform-flow-strip-types": "6.8.0", |
| 39 | + "babel-plugin-transform-object-rest-spread": "6.8.0", |
| 40 | + "babel-plugin-transform-regenerator": "6.9.0", |
| 41 | + "babel-preset-es2015": "6.9.0", |
| 42 | + "chai": "3.5.0", |
| 43 | + "chai-as-promised": "5.3.0", |
| 44 | + "chai-spies": "0.7.1", |
| 45 | + "eslint": "2.13.1", |
| 46 | + "eslint-config-airbnb": "9.0.1", |
| 47 | + "eslint-plugin-flow-vars": "0.4.0", |
| 48 | + "eslint-plugin-flowtype": "2.2.7", |
| 49 | + "eslint-plugin-import": "1.10.2", |
| 50 | + "flow-bin": "0.28.0", |
| 51 | + "mocha": "2.5.3", |
| 52 | + "rimraf": "2.5.2", |
| 53 | + "sane": "1.3.4" |
66 | 54 | }, |
67 | 55 | "scripts": { |
68 | 56 | "build": "npm run build-cjs && npm run build-es", |
69 | 57 | "build-cjs": "rimraf lib && BABEL_ENV=cjs babel src --ignore __tests__,__mocks__ -d lib && cp src/definition.js lib/definition.js", |
70 | 58 | "build-es": "rimraf es && BABEL_ENV=es babel src --ignore __tests__,__mocks__ -d es && cp src/definition.js es/definition.js", |
71 | 59 | "lint": "eslint src test *.js", |
72 | 60 | "prepublish": "npm run build", |
73 | | - "test": "mocha --compilers js:babel-core/register --reporter dot --require ./resources/mocha-bootload src/**/__tests__/**/*-test.js", |
74 | | - "watch": "babel-node ./resources/watch.js" |
| 61 | + "test": "BABEL_ENV=cjs babel-node ./node_modules/.bin/_mocha --compilers js:babel-core/register --reporter dot --require ./resources/mocha-bootload src/**/__tests__/**/*-test.js", |
| 62 | + "watch": "BABEL_ENV=cjs babel-node ./resources/watch.js" |
75 | 63 | } |
76 | 64 | } |
0 commit comments