-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
69 lines (69 loc) · 2.52 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "graphql-compose-relay",
"version": "0.0.0-semantically-released",
"description": "Plugin for `graphql-compose` which wraps graphql types with Relay specific logic.",
"files": [
"lib",
"mjs"
],
"main": "lib/index.js",
"module": "mjs/index.mjs",
"repository": {
"type": "git",
"url": "https://github.com/graphql-compose/graphql-compose-relay.git"
},
"keywords": [
"graphql",
"compose",
"graphql-compose",
"relay"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/graphql-compose/graphql-compose-relay/issues"
},
"homepage": "https://github.com/graphql-compose/graphql-compose-relay",
"peerDependencies": {
"graphql-compose": "^7.0.4"
},
"devDependencies": {
"@babel/cli": "7.8.4",
"@babel/core": "7.9.0",
"@babel/plugin-proposal-object-rest-spread": "7.9.0",
"@babel/plugin-transform-flow-strip-types": "7.9.0",
"@babel/plugin-transform-runtime": "7.9.0",
"@babel/preset-env": "7.9.0",
"@babel/preset-flow": "7.9.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "10.1.0",
"babel-jest": "25.2.6",
"eslint": "6.8.0",
"eslint-config-airbnb-base": "14.1.0",
"eslint-config-prettier": "6.10.1",
"eslint-plugin-flowtype": "4.7.0",
"eslint-plugin-import": "2.20.2",
"eslint-plugin-prettier": "3.1.2",
"flow-bin": "0.122.0",
"graphql": "15.0.0",
"graphql-compose": "7.14.1",
"jest": "25.2.7",
"prettier": "2.0.2",
"rimraf": "3.0.2",
"semantic-release": "17.0.4"
},
"scripts": {
"build": "npm run build-cjs && npm run build-mjs",
"build-cjs": "rimraf lib && BABEL_ENV=cjs babel src --ignore __tests__,__mocks__ -d lib && COPY_TO_FOLDER=lib npm run build-flow",
"build-mjs": "rimraf mjs && BABEL_ENV=mjs babel src --ignore __tests__,__mocks__ -d mjs && yarn build-mjs-rename && COPY_TO_FOLDER=mjs npm run build-flow",
"build-mjs-rename": "find ./mjs -name \"*.js\" -exec bash -c 'mv \"$1\" \"${1%.js}\".mjs' - '{}' \\;",
"build-flow": "find ./src -name '*.js' -not -path '*/__*' | while read filepath; do cp $filepath `echo ./${COPY_TO_FOLDER:-lib}$filepath | sed 's/.\\/src\\//\\//g'`.flow; done",
"watch": "jest --watch",
"coverage": "jest --coverage",
"lint": "eslint --ext .js ./src",
"flow": "./node_modules/.bin/flow",
"test": "npm run coverage && npm run lint && npm run flow",
"link": "yarn build && yarn link graphql-compose && yarn link",
"unlink": "rimraf node_modules && yarn install",
"semantic-release": "semantic-release"
}
}