apollo-server/packages/apollo-cache-control-js/package.json

67 lines
1.5 KiB
JSON
Raw Normal View History

Import apollo-cache-control-js (#1294) * Initial commit * Add .npmignore to avoid ignoring lib when publishing * 0.0.2 * Update graphql-extensions dependency to 0.0.2 * 0.0.3 * Reorganize code and add tests * 0.0.4 * Add tests and reorganize code * 0.0.5 * Update dependency to graphql-extensions 0.0.4 * 0.0.6 * Update graphql-extensions dependency and downgrade TS target * 0.0.7 * Update README * Update README * Update README * Update README * Add import instructions for TypeScript to README (#7) * Add cache hints when the directive is defined on interfaces (#10) * Increase version range for `graphql` peerDependency. (#12) * 0.0.8 * Update dependencies * 0.0.9 * [apollo-bot] Update the Issue/PR Templates with auto label (#13) * [apollo-bot] Update the Templates with docs label (#15) * Add cache hints to info.cacheControl (#16) This exposes the `cacheControl` hints on the schema, to the resolvers at runtime. * Update `graphql` peer dependency range to allow 0.13.x. * dev: Update TypeScript to latest version, v2.7.2. * dev: Update jest & dependencies to latest versions. * dev: Update type definitions for `graphql`, `node` and `jest`. * dev: Update `graphql` to latest version, v0.13.2. * 0.0.10 * Add defaultMaxAge option This is an easy way to quickly say "I want everything in my schema to be cached for 5 seconds". You can override it with specific maxAges on specific fields or types. An upcoming release of apollo-server-* will allow you to specify options to cacheControl. * Add CircleCI config * Add partial CHANGELOG * 0.1.0 * Honor overwrite default maxAge with maxAge=0 (Fixes #22) (#23) * 0.1.1 * Allow default caching to apply to interfaces * remove unused files * update versions and use a-s style config * run prettier * fix tests and typing
2018-07-03 15:08:42 -07:00
{
"name": "apollo-cache-control",
"version": "0.1.1",
"description": "A GraphQL extension for cache control",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"clean": "rm -rf dist",
"compile": "tsc",
"prepublish": "npm run clean && npm run compile",
"test": "jest",
"watch": "tsc -w"
},
"license": "MIT",
"repository": "apollographql/apollo-cache-control-js",
"author": "Martijn Walraven <martijn@martijnwalraven.com>",
"engines": {
"node": ">=6.0"
},
"dependencies": {
"graphql-extensions": "0.1.0-beta.0"
},
"peerDependencies": {
"graphql": "0.10.x - 0.13.x"
},
"devDependencies": {
"@types/graphql": "^0.13.1",
"@types/jest": "^23.1.2",
"@types/node": "^10.3.6",
"graphql": "^0.13.2",
"graphql-tools": "^3.0.4",
"jest": "^23.2.0",
"jest-matcher-utils": "^23.2.0",
"ts-jest": "^22.4.6",
"typescript": "^2.9.2"
},
"prettier": {
"trailingComma": "all",
"singleQuote": true
},
"jest": {
"testEnvironment": "node",
"transform": {
"^.+\\.(ts|js)$": "ts-jest"
},
"moduleFileExtensions": [
"ts",
"js",
"json"
],
"testRegex": "apollo-cache-control-js/src/__tests__/.*$",
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/lib/",
"test-utils"
],
"roots": [
"../../"
],
"globals": {
"ts-jest": {
"skipBabel": true
}
}
}
}