mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 10:11:40 -05:00
59 lines
1.3 KiB
JSON
59 lines
1.3 KiB
JSON
{
|
|
"name": "apollo-cache-control",
|
|
"version": "0.2.0",
|
|
"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 --verbose",
|
|
"watch": "tsc -w"
|
|
},
|
|
"license": "MIT",
|
|
"repository": "apollographql/apollo-cache-control-js",
|
|
"author": "Martijn Walraven <martijn@martijnwalraven.com>",
|
|
"engines": {
|
|
"node": ">=6.0"
|
|
},
|
|
"dependencies": {
|
|
"apollo-server-env": "2.0.0",
|
|
"graphql-extensions": "0.1.0"
|
|
},
|
|
"peerDependencies": {
|
|
"graphql": "0.10.x - 0.13.x"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "23.3.1",
|
|
"graphql-tools": "3.0.5",
|
|
"jest": "23.4.1",
|
|
"jest-matcher-utils": "23.2.0",
|
|
"ts-jest": "23.0.1"
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "node",
|
|
"setupFiles": [
|
|
"<rootDir>/node_modules/apollo-server-env/dist/index.js"
|
|
],
|
|
"transform": {
|
|
"^.+\\.(ts|js)$": "ts-jest"
|
|
},
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"js",
|
|
"json"
|
|
],
|
|
"testRegex": "src/__tests__/.*$",
|
|
"testPathIgnorePatterns": [
|
|
"<rootDir>/node_modules/",
|
|
"<rootDir>/lib/",
|
|
"test-utils"
|
|
],
|
|
"globals": {
|
|
"ts-jest": {
|
|
"skipBabel": true
|
|
}
|
|
}
|
|
}
|
|
}
|