-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
110 lines (110 loc) · 3.24 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "next-runtime",
"description": "handler to improve data handling in Next.js getServerSideProps",
"author": "Stephan Meijer <[email protected]>",
"version": "2.4.2",
"private": false,
"keywords": [
"nextjs",
"api",
"forms"
],
"repository": "https://github.com/smeijer/next-runtime",
"homepage": "https://next-runtime.meijer.ws",
"scripts": {
"build": "rimraf ./lib *.tsbuildinfo && tsc --project ./tsconfig.build.json",
"lint": "eslint",
"test": "npm run test:unit && npm run test:e2e",
"test:run-next": "cross-env NODE_OPTIONS=--inspect next dev -p 4000",
"test:unit": "cross-env type=unit jest --runInBand ./src",
"test:e2e": "cross-env type=e2e jest --runInBand ./pages",
"version": "npm run build",
"postversion": "cp -r docs README.md package.json lib",
"release": "np --contents=./lib --message='release: cut the `%s` release' --no-yarn --no-2fa",
"typecheck": "tsc --noEmit"
},
"main": "./index.js",
"source": "./src/index.ts",
"license": "MIT",
"__exports": {
".": "./lib/index.js",
"./form": "./lib/form/index.js",
"./handle": "./lib/handlcookies.e.js",
"./responses": "./lib/responses.js",
"./utils": "./lib/utils/index.js"
},
"dependencies": {
"@types/accepts": "^1",
"@types/body-parser": "^1",
"@types/busboy": "^1.5.4",
"@types/bytes": "^3",
"@types/cookies": "^0.7",
"@types/debug": "^4",
"@types/node-fetch": "^2",
"@types/react": "^17",
"@types/react-dom": "^17",
"accepts": "^1.3.7",
"attr-accept": "^2.2.2",
"body-parser": "^1.19.0",
"busboy": "^1.6.0",
"bytes": "^3.1.0",
"cookies": "^0.8.0",
"debug": "^2.6.9",
"koa-compose": "^4.1.0",
"node-fetch": "^2.6.2",
"picoid": "^1.1.3",
"zustand": "^3.5.10"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.1.0",
"@testing-library/user-event": "^13.2.1",
"@types/accepts": "^1.3.5",
"@types/bytes": "^3.1.1",
"@types/cookies": "^0.7.7",
"@types/cors": "^2.8.12",
"@types/debug": "^4.1.7",
"@types/jest": "^27.0.1",
"@types/koa-compose": "^3.2.5",
"@types/test-listen": "1.1.0",
"@typescript-eslint/eslint-plugin": "^4.31.0",
"@typescript-eslint/parser": "^4.31.0",
"babel-plugin-istanbul": "^6.0.0",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react-hooks": "4.2.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"expect-playwright": "^0.8.0",
"fetch-cookie": "^1.0.0",
"form-data": "^3.0.1",
"husky": "^4.3.8",
"jest": "^27.2.0",
"jest-cli": "^27.2.0",
"jest-partial": "^1.0.1",
"jest-playwright-preset": "^1.7.0",
"lint-staged": "^11.1.2",
"next": "^12.0.3",
"np": "^10.0.7",
"playwright": "^1.14.1",
"prettier": "^2.4.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rimraf": "^3.0.2",
"test-listen": "^1.1.0",
"ts-jest": "^27.0.5",
"typescript": "^4.4.3"
},
"peerDependencies": {
"next": ">=11.1.2",
"react": ">=17.0.2",
"react-dom": ">=17.0.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}