|
29 | 29 | }, |
30 | 30 | "peerDependencies": { |
31 | 31 | "graphql": ">=0.7.1 || >=0.8.0 || >=0.9.0", |
32 | | - "graphql-compose": ">=1.4.0", |
33 | | - "graphql-compose-connection": ">=2.0.2", |
| 32 | + "graphql-compose": ">=1.20.1", |
| 33 | + "graphql-compose-connection": ">=2.2.0", |
34 | 34 | "mongoose": ">=4.0.0" |
35 | 35 | }, |
36 | 36 | "devDependencies": { |
37 | 37 | "babel-cli": "^6.24.1", |
38 | 38 | "babel-eslint": "^7.2.3", |
| 39 | + "babel-jest": "^20.0.3", |
39 | 40 | "babel-plugin-transform-flow-strip-types": "^6.22.0", |
40 | 41 | "babel-plugin-transform-object-rest-spread": "^6.23.0", |
41 | 42 | "babel-preset-env": "^1.5.1", |
|
48 | 49 | "eslint-plugin-prettier": "^2.1.1", |
49 | 50 | "flow-bin": "^0.47.0", |
50 | 51 | "graphql": "^0.10.1", |
51 | | - "graphql-compose": "^1.19.3", |
52 | | - "graphql-compose-connection": "^2.1.4", |
| 52 | + "graphql-compose": "^1.20.1", |
| 53 | + "graphql-compose-connection": "^2.2.0", |
53 | 54 | "jest": "^20.0.4", |
54 | | - "jest-babel": "^1.0.1", |
55 | | - "mongodb-memory-server": "^1.1.1", |
| 55 | + "mongodb-memory-server": "^1.1.2", |
56 | 56 | "mongoose": "^4.10.4", |
57 | 57 | "prettier": "^1.4.2", |
58 | 58 | "rimraf": "^2.6.1", |
|
63 | 63 | "path": "./node_modules/cz-conventional-changelog" |
64 | 64 | } |
65 | 65 | }, |
66 | | - "nyc": { |
67 | | - "exclude": [ |
68 | | - "**/__mocks__/**", |
69 | | - "**/__tests__/**", |
70 | | - "resources", |
71 | | - "node_modules" |
72 | | - ], |
73 | | - "reporter": [ |
74 | | - "lcov", |
75 | | - "text" |
76 | | - ] |
77 | | - }, |
78 | 66 | "jest": { |
79 | 67 | "roots": [ |
80 | 68 | "<rootDir>/src" |
|
89 | 77 | "lint": "eslint src test *.js", |
90 | 78 | "test": "jest", |
91 | 79 | "watch": "jest --watch", |
| 80 | + "all": "npm run test && npm run lint && ./node_modules/.bin/flow", |
92 | 81 | "link": "yarn build && yarn link graphql && yarn link graphql-compose && yarn link graphql-compose-connection && yarn link mongoose && yarn link", |
93 | 82 | "unlink": "yarn unlink graphql && yarn unlink graphql-compose && yarn unlink graphql-compose-connection && yarn unlink mongoose && yarn add graphql graphql-compose graphql-compose-connection mongoose", |
94 | 83 | "semantic-release": "semantic-release pre && npm publish && semantic-release post" |
|
0 commit comments