UNPKG

2 kBJSONView Raw
1{
2 "name": "apollo-link-error",
3 "version": "1.1.6",
4 "description": "Error Apollo Link for GraphQL Network Stack",
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 "repository": {
11 "type": "git",
12 "url": "git+https://github.com/apollographql/apollo-link.git"
13 },
14 "bugs": {
15 "url": "https://github.com/apollographql/apollo-link/issues"
16 },
17 "homepage": "https://github.com/apollographql/apollo-link#readme",
18 "scripts": {
19 "build:browser": "browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser",
20 "build": "tsc -p ./tsconfig.cjs.json",
21 "bundle": "rollup -c",
22 "clean": "rimraf lib/* && rimraf coverage/*",
23 "coverage": "jest --coverage",
24 "filesize": "npm run build && npm run build:browser",
25 "lint": "tslint -c \"../../tslint.json\" -p tsconfig.json -c ../../tslint.json src/*.ts",
26 "minify:browser": "uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js",
27 "postbuild": "npm run bundle",
28 "prebuild": "npm run clean",
29 "prepare": "npm run lint && npm run build",
30 "prepublishOnly": "npm run clean && npm run build",
31 "test": "jest",
32 "watch": "tsc -w -p . & rollup -c -w"
33 },
34 "dependencies": {
35 "apollo-link": "^1.2.7",
36 "apollo-link-http-common": "^0.2.9"
37 },
38 "devDependencies": {
39 "@types/graphql": "14.0.5",
40 "@types/jest": "22.2.3",
41 "browserify": "16.2.3",
42 "graphql": "14.1.1",
43 "graphql-tag": "2.10.1",
44 "jest": "22.4.4",
45 "rimraf": "2.6.3",
46 "rollup": "0.68.2",
47 "ts-jest": "22.4.6",
48 "tslint": "5.12.1",
49 "typescript": "3.0.3",
50 "uglify-js": "3.4.9"
51 },
52 "jest": {
53 "transform": {
54 ".(ts|tsx)": "ts-jest"
55 },
56 "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
57 "moduleFileExtensions": [
58 "ts",
59 "tsx",
60 "js",
61 "json"
62 ],
63 "testURL": "http://localhost"
64 }
65}