-
Notifications
You must be signed in to change notification settings - Fork 122
/
package.json
110 lines (110 loc) · 3.39 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
{
"name": "apollo-link-rest",
"version": "0.9.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/client/core --i @apollo/client/utilities --i graphql --i react && npm run minify:browser",
"build": "tsc -p .",
"bundle": "rollup -c",
"clean": "rimraf lib/* coverage/* npm/*",
"clean:modules": "rm -rf node_modules/",
"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",
"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/client": ">=3",
"graphql": ">=0.11",
"qs": ">=6"
},
"devDependencies": {
"@apollo/client": "^3.0.0-beta.29",
"@apollo/link-error": "^2.0.0-beta.3",
"@babel/core": "7.x",
"@types/graphql": "14.x",
"@types/jest": "23.x",
"@types/node": "10.x",
"@types/qs": "6.5.x",
"browserify": "16.2.x",
"bundlesize": "0.17.x",
"camelcase": "5.0.x",
"codecov": "3.x",
"danger": "6.x",
"fetch-mock": "7.x",
"graphql": "14.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",
"rimraf": "2.6.x",
"rollup": "0.67.x",
"rollup-plugin-local-resolve": "1.0.x",
"rollup-plugin-sourcemaps": "0.4.x",
"snake-case": "2.1.x",
"ts-jest": "23.10.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.5 kb"
}
],
"lint-staged": {
"*.ts*": [
"prettier --write",
"git add"
],
"*.js*": [
"prettier --write",
"git add"
],
"*.json*": [
"prettier --write",
"git add"
]
},
"pre-commit": "lint-staged"
}