forked from newsiberian/apollo-link-token-refresh
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
71 lines (71 loc) · 2.08 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
{
"name": "apollo-link-token-refresh",
"version": "0.3.1",
"description": "Apollo Link that performs access tokens renew",
"main": "./lib/bundle.umd.js",
"module": "./lib/tokenRefreshLink.js",
"jsnext:main": "./lib/tokenRefreshLink.js",
"typings": "./lib/tokenRefreshLink.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/newsiberian/apollo-link-token-refresh.git"
},
"bugs": {
"url": "https://github.com/newsiberian/apollo-link-token-refresh/issues"
},
"homepage": "https://github.com/newsiberian/apollo-link-token-refresh#readme",
"scripts": {
"build:browser": "browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser",
"build": "tsc -p .",
"bundle": "rollup -c",
"clean": "rimraf lib/* && rimraf coverage/*",
"filesize": "npm run build && npm run build:browser",
"lint": "tslint -p tsconfig.json -c tslint.json src/*.ts",
"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",
"watch": "tsc -w -p ."
},
"keywords": [
"apollo-link",
"jwt"
],
"author": "Denis Akiyakov <[email protected]>",
"license": "MIT",
"dependencies": {
"@apollo/client": "^3.0.0-beta.48"
},
"peerDependencies": {
"graphql": "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0"
},
"devDependencies": {
"@types/graphql": "14.5.0",
"@types/jest": "^25.2.2",
"@types/zen-observable": "^0.8.0",
"browserify": "16.5.1",
"graphql-tag": "^2.9.2",
"jest": "26.0.1",
"jest-fetch-mock": "^3.0.3",
"proxyquire": "2.1.3",
"rimraf": "3.0.2",
"rollup": "2.10.7",
"ts-jest": "26.0.0",
"tslint": "6.1.2",
"typescript": "^3.9.2",
"uglify-js": "3.9.3"
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
}
}