UNPKG

apollo-link-core

Version:

Flexible, lightweight transport layer for GraphQL

70 lines (69 loc) 2.3 kB
{ "name": "apollo-link-core", "version": "0.5.4", "description": "Flexible, lightweight transport layer for GraphQL", "author": "Evans Hauser <evanshauser@gmail.com>", "contributors": [ "James Baxley <james@meteor.com>", "Jonas Helfer <jonas@helfer.email>", "jon wong <j@jnwng.com>", "Sashko Stubailo <sashko@stubailo.com>" ], "license": "MIT", "main": "./lib/index.js", "typings": "./lib/index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/apollographql/apollo-link.git" }, "bugs": { "url": "https://github.com/apollographql/apollo-link/issues" }, "homepage": "https://github.com/apollographql/apollo-link#readme", "scripts": { "pretest": "npm run build", "test": "npm run test-only --", "posttest": "npm run lint", "test-only": "mocha --reporter spec --full-trace dist/tests/tests.js", "test-watch": "mocha --reporter spec --full-trace dist/tests/tests.js --watch", "coverage": "istanbul cover ./node_modules/.bin/_mocha -- --reporter dot --full-trace dist/tests/tests.js", "postcoverage": "remap-istanbul --input coverage/coverage.json --type lcovonly --output coverage/lcov.info", "lint": "tslint --type-check -p tsconfig.json src/*.ts && tslint --type-check -p tsconfig.json tests/*.ts", "prebuild": "npm run clean:dist", "build": "tsc -p .", "postbuild": "cp -R ./dist/src/. ./lib", "watch": "tsc -w -p .", "clean": "npm run clean:dist && npm run clean:coverage", "clean:dist": "rimraf dist/* && rimraf lib/*", "clean:coverage": "rimraf coverage/*", "prepublishOnly": "npm run clean && npm run build" }, "dependencies": { "graphql": "^0.10.3", "graphql-tag": "^2.4.2", "zen-observable-ts": "^0.4.4" }, "devDependencies": { "@types/chai": "4.0.4", "@types/chai-as-promised": "0.0.31", "@types/graphql": "0.10.2", "@types/mocha": "2.2.42", "@types/sinon": "2.3.3", "chai": "4.1.1", "chai-as-promised": "7.1.1", "fetch-mock": "5.12.2", "istanbul": "0.4.5", "lodash": "4.17.4", "mocha": "3.5.0", "remap-istanbul": "0.9.5", "rimraf": "2.6.1", "sinon": "3.2.0", "source-map-support": "0.4.16", "tslint": "5.7.0", "typescript": "2.5.1" } }