-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
109 lines (109 loc) · 3.09 KB
/
package.json
File metadata and controls
109 lines (109 loc) · 3.09 KB
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "apollo-link-json-api",
"version": "0.1.2",
"description": "Query JSON API compliant services with GraphQL",
"license": "MIT",
"main": "./lib/bundle.umd.js",
"module": "./lib/index.js",
"jsnext:main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/rsullivan00/apollo-link-json-api.git"
},
"bugs": {
"url": "https://github.com/rsullivan00/apollo-link-json-api/issues"
},
"homepage": "https://github.com/rsullivan00/apollo-link-json-api#readme",
"scripts": {
"build": "tsc -p .",
"bundle": "rollup -c",
"clean": "rimraf lib/* coverage/*",
"coverage:upload": "codecov",
"danger": "danger run --verbose",
"deploy": "./scripts/deploy.sh",
"filesize": "npm run build && bundlesize",
"lint": "prettier --write 'src/**/*.{j,t}s*'",
"lint-staged": "lint-staged",
"postbuild": "npm run bundle",
"prebuild": "npm run clean",
"prepublishOnly": "npm run clean && npm run build",
"prettier": "prettier --config .prettierrc",
"prettier:diff": "prettier --config .prettierrc --list-different \"src/**/*.{ts,tsx,js,jsx}\" || true",
"prettier:diff-with-error": "prettier --config .prettierrc --list-different \"src/**/*.{ts,tsx,js,jsx}\"",
"prettier:all": "yarn prettier --write \"./src/**/*.{ts,tsx,js,jsx}\" ",
"test": "jest",
"coverage": "npm run lint && jest --coverage",
"watch": "tsc -w -p .",
"check-types": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.tests.json"
},
"peerDependencies": {
"apollo-link": ">=1",
"graphql": ">=0.11",
"graphql-anywhere": ">=4",
"qs": ">=6",
"humps": ">=2"
},
"devDependencies": {
"@babel/core": "7.x",
"@types/graphql": "14.x",
"@types/jest": "23.x",
"@types/node": "10.x",
"@types/qs": "6.5.x",
"apollo-cache-inmemory": "1.3.x",
"apollo-client": "2.4.x",
"apollo-link": "1.2.x",
"apollo-link-error": "1.1.x",
"apollo-link-http": "1.5.x",
"apollo-link-state": "0.4.x",
"bundlesize": "0.17.x",
"codecov": "3.x",
"danger": "6.x",
"fetch-mock": "7.x",
"graphql": "14.x",
"graphql-anywhere": "4.1.x",
"graphql-tag": "2.10.x",
"isomorphic-fetch": "2.2.x",
"jest": "23.x",
"jest-fetch-mock": "2.x",
"lerna": "3.6.x",
"lint-staged": "8.1.x",
"lodash": "4.17.x",
"pre-commit": "1.2.x",
"prettier": "1.15.x",
"qs": "6.6.x",
"humps": "^2.0.1",
"rimraf": "2.6.x",
"rollup": "0.67.x",
"rollup-plugin-local-resolve": "1.0.x",
"rollup-plugin-sourcemaps": "0.4.x",
"ts-jest": "23.10.x",
"typescript": "3.x"
},
"resolutions": {
"babel-core": "7.0.0-bridge.0",
"babel-jest": "23.6.0"
},
"bundlesize": [
{
"name": "apollo-link-json-api",
"path": "./lib/bundle.umd.js",
"maxSize": "50 kb"
}
],
"lint-staged": {
"*.ts*": [
"prettier --write",
"git add"
],
"*.js*": [
"prettier --write",
"git add"
],
"*.json*": [
"prettier --write",
"git add"
]
},
"pre-commit": "lint-staged"
}