1 | {
|
2 | "name": "apollo-link-ws",
|
3 | "version": "1.0.8",
|
4 | "description": "WebSocket 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 | ],
|
12 | "license": "MIT",
|
13 | "main": "./lib/bundle.umd.js",
|
14 | "module": "./lib/index.js",
|
15 | "jsnext:main": "./lib/index.js",
|
16 | "typings": "./lib/index.d.ts",
|
17 | "repository": {
|
18 | "type": "git",
|
19 | "url": "git+https://github.com/apollographql/apollo-link.git"
|
20 | },
|
21 | "bugs": {
|
22 | "url": "https://github.com/apollographql/apollo-link/issues"
|
23 | },
|
24 | "homepage": "https://github.com/apollographql/apollo-link#readme",
|
25 | "scripts": {
|
26 | "build:browser": "browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser",
|
27 | "build": "tsc -p .",
|
28 | "bundle": "rollup -c",
|
29 | "clean": "rimraf lib/* && rimraf coverage/*",
|
30 | "coverage": "jest --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.2"
|
42 | },
|
43 | "peerDependencies": {
|
44 | "subscriptions-transport-ws": "^0.9.0"
|
45 | },
|
46 | "devDependencies": {
|
47 | "@types/graphql": "0.12.6",
|
48 | "@types/jest": "22.2.2",
|
49 | "browserify": "16.1.1",
|
50 | "graphql": "0.13.2",
|
51 | "graphql-tag": "2.8.0",
|
52 | "jest": "22.4.3",
|
53 | "rimraf": "2.6.1",
|
54 | "rollup": "0.57.1",
|
55 | "subscriptions-transport-ws": "0.9.7",
|
56 | "ts-jest": "21.2.4",
|
57 | "tslint": "5.9.1",
|
58 | "typescript": "2.7.2",
|
59 | "uglify-js": "3.3.16"
|
60 | },
|
61 | "jest": {
|
62 | "transform": {
|
63 | ".(ts|tsx)": "ts-jest"
|
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 | }
|