UNPKG

subscriptions-transport-ws

Version:
53 lines (52 loc) 1.65 kB
{ "name": "subscriptions-transport-ws", "version": "0.1.0", "description": "A websocket transport for GraphQL subscriptions", "main": "dist/index.js", "repository": { "type": "git", "url": "git+https://github.com/apollostack/subscriptions-transport-ws.git" }, "dependencies": { "es6-promise": "^3.2.1", "graphql": "^0.6.2", "graphql-subscriptions": "0.0.8", "node-static": "0.5.9", "websocket": "^1.0.23" }, "scripts": { "compile": "tsc", "typings": "typings install", "pretest": "npm run compile", "test": "npm run testonly --", "posttest": "npm run lint", "lint": "tslint ./src/**/*.ts", "watch": "tsc -w", "testonly": "mocha --compilers js:babel-core/register --reporter spec --full-trace ./dist/test/tests.js", "coverage": "babel-node ./node_modules/istanbul/lib/cli.js cover _mocha -- --full-trace ./dist/test/tests.js", "postcoverage": "remap-istanbul --input coverage/coverage.raw.json --type lcovonly --output coverage/lcov.info" }, "devDependencies": { "babel-cli": "^6.11.4", "babel-core": "^6.8.0", "babel-eslint": "^6.1.0", "babel-loader": "^6.2.4", "babel-preset-es2015": "^6.6.0", "babel-preset-react": "^6.5.0", "babel-preset-stage-2": "^6.5.0", "babel-register": "^6.9.0", "casual-browserify": "^1.5.3", "chai": "^3.5.0", "istanbul": "1.0.0-alpha.2", "mocha": "^3.0.0", "remap-istanbul": "^0.6.4", "tslint": "^3.13.0", "typescript": "^1.8.10", "typings": "^1.3.2" }, "typings": "dist/index.d.ts", "typescript": { "definition": "dist/index.d.ts" }, "license": "MIT" }