-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
78 lines (78 loc) · 2.31 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "next-server-context",
"version": "6.0.0",
"description": "A Next.js App or page decorator, React context object, and React hook to access Node.js HTTP server context when rendering components.",
"license": "MIT",
"author": {
"name": "Jayden Seric",
"email": "[email protected]",
"url": "https://jaydenseric.com"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jaydenseric/next-server-context.git"
},
"homepage": "https://github.com/jaydenseric/next-server-context#readme",
"bugs": "https://github.com/jaydenseric/next-server-context/issues",
"funding": "https://github.com/sponsors/jaydenseric",
"keywords": [
"next",
"server",
"context",
"request",
"response",
"react",
"hooks",
"ssr",
"esm",
"mjs"
],
"files": [
"cjsDefaultImport.mjs",
"ServerContextContext.mjs",
"useServerContext.mjs",
"withServerContext.mjs"
],
"sideEffects": false,
"exports": {
"./package.json": "./package.json",
"./ServerContextContext.mjs": "./ServerContextContext.mjs",
"./useServerContext.mjs": "./useServerContext.mjs",
"./withServerContext.mjs": "./withServerContext.mjs"
},
"engines": {
"node": "^18.17.0 || >=20.4.0"
},
"browserslist": "Node 18.17 - 19 and Node < 19, Node >= 20.4, > 0.5%, not OperaMini all, not dead",
"peerDependencies": {
"next": "12 - 14",
"react": "16.14 - 18"
},
"devDependencies": {
"@types/node": "^20.9.4",
"@types/react": "^18.2.38",
"@types/react-dom": "^18.2.17",
"@types/react-test-renderer": "^18.0.7",
"coverage-node": "^8.0.0",
"esbuild": "^0.19.7",
"eslint": "^8.54.0",
"eslint-plugin-optimal-modules": "^1.0.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"gzip-size": "^7.0.0",
"next": "^14.0.3",
"prettier": "^3.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"typescript": "^5.3.2"
},
"scripts": {
"eslint": "eslint .",
"prettier": "prettier -c .",
"types": "tsc -p jsconfig.json",
"tests": "NEXT_TELEMETRY_DISABLED=1 coverage-node --test-reporter=spec --test *.test.mjs",
"test": "npm run eslint && npm run prettier && npm run types && npm run tests",
"prepublishOnly": "npm test"
}
}