UNPKG

2.46 kBJSONView Raw
1{
2 "name": "apollo-link-http",
3 "version": "1.5.3",
4 "description": "HTTP transport layer for GraphQL",
5 "author": "Evans Hauser <evanshauser@gmail.com>",
6 "contributors": [
7 "James Baxley <james@meteor.com>",
8 "Jonas Helfer <jonas@helfer.email>",
9 "jon wong <j@jnwng.com>",
10 "Sashko Stubailo <sashko@stubailo.com>",
11 "Stephen Kao <stephen.yuchen.kao@gmail.com>"
12 ],
13 "license": "MIT",
14 "main": "./lib/bundle.umd.js",
15 "module": "./lib/index.js",
16 "jsnext:main": "./lib/index.js",
17 "typings": "./lib/index.d.ts",
18 "repository": {
19 "type": "git",
20 "url": "git+https://github.com/apollographql/apollo-link.git"
21 },
22 "bugs": {
23 "url": "https://github.com/apollographql/apollo-link/issues"
24 },
25 "homepage": "https://github.com/apollographql/apollo-link#readme",
26 "scripts": {
27 "build:browser": "browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser",
28 "build": "tsc -p .",
29 "bundle": "rollup -c",
30 "clean": "rimraf lib/* && rimraf coverage/*",
31 "coverage": "jest --coverage",
32 "filesize": "npm run build && npm run build:browser",
33 "lint": "tslint --type-check -p tsconfig.json -c ../../tslint.json src/*.ts",
34 "minify:browser": "uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js",
35 "postbuild": "npm run bundle",
36 "prebuild": "npm run clean",
37 "prepublishOnly": "npm run clean && npm run build",
38 "test": "jest",
39 "watch": "tsc -w -p . & rollup -c -w"
40 },
41 "dependencies": {
42 "apollo-link": "^1.2.1",
43 "apollo-link-http-common": "^0.2.3"
44 },
45 "peerDependencies": {
46 "graphql": "^0.11.0 || ^0.12.0 || ^0.13.0"
47 },
48 "devDependencies": {
49 "@types/graphql": "0.12.4",
50 "@types/jest": "21.1.10",
51 "apollo-fetch": "0.7.0",
52 "browserify": "16.1.0",
53 "fetch-mock": "6.0.0",
54 "graphql": "0.13.1",
55 "graphql-tag": "2.7.3",
56 "jest": "21.2.1",
57 "object-to-querystring": "1.0.8",
58 "rimraf": "2.6.1",
59 "rollup": "0.56.2",
60 "ts-jest": "21.2.4",
61 "tslint": "5.9.1",
62 "typescript": "2.7.2",
63 "uglify-js": "3.3.11"
64 },
65 "jest": {
66 "transform": {
67 ".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
68 },
69 "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
70 "moduleFileExtensions": [
71 "ts",
72 "tsx",
73 "js",
74 "json"
75 ],
76 "mapCoverage": true,
77 "testPathIgnorePatterns": [
78 "/node_modules/",
79 "sharedHttpTests.ts"
80 ]
81 }
82}