1 | {
|
2 | "name": "apollo-link-ws",
|
3 | "version": "1.0.1",
|
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":
|
27 | "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":
|
33 | "tslint --type-check -p tsconfig.json -c ../../tslint.json src/*.ts",
|
34 | "minify:browser":
|
35 | "uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js",
|
36 | "postbuild": "npm run bundle",
|
37 | "prebuild": "npm run clean",
|
38 | "prepublishOnly": "npm run clean && npm run build",
|
39 | "test": "jest",
|
40 | "watch": "tsc -w -p ."
|
41 | },
|
42 | "peerDependencies": {
|
43 | "apollo-link": "^1.0.3",
|
44 | "subscriptions-transport-ws": "^0.9.0"
|
45 | },
|
46 | "devDependencies": {
|
47 | "@types/graphql": "0.11.6",
|
48 | "@types/jest": "21.1.6",
|
49 | "apollo-link": "^1.0.3",
|
50 | "browserify": "14.5.0",
|
51 | "graphql": "0.11.7",
|
52 | "graphql-tag": "2.5.0",
|
53 | "jest": "21.2.1",
|
54 | "rimraf": "2.6.1",
|
55 | "rollup": "0.51.5",
|
56 | "subscriptions-transport-ws": "0.9.1",
|
57 | "ts-jest": "21.2.2",
|
58 | "tslint": "5.8.0",
|
59 | "typescript": "2.6.1",
|
60 | "uglify-js": "3.1.9"
|
61 | },
|
62 | "jest": {
|
63 | "transform": {
|
64 | ".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
|
65 | },
|
66 | "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
|
67 | "moduleFileExtensions": ["ts", "tsx", "js", "json"]
|
68 | }
|
69 | }
|