1 | {
|
2 | "name": "next-with-apollo",
|
3 | "version": "5.0.0",
|
4 | "description": "Apollo HOC for Next.js",
|
5 | "main": "lib/index.js",
|
6 | "types": "lib/index.d.ts",
|
7 | "files": [
|
8 | "lib"
|
9 | ],
|
10 | "scripts": {
|
11 | "fix": "tslint -p tsconfig.json --fix",
|
12 | "tslint": "tslint -c tslint.json -p tsconfig.json -t codeFrame",
|
13 | "build": "tsc",
|
14 | "watch": "tsc -w",
|
15 | "test": "yarn tslint && yarn build && jest",
|
16 | "prepublishOnly": "yarn test"
|
17 | },
|
18 | "author": "lfades",
|
19 | "license": "MIT",
|
20 | "repository": {
|
21 | "type": "git",
|
22 | "url": "https://github.com/lfades/next-with-apollo.git"
|
23 | },
|
24 | "bugs": {
|
25 | "url": "https://github.com/lfades/next-with-apollo/issues"
|
26 | },
|
27 | "prettier": {
|
28 | "singleQuote": true
|
29 | },
|
30 | "jest": {
|
31 | "rootDir": "integration",
|
32 | "testMatch": [
|
33 | "**/*.test.[jt]s?(x)"
|
34 | ],
|
35 | "bail": true,
|
36 | "preset": "ts-jest/presets/js-with-babel",
|
37 | "testEnvironment": "node",
|
38 | "globals": {
|
39 | "ts-jest": {
|
40 | "isolatedModules": true
|
41 | }
|
42 | }
|
43 | },
|
44 | "dependencies": {
|
45 | "isomorphic-unfetch": "^3.0.0"
|
46 | },
|
47 | "peerDependencies": {
|
48 | "next": "^9.0.0",
|
49 | "react": "^16.6.0",
|
50 | "react-dom": "^16.6.0"
|
51 | },
|
52 | "devDependencies": {
|
53 | "@apollo/react-hooks": "^3.0.1",
|
54 | "@apollo/react-ssr": "^3.1.3",
|
55 | "@types/cross-spawn": "^6.0.1",
|
56 | "@types/jest": "^24.0.25",
|
57 | "@types/node": "^13.1.2",
|
58 | "@types/node-fetch": "^2.5.4",
|
59 | "@types/react": "^16.9.17",
|
60 | "@types/react-dom": "^16.9.4",
|
61 | "apollo-boost": "^0.4.7",
|
62 | "apollo-client": "^2.6.8",
|
63 | "cross-spawn": "^7.0.1",
|
64 | "get-port": "^5.1.0",
|
65 | "graphql": "^14.5.8",
|
66 | "jest": "^24.9.0",
|
67 | "next": "^9.1.6",
|
68 | "nock": "^11.7.0",
|
69 | "node-fetch": "2.6.0",
|
70 | "prettier": "^1.19.1",
|
71 | "react": "^16.12.0",
|
72 | "react-apollo": "^3.0.1",
|
73 | "react-dom": "^16.12.0",
|
74 | "ts-jest": "^24.2.0",
|
75 | "tslint": "^5.20.1",
|
76 | "tslint-config-prettier": "^1.18.0",
|
77 | "tslint-eslint-rules": "^5.4.0",
|
78 | "tslint-plugin-prettier": "^2.1.0",
|
79 | "typescript": "^3.7.4"
|
80 | }
|
81 | }
|