mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 18:21:40 -05:00

* Refactored caching connectors into their own packages - apollo-server-caching (exports interface for KeyValueCache) - apollo-server-caching-memcached - apollo-server-caching-redis One issue now is that there is duplication of mocks and test code in each of the packages. It would be better if we had centralized integration tests for all cache connectors, community contributed or otherwise. * export test suite for cache connectors from `apollo-server-caching` * fixed tsconfig.json * added @types
54 lines
1.3 KiB
JSON
54 lines
1.3 KiB
JSON
{
|
|
"name": "apollo-server-memcached",
|
|
"version": "2.0.0-rc.0",
|
|
"author": "opensource@apollographql.com",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-memcached"
|
|
},
|
|
"homepage": "https://github.com/apollographql/apollo-server#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/apollographql/apollo-server/issues"
|
|
},
|
|
"scripts": {
|
|
"clean": "rm -rf lib",
|
|
"compile": "tsc",
|
|
"prepublish": "npm run clean && npm run compile",
|
|
"test": "jest --verbose"
|
|
},
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"engines": {
|
|
"node": ">=6"
|
|
},
|
|
"dependencies": {
|
|
"apollo-server-env": "^2.0.0-rc.0",
|
|
"apollo-server-caching": "^2.0.0-rc.0",
|
|
"memcached": "^2.2.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^23.0.0",
|
|
"@types/memcached": "^2.2.5",
|
|
"jest": "^23.1.0",
|
|
"memcached-mock": "^0.1.0",
|
|
"ts-jest": "^22.4.6"
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "node",
|
|
"transform": {
|
|
"^.+\\.(ts|js)$": "ts-jest"
|
|
},
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"js",
|
|
"json"
|
|
],
|
|
"testRegex": "/__tests__/.*$",
|
|
"globals": {
|
|
"ts-jest": {
|
|
"skipBabel": true
|
|
}
|
|
}
|
|
}
|
|
}
|