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

* Enable declarationMap in tsconfig.json See http://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-9.html * Add apollo-server-caching package and improve typings * Remove superfluous test steps * Add .npmignore to apollo-server-caching * Add apollo-server-env and apollo-datasource-rest packages * Fix broken imports * Use prepublish instead of prepare * cache is now passed to data sources from ApolloServer constructor * fix Object.values to use the object passed in rather than this * add initial datasource test * docs: initial data source documentation * docs: initial data source documentation * compiles and documentation now highlights code in data-sources.md * Some changes to the data source docs
53 lines
1.2 KiB
JSON
53 lines
1.2 KiB
JSON
{
|
|
"name": "apollo-datasource-rest",
|
|
"version": "2.0.0-beta.7",
|
|
"author": "opensource@apollographql.com",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/apollographql/apollo-server/tree/master/packages/apollo-datasource-rest"
|
|
},
|
|
"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-beta.7",
|
|
"http-cache-semantics": "^4.0.0",
|
|
"lru-cache": "^4.1.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^23.0.0",
|
|
"@types/lru-cache": "^4.1.1",
|
|
"jest": "^23.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
|
|
}
|
|
}
|
|
}
|
|
}
|