UNPKG

1.68 kBJSONView Raw
1{
2 "name": "apollo-link-context",
3 "version": "1.0.20",
4 "description": "An easy way to set and cache context changes for Apollo Link",
5 "author": "James Baxley <james@meteor.com>",
6 "license": "MIT",
7 "main": "./lib/index.js",
8 "module": "./lib/bundle.esm.js",
9 "typings": "./lib/index.d.ts",
10 "sideEffects": false,
11 "repository": {
12 "type": "git",
13 "url": "git+https://github.com/apollographql/apollo-link.git"
14 },
15 "bugs": {
16 "url": "https://github.com/apollographql/apollo-link/issues"
17 },
18 "homepage": "https://github.com/apollographql/apollo-link#readme",
19 "scripts": {
20 "build": "tsc && rollup -c",
21 "clean": "rimraf lib/* && rimraf coverage/*",
22 "coverage": "jest --coverage",
23 "filesize": "../../scripts/minify",
24 "lint": "tslint -c \"../../tslint.json\" -p tsconfig.json -c ../../tslint.json src/*.ts",
25 "prebuild": "npm run clean",
26 "prepare": "npm run build",
27 "test": "npm run lint && jest",
28 "watch": "tsc -w -p . & rollup -c -w"
29 },
30 "dependencies": {
31 "apollo-link": "^1.2.14",
32 "tslib": "^1.9.3"
33 },
34 "devDependencies": {
35 "@types/graphql": "14.2.3",
36 "@types/jest": "24.9.0",
37 "graphql": "15.0.0",
38 "graphql-tag": "2.10.1",
39 "jest": "24.9.0",
40 "rimraf": "2.7.1",
41 "rollup": "1.29.1",
42 "ts-jest": "22.4.6",
43 "tslint": "5.20.1",
44 "typescript": "3.0.3"
45 },
46 "jest": {
47 "transform": {
48 ".(ts|tsx)": "ts-jest"
49 },
50 "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
51 "moduleFileExtensions": [
52 "ts",
53 "tsx",
54 "js",
55 "json"
56 ],
57 "testURL": "http://localhost"
58 },
59 "gitHead": "1012934b4fd9ab436c4fdcd5e9b1bb1e4c1b0d98"
60}