forked from apollographql/apollo-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 4.21 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.0-1",
"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": "^0.0.3",
"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.1",
"@types/chai-as-promised": "0.0.31",
"@types/lodash": "4.14.70",
"@types/mocha": "^2.2.31",
"@types/node": "8.0.14",
"@types/promises-a-plus": "0.0.27",
"@types/sinon": "^2.1.0",
"benchmark": "^2.1.3",
"browserify": "^14.3.0",
"bundlesize": "^0.13.0",
"chai": "^4.0.2",
"chai-as-promised": "^7.0.0",
"colors": "^1.1.2",
"concurrently": "^3.1.0",
"danger": "^1.0.0",
"es6-promise": "^4.0.4",
"fetch-mock": "^5.10.0",
"flow-bin": "^0.50.0",
"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.1",
"lodash": "^4.17.1",
"minimist": "^1.2.0",
"mocha": "^3.0.0",
"nodemon": "^1.11.0",
"pre-commit": "^1.2.2",
"prettier": "^1.5.2",
"pretty-bytes": "^4.0.0",
"remap-istanbul": "0.8.0",
"request": "^2.75.0",
"rollup": "^0.45.2",
"rxjs": "^5.0.0-beta.11",
"sinon": "^2.1.0",
"source-map-support": "^0.4.0",
"ts-jest": "^20.0.7",
"tslint": "^5.5.0",
"typescript": "~2.4.1",
"uglify-js": "^3.0.16",
"webpack": "^3.0.0",
"webpack-bundle-analyzer": "^2.4.0"
},
"optionalDependencies": {
"@types/async": "^2.0.31",
"@types/graphql": "^0.9.0",
"@types/isomorphic-fetch": "0.0.34"
}
}