forked from graphql-compose/graphql-compose-pagination
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 3.01 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "graphql-compose-pagination",
"version": "0.0.0-semantically-released",
"description": "Plugin for `graphql-compose` which provide a pagination resolver for types.",
"files": [
"lib",
"mjs",
"README.md",
"types"
],
"main": "lib/index.js",
"module": "mjs/index.mjs",
"types": "types/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/graphql-compose/graphql-compose-pagination.git"
},
"keywords": [
"graphql",
"compose",
"graphql-compose",
"relay",
"pagination"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/graphql-compose/graphql-compose-pagination/issues"
},
"homepage": "https://github.com/graphql-compose/graphql-compose-pagination",
"peerDependencies": {
"graphql-compose": ">=6.0.0"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.4",
"@babel/plugin-proposal-object-rest-spread": "^7.3.4",
"@babel/plugin-transform-flow-strip-types": "^7.3.4",
"@babel/plugin-transform-runtime": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"@babel/preset-flow": "^7.0.0",
"@types/graphql": "^14.0.7",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.5.0",
"cz-conventional-changelog": "^2.1.0",
"eslint": "^5.15.2",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-flowtype": "^3.4.2",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-prettier": "^3.0.1",
"flow-bin": "^0.95.1",
"graphql": "14.1.1",
"graphql-compose": "^6.0.1",
"jest": "^24.5.0",
"prettier": "^1.16.4",
"rimraf": "^2.6.3",
"semantic-release": "^15.13.3",
"tslint": "^5.14.0",
"typescript": "^3.3.4000"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"jest": {
"roots": [
"<rootDir>/src"
]
},
"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",
"tslint": "tslint -p . \"types/**/*.d.ts\"",
"check-ts": "tsc",
"flow": "./node_modules/.bin/flow",
"test": "npm run coverage && npm run lint && npm run flow && npm run check-ts",
"link": "yarn build && yarn link graphql-compose && yarn link",
"unlink": "rimraf node_modules && yarn install",
"semantic-release": "semantic-release"
}
}