forked from apollographql/apollo-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 4.17 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "apollo-client",
"version": "1.9.2",
"description": "A simple yet functional GraphQL client.",
"main": "./lib/apollo.umd.js",
"module": "./lib/src/index.js",
"jsnext:main": "./lib/src/index.js",
"typings": "./lib/src/index.d.ts",
"scripts": {
"dev": "./scripts/dev.sh",
"deploy": "./scripts/deploy.sh",
"danger": "danger run --verbose",
"pretest": "npm run compile:test",
"test": "npm run testonly --",
"benchmark": "npm run compile:benchmark && node --stack-size=20000 lib/benchmark/index.js",
"benchmark:inspect": "npm run compile:benchmark && node --stack-size=20000 --inspect --debug-brk lib/benchmark/index.js",
"posttest": "npm run lint",
"filesize": "npm run compile:browser && bundlesize",
"flow-check": "flow check",
"compile": "tsc",
"compile:benchmark": "tsc -p tsconfig.test.json",
"compile:coverage": "tsc -p tsconfig.coverage.json",
"compile:test": "tsc -p tsconfig.test.json",
"compile:browser": "rm -rf ./dist && mkdir ./dist && browserify ./lib/apollo.umd.js --i graphql-tag -o=./dist/index.js && npm run minify:browser",
"minify:browser": "uglifyjs -c -m -o ./dist/index.min.js -- ./dist/index.js",
"watch": "tsc -w",
"watch:test": "tsc -p tsconfig.test.json -w",
"bundle": "rollup -c",
"postcompile": "npm run bundle",
"prepublish": "npm run compile",
"lint-fix": "prettier --trailing-comma all --single-quote --write \"{src,test,benchmark}/**/*.ts*\"",
"lint": "grunt tslint",
"lint-staged": "lint-staged",
"precoverage": "npm run compile:coverage",
"coverage": "COV=1 istanbul cover ./node_modules/mocha/bin/_mocha -- --reporter dot --full-trace lib/test/tests.js",
"postcoverage": "remap-istanbul --input coverage/coverage.json --type lcovonly --output coverage/lcov.info",
"testonly": "mocha --reporter spec --full-trace lib/test/tests.js",
"preanalyze": "npm run compile",
"analyze": "webpack -p --config analyze/webpack.config.js"
},
"repository": {
"type": "git",
"url": "apollographql/apollo-client"
},
"bundlesize": [
{
"path": "./dist/index.min.js",
"threshold": "30 Kb"
}
],
"jest": {
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
}
},
"lint-staged": {
"*.ts*": [
"prettier --trailing-comma all --single-quote --write",
"git add"
]
},
"pre-commit": "lint-staged",
"keywords": [
"ecmascript",
"es2015",
"jsnext",
"javascript",
"relay",
"npm",
"react"
],
"author": "Sashko Stubailo <sashko@stubailo.com>",
"license": "MIT",
"dependencies": {
"apollo-link-core": "^0.5.0",
"graphql": "^0.10.0",
"graphql-anywhere": "^3.0.1",
"graphql-tag": "^2.0.0",
"redux": "^3.4.0",
"symbol-observable": "^1.0.2",
"whatwg-fetch": "^2.0.0"
},
"devDependencies": {
"@types/benchmark": "1.0.30",
"@types/chai": "4.0.4",
"@types/chai-as-promised": "0.0.31",
"@types/isomorphic-fetch": "0.0.34",
"@types/lodash": "4.14.74",
"@types/mocha": "2.2.42",
"@types/node": "8.0.26",
"@types/promises-a-plus": "0.0.27",
"@types/sinon": "2.3.3",
"all-contributors-cli": "4.4.0",
"benchmark": "2.1.4",
"browserify": "14.4.0",
"bundlesize": "0.14.1",
"chai": "4.1.1",
"chai-as-promised": "7.1.1",
"colors": "1.1.2",
"concurrently": "3.5.0",
"danger": "1.2.0",
"es6-promise": "4.1.1",
"fetch-mock": "5.12.2",
"flow-bin": "0.53.1",
"grunt": "1.0.1",
"grunt-tslint": "5.0.1",
"gzip-size": "3.0.0",
"isomorphic-fetch": "2.2.1",
"istanbul": "0.4.5",
"lint-staged": "4.0.4",
"lodash": "4.17.4",
"minimist": "1.2.0",
"mocha": "3.5.0",
"nodemon": "1.11.0",
"pre-commit": "1.2.2",
"prettier": "1.6.1",
"pretty-bytes": "4.0.2",
"remap-istanbul": "0.9.5",
"request": "2.81.0",
"rollup": "0.49.2",
"rxjs": "5.4.3",
"sinon": "3.2.1",
"source-map-support": "0.4.16",
"ts-jest": "20.0.13",
"tslint": "5.7.0",
"typescript": "2.4.2",
"uglify-js": "3.0.28",
"webpack": "3.5.5",
"webpack-bundle-analyzer": "2.9.0"
},
"optionalDependencies": {
"@types/graphql": "0.10.2"
}
}