|
25 | 25 | "homepage": "https://github.com/nodkz/graphql-compose-mongoose", |
26 | 26 | "dependencies": { |
27 | 27 | "babel-runtime": "6.11.6", |
28 | | - "graphql-type-json": "0.1.3", |
29 | 28 | "object-path": "0.11.2" |
30 | 29 | }, |
31 | 30 | "peerDependencies": { |
32 | 31 | "graphql": ">=0.7.1 || >=0.8.0", |
33 | | - "graphql-compose": ">=0.1.0 || >=1.0.0", |
| 32 | + "graphql-compose": ">=1.0.0", |
34 | 33 | "graphql-compose-connection": ">=1.0.0", |
35 | 34 | "mongoose": ">=4.0.0" |
36 | 35 | }, |
|
62 | 61 | "sane": "1.4.1", |
63 | 62 | "semantic-release": "4.3.5" |
64 | 63 | }, |
65 | | - "scripts": { |
66 | | - "build": "npm run build-cjs && npm run build-flow && npm run build-es", |
67 | | - "build-cjs": "rimraf lib && babel src --ignore __tests__,__mocks__ -d lib", |
68 | | - "build-es": "rimraf es && BABEL_ENV=es babel src --ignore __tests__,__mocks__ -d es", |
69 | | - "build-flow": "find ./src -name '*.js' -not -path '*/__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\/src\\//\\/lib\\//g'`.flow; done", |
70 | | - "coverage": "nyc npm run test", |
71 | | - "lint": "eslint src test *.js", |
72 | | - "test": "babel-node ./node_modules/.bin/_mocha --compilers js:babel-core/register --reporter dot --timeout 20000 --require ./resources/mocha-bootload src/**/__tests__/**/*-test.js", |
73 | | - "watch": "babel-node ./resources/watch.js", |
74 | | - "link": "npm link graphql && npm link graphql-compose && npm link graphql-compose-connection && npm link mongoose && npm link", |
75 | | - "semantic-release": "semantic-release pre && npm publish && semantic-release post" |
76 | | - }, |
77 | 64 | "config": { |
78 | 65 | "commitizen": { |
79 | 66 | "path": "./node_modules/cz-conventional-changelog" |
|
90 | 77 | "lcov", |
91 | 78 | "text" |
92 | 79 | ] |
| 80 | + }, |
| 81 | + "scripts": { |
| 82 | + "build": "npm run build-cjs && npm run build-flow && npm run build-es", |
| 83 | + "build-cjs": "rimraf lib && babel src --ignore __tests__,__mocks__ -d lib", |
| 84 | + "build-es": "rimraf es && BABEL_ENV=es babel src --ignore __tests__,__mocks__ -d es", |
| 85 | + "build-flow": "find ./src -name '*.js' -not -path '*/__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\/src\\//\\/lib\\//g'`.flow; done", |
| 86 | + "coverage": "nyc npm run test", |
| 87 | + "lint": "eslint src test *.js", |
| 88 | + "test": "babel-node ./node_modules/.bin/_mocha --compilers js:babel-core/register --reporter dot --timeout 20000 --require ./resources/mocha-bootload src/**/__tests__/**/*-test.js", |
| 89 | + "watch": "babel-node ./resources/watch.js", |
| 90 | + "link": "npm link graphql && npm link graphql-compose && npm link graphql-compose-connection && npm link mongoose && npm link", |
| 91 | + "semantic-release": "semantic-release pre && npm publish && semantic-release post" |
93 | 92 | } |
94 | 93 | } |
0 commit comments