-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
55 lines (55 loc) · 1.75 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"name": "apollo-live-server",
"version": "0.2.2",
"description": "Apollo Live Server - Making GraphQL Reactive",
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/cult-of-coders/apollo-live-server.git"
},
"dependencies": {
"graphql-fields": "^2.0.1",
"lodash.isempty": "^4.4.0",
"lodash.mapvalues": "^4.6.0"
},
"peerDependencies": {
"uuid": "^3.2.x",
"graphql-subscriptions": "^0.5.x || ^1.0.0"
},
"scripts": {
"clean": "rimraf dist coverage",
"compile": "tsc",
"pretest": "npm run compile",
"test": "npm run testonly --",
"test-watch": "npm run testonly-watch --",
"posttest": "npm run lint",
"lint": "tslint --type-check --project ./tsconfig.json ./src/**/*.ts",
"watch": "tsc -w",
"testonly": "mocha --reporter spec --full-trace ./dist/__tests__/*.js",
"testonly-watch": "mocha --reporter spec --full-trace ./dist/__tests__/*.js --watch",
"coverage": "node ./node_modules/istanbul/lib/cli.js cover _mocha -- --full-trace ./dist/__tests__/*.js",
"postcoverage": "remap-istanbul --input coverage/coverage.raw.json --type lcovonly --output coverage/lcov.info",
"prepublishOnly": "npm run clean && npm run compile"
},
"devDependencies": {
"@types/graphql": "^0.11.3",
"@types/mocha": "^2.2.39",
"@types/node": "^8.0.28",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"graphql": "^0.13.0",
"istanbul": "^1.0.0-alpha.2",
"mocha": "^6.1.1",
"remap-istanbul": "^0.9.1",
"rimraf": "^2.6.2",
"sinon": "^7.3.1",
"sinon-chai": "^2.9.0",
"tslint": "^5.2.0",
"typescript": "^3.4.2"
},
"typings": "dist/index.d.ts",
"typescript": {
"definition": "dist/index.d.ts"
},
"license": "MIT"
}