next-with-apollo
Version:
Apollo HOC for Next.js
82 lines (81 loc) • 2.07 kB
JSON
{
"name": "next-with-apollo",
"version": "5.3.0",
"description": "Apollo HOC for Next.js",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"scripts": {
"fix": "tslint -p tsconfig.json --fix",
"tslint": "tslint -c tslint.json -p tsconfig.json -t codeFrame",
"build": "tsc",
"watch": "tsc -w",
"test": "yarn tslint && yarn build && jest",
"prepublishOnly": "yarn test"
},
"author": "lfades",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/lfades/next-with-apollo.git"
},
"bugs": {
"url": "https://github.com/lfades/next-with-apollo/issues"
},
"prettier": {
"singleQuote": true
},
"jest": {
"rootDir": "integration",
"testMatch": [
"**/*.test.[jt]s?(x)"
],
"bail": true,
"preset": "ts-jest/presets/js-with-babel",
"testEnvironment": "node",
"globals": {
"ts-jest": {
"isolatedModules": true
}
}
},
"dependencies": {
"isomorphic-unfetch": "^3.0.0"
},
"peerDependencies": {
"next": "^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0",
"react": "^16.6.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.6.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@apollo/react-hooks": "^3.0.1",
"@apollo/react-ssr": "^3.1.3",
"@types/cross-spawn": "^6.0.1",
"@types/jest": "^24.0.25",
"@types/node": "^13.1.2",
"@types/node-fetch": "^2.5.4",
"@types/react": "^16.9.17",
"@types/react-dom": "^16.9.4",
"apollo-boost": "^0.4.7",
"apollo-client": "^2.6.8",
"cross-spawn": "^7.0.1",
"get-port": "^5.1.0",
"graphql": "^14.5.8",
"jest": "^24.9.0",
"next": "^9.1.6",
"nock": "^11.7.0",
"node-fetch": "2.6.1",
"prettier": "^1.19.1",
"react": "^16.12.0",
"react-apollo": "^3.0.1",
"react-dom": "^16.12.0",
"ts-jest": "^24.2.0",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-plugin-prettier": "^2.1.0",
"typescript": "^3.7.4"
}
}