forked from apollographql/apollo-link-rest
/
package.json
112 lines (112 loc) · 3.17 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "apollo-link-rest",
"version": "0.6.0",
"description": "Query existing REST 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/apollographql/apollo-link-rest.git"
},
"bugs": {
"url": "https://github.com/apollographql/apollo-link-rest/issues"
},
"homepage": "https://github.com/apollographql/apollo-link-rest#readme",
"scripts": {
"build:browser": "browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link --i graphql --i apollo-utilities && npm run minify:browser",
"build": "tsc -p .",
"bundle": "rollup -c",
"clean": "rimraf lib/* coverage/*",
"coverage:upload": "codecov",
"danger": "danger run --verbose",
"deploy": "./scripts/deploy.sh",
"docs:check": "./scripts/docs_check.sh",
"docs:pull": "./scripts/docs_pull.sh",
"docs:push": "./scripts/docs_push.sh",
"filesize": "npm run build && npm run build:browser && bundlesize",
"lint": "prettier --write 'src/**/*.{j,t}s*'",
"lint-staged": "lint-staged",
"minify:browser": "uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js",
"postbuild": "npm run bundle",
"prebuild": "npm run clean",
"prepublishOnly": "npm run clean && npm run build",
"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"
},
"devDependencies": {
"@babel/core": "7.1.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",
"browserify": "16.2.x",
"bundlesize": "0.17.x",
"camelcase": "5.0.x",
"codecov": "3.x",
"danger": "4.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": "1.6.x",
"lerna": "2.11.x",
"lint-staged": "7.3.x",
"lodash": "4.17.x",
"pre-commit": "1.2.x",
"prettier": "1.14.x",
"qs": "6.5.x",
"rimraf": "2.6.x",
"rollup": "0.66.x",
"rollup-plugin-local-resolve": "1.0.x",
"rollup-plugin-sourcemaps": "0.4.x",
"snake-case": "2.1.x",
"ts-jest": "23.1.x",
"typescript": "3.x",
"uglify-js": "3.4.x"
},
"resolutions": {
"babel-core": "7.0.0-bridge.0",
"babel-jest": "23.6.0"
},
"bundlesize": [
{
"name": "apollo-link-rest",
"path": "./lib/bundle.min.js",
"maxSize": "9 kb"
}
],
"lint-staged": {
"*.ts*": [
"prettier --write",
"git add"
],
"*.js*": [
"prettier --write",
"git add"
],
"*.json*": [
"prettier --write",
"git add"
]
},
"pre-commit": "lint-staged"
}