UNPKG

1.98 kBJSONView Raw
1{
2 "name": "apollo-client-preset",
3 "version": "1.0.8",
4 "description": "Core abstract of Caching layer for Apollo Client",
5 "author": "James Baxley <james@meteor.com>",
6 "contributors": [
7 "James Baxley <james@meteor.com>",
8 "Jonas Helfer <jonas@helfer.email>",
9 "Sashko Stubailo <sashko@stubailo.com>"
10 ],
11 "license": "MIT",
12 "main": "./lib/index.js",
13 "typings": "./lib/index.d.ts",
14 "repository": {
15 "type": "git",
16 "url": "git+https://github.com/apollographql/apollo-client.git"
17 },
18 "bugs": {
19 "url": "https://github.com/apollographql/apollo-client/issues"
20 },
21 "homepage": "https://github.com/apollographql/apollo-client#readme",
22 "scripts": {
23 "test": "jest",
24 "coverage": "jest --coverage",
25 "lint": "tslint --type-check -p tsconfig.json src/*.ts",
26 "prebuild": "npm run clean",
27 "build": "tsc -p .",
28 "watch": "tsc -w -p .",
29 "clean": "rimraf coverage/* && rimraf lib/*",
30 "prepublishOnly": "npm run build",
31 "build:browser":
32 "browserify ./lib/index.js --i apollo-utilities -o=./lib/bundle.js && npm run minify:browser",
33 "minify:browser":
34 "uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js",
35 "filesize": "npm run build && npm run build:browser"
36 },
37 "dependencies": {
38 "apollo-cache-inmemory": "^1.1.7",
39 "apollo-client": "^2.2.2",
40 "apollo-link": "^1.0.6",
41 "apollo-link-http": "^1.3.1",
42 "graphql-tag": "^2.4.2"
43 },
44 "devDependencies": {
45 "@types/graphql": "0.12.3",
46 "@types/jest": "21.1.10",
47 "browserify": "15.2.0",
48 "graphql": "0.12.3",
49 "jest": "20.0.4",
50 "lodash": "4.17.4",
51 "rimraf": "2.6.2",
52 "ts-jest": "20.0.14",
53 "tslint": "5.9.1",
54 "typescript": "2.5.2",
55 "uglifyjs": "2.4.11"
56 },
57 "jest": {
58 "transform": {
59 ".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
60 },
61 "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
62 "moduleFileExtensions": ["ts", "tsx", "js", "json"]
63 }
64}