UNPKG

2.23 kBJSONView Raw
1{
2 "name": "apollo-link-ws",
3 "version": "1.0.9",
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.3"
42 },
43 "peerDependencies": {
44 "subscriptions-transport-ws": "^0.9.0"
45 },
46 "devDependencies": {
47 "@types/graphql": "14.0.0",
48 "@types/jest": "22.2.3",
49 "browserify": "16.2.2",
50 "graphql": "14.0.2",
51 "graphql-tag": "2.9.2",
52 "jest": "22.4.4",
53 "rimraf": "2.6.1",
54 "rollup": "0.65.2",
55 "subscriptions-transport-ws": "0.9.14",
56 "ts-jest": "22.4.6",
57 "tslint": "5.11.0",
58 "typescript": "3.0.3",
59 "uglify-js": "3.4.9"
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 "testURL": "http://localhost"
74 }
75}