1 | {
|
2 | "name": "apollo-link-schema",
|
3 | "version": "1.0.4",
|
4 | "description": "Use a GraphQL Schema to request data",
|
5 | "author": "Tomas Trescak <tomi.trescak@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 | "Zephraph <zephraph@gmail.com>"
|
12 | ],
|
13 | "license": "MIT",
|
14 | "main": "./lib/bundle.umd.js",
|
15 | "module": "./lib/schemaLink.js",
|
16 | "jsnext:main": "./lib/schemaLink.js",
|
17 | "typings": "./lib/schemaLink.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 | "filesize": "npm run build && npm run build:browser",
|
32 | "lint": "tslint --type-check -p tsconfig.json -c ../../tslint.json src/*.ts",
|
33 | "minify:browser": "uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js",
|
34 | "postbuild": "npm run bundle",
|
35 | "prebuild": "npm run clean",
|
36 | "prepublishOnly": "npm run clean && npm run build",
|
37 | "test": "jest",
|
38 | "watch": "tsc -w -p . & rollup -c -w"
|
39 | },
|
40 | "dependencies": {
|
41 | "apollo-link": "^1.2.0"
|
42 | },
|
43 | "peerDependencies": {
|
44 | "graphql": "^0.11.0 || ^0.12.0 || ^0.13.0"
|
45 | },
|
46 | "devDependencies": {
|
47 | "@types/graphql": "0.12.4",
|
48 | "@types/jest": "21.1.10",
|
49 | "browserify": "16.1.0",
|
50 | "graphql": "0.13.1",
|
51 | "graphql-tag": "2.7.3",
|
52 | "graphql-tools": "2.21.0",
|
53 | "jest": "21.2.1",
|
54 | "rimraf": "2.6.1",
|
55 | "rollup": "0.56.2",
|
56 | "ts-jest": "21.2.4",
|
57 | "tslint": "5.9.1",
|
58 | "typescript": "2.7.2",
|
59 | "uglify-js": "3.3.11"
|
60 | },
|
61 | "jest": {
|
62 | "transform": {
|
63 | ".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
|
64 | },
|
65 | "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
|
66 | "moduleFileExtensions": [
|
67 | "ts",
|
68 | "tsx",
|
69 | "js",
|
70 | "json"
|
71 | ],
|
72 | "mapCoverage": true
|
73 | }
|
74 | }
|