UNPKG

apollo-client-preset

Version:

Core abstract of Caching layer for Apollo Client

65 lines (64 loc) 1.98 kB
{ "name": "apollo-client-preset", "version": "1.0.8", "description": "Core abstract of Caching layer for Apollo Client", "author": "James Baxley <james@meteor.com>", "contributors": [ "James Baxley <james@meteor.com>", "Jonas Helfer <jonas@helfer.email>", "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-client.git" }, "bugs": { "url": "https://github.com/apollographql/apollo-client/issues" }, "homepage": "https://github.com/apollographql/apollo-client#readme", "scripts": { "test": "jest", "coverage": "jest --coverage", "lint": "tslint --type-check -p tsconfig.json src/*.ts", "prebuild": "npm run clean", "build": "tsc -p .", "watch": "tsc -w -p .", "clean": "rimraf coverage/* && rimraf lib/*", "prepublishOnly": "npm run build", "build:browser": "browserify ./lib/index.js --i apollo-utilities -o=./lib/bundle.js && npm run minify:browser", "minify:browser": "uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js", "filesize": "npm run build && npm run build:browser" }, "dependencies": { "apollo-cache-inmemory": "^1.1.7", "apollo-client": "^2.2.2", "apollo-link": "^1.0.6", "apollo-link-http": "^1.3.1", "graphql-tag": "^2.4.2" }, "devDependencies": { "@types/graphql": "0.12.3", "@types/jest": "21.1.10", "browserify": "15.2.0", "graphql": "0.12.3", "jest": "20.0.4", "lodash": "4.17.4", "rimraf": "2.6.2", "ts-jest": "20.0.14", "tslint": "5.9.1", "typescript": "2.5.2", "uglifyjs": "2.4.11" }, "jest": { "transform": { ".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js" }, "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", "moduleFileExtensions": ["ts", "tsx", "js", "json"] } }