-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
95 lines (95 loc) · 2.34 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
{
"name": "next-extra",
"version": "0.5.0",
"description": "next-extra offers additional methods not included in the standard Next package, such as searchParams and pathname.",
"author": "Shahrad Elahi <shahrad@litehex.com> (https://github.com/shahradelahi)",
"license": "MIT",
"repository": "github:shahradelahi/next-extra",
"homepage": "https://github.com/shahradelahi/next-extra",
"keywords": [
"next",
"nextjs",
"react",
"next-extra"
],
"type": "module",
"main": "dist/index.js",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js"
},
"./action": {
"require": "./dist/action.cjs",
"import": "./dist/action.js"
},
"./context": {
"require": "./dist/context.cjs",
"import": "./dist/context.js"
},
"./pathname": {
"require": "./dist/pathname.cjs",
"import": "./dist/pathname.js"
}
},
"types": "./dist",
"typesVersions": {
"*": {
"action": [
"dist/action.d.cts",
"dist/action.d.ts"
],
"context": [
"dist/context.d.cts",
"dist/context.d.ts"
],
"pathname": [
"dist/pathname.d.cts",
"dist/pathname.d.ts"
]
}
},
"files": [
"/dist/**/*",
"/src/**/*",
"!**/*.test.*"
],
"packageManager": "pnpm@9.5.0",
"scripts": {
"build": "tsup",
"typecheck": "tsc --noEmit",
"lint": "pnpm typecheck && eslint .",
"lint:fix": "eslint --fix .",
"format:check": "prettier --check .",
"format": "prettier --write .",
"test": "mocha \"**/*.test.ts\" --retries 2",
"prepublishOnly": "pnpm test && pnpm lint && pnpm format:check && pnpm build"
},
"dependencies": {
"@edge-runtime/cookies": "^5",
"deepmerge": "^4",
"p-safe": "^1"
},
"peerDependencies": {
"next": "14 || 15",
"react": "18 || 19"
},
"devDependencies": {
"@ianvs/prettier-plugin-sort-imports": "^4.3.1",
"@sindresorhus/tsconfig": "^6.0.0",
"@types/chai": "^4.3.16",
"@types/mocha": "^10.0.7",
"@types/node": "^20.14.11",
"@types/react": "^18",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"chai": "^5.1.1",
"eslint": "^8.57.0",
"mocha": "^10.7.0",
"next": "^14",
"prettier": "^3.3.3",
"react": "^18",
"tsup": "8.1.2",
"tsx": "^4.16.2",
"typescript": "^5.5.3"
}
}