|
3 | 3 | "version": "0.0.0-semantically-released", |
4 | 4 | "description": "Plugin for `graphql-compose` which wraps graphql types with Relay specific logic.", |
5 | 5 | "files": [ |
6 | | - "es", |
7 | 6 | "lib" |
8 | 7 | ], |
9 | 8 | "main": "lib/index.js", |
10 | | - "jsnext:main": "es/index.js", |
11 | 9 | "repository": { |
12 | 10 | "type": "git", |
13 | 11 | "url": "https://github.com/nodkz/graphql-compose-relay.git" |
|
28 | 26 | }, |
29 | 27 | "devDependencies": { |
30 | 28 | "babel-cli": "^6.24.1", |
31 | | - "babel-core": "^6.24.1", |
32 | 29 | "babel-eslint": "^7.2.3", |
33 | | - "babel-plugin-syntax-async-functions": "6.13.0", |
34 | | - "babel-plugin-transform-class-properties": "^6.24.1", |
| 30 | + "babel-jest": "^20.0.3", |
35 | 31 | "babel-plugin-transform-flow-strip-types": "^6.22.0", |
36 | 32 | "babel-plugin-transform-object-rest-spread": "^6.23.0", |
37 | | - "babel-plugin-transform-regenerator": "^6.24.1", |
38 | 33 | "babel-plugin-transform-runtime": "^6.23.0", |
39 | | - "babel-preset-es2015": "^6.24.1", |
| 34 | + "babel-preset-env": "^1.5.2", |
40 | 35 | "chai": "^4.0.1", |
41 | 36 | "chai-as-promised": "^6.0.0", |
42 | 37 | "chai-spies": "0.7.1", |
|
49 | 44 | "eslint-plugin-prettier": "^2.1.1", |
50 | 45 | "flow-bin": "^0.47.0", |
51 | 46 | "graphql": "^0.10.1", |
52 | | - "graphql-compose": "^1.19.3", |
| 47 | + "graphql-compose": "^1.20.4", |
53 | 48 | "mocha": "^3.4.2", |
54 | 49 | "nyc": "^11.0.2", |
55 | | - "prettier": "^1.4.2", |
| 50 | + "prettier": "^1.4.4", |
56 | 51 | "rimraf": "^2.6.1", |
57 | 52 | "sane": "^1.7.0", |
58 | 53 | "semantic-release": "^6.3.6" |
|
65 | 60 | "path": "./node_modules/cz-conventional-changelog" |
66 | 61 | } |
67 | 62 | }, |
68 | | - "nyc": { |
69 | | - "exclude": [ |
70 | | - "**/__mocks__/**", |
71 | | - "**/__tests__/**", |
72 | | - "resources", |
73 | | - "node_modules" |
74 | | - ], |
75 | | - "reporter": [ |
76 | | - "lcov", |
77 | | - "text" |
78 | | - ] |
79 | | - }, |
80 | 63 | "scripts": { |
81 | | - "build": "npm run build-cjs && npm run build-flow && npm run build-es", |
| 64 | + "build": "npm run build-cjs && npm run build-flow", |
82 | 65 | "build-cjs": "rimraf lib && babel src --ignore __tests__,__mocks__ -d lib", |
83 | | - "build-es": "rimraf es && BABEL_ENV=es babel src --ignore __tests__,__mocks__ -d es", |
84 | 66 | "build-flow": "find ./src -name '*.js' -not -path '*/__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\/src\\//\\/lib\\//g'`.flow; done", |
85 | 67 | "coverage": "nyc npm run test", |
86 | 68 | "lint": "eslint src test *.js", |
|
0 commit comments