Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
149 lines (149 loc) · 4.12 KB
/
Copy pathpackage.json
File metadata and controls
149 lines (149 loc) · 4.12 KB
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
"name": "@nuxtjs/better-auth",
"type": "module",
"version": "0.3.12",
"packageManager": "pnpm@12.14.0",
"description": "Nuxt module for Better Auth integration with NuxtHub, route protection, session management, and role-based access",
"author": "onmax",
"license": "MIT",
"homepage": "https://better-auth.nuxt.dev",
"repository": {
"type": "git",
"url": "https://github.com/nuxt-modules/better-auth"
},
"exports": {
".": {
"types": "./dist/module.d.mts",
"import": "./dist/module.mjs"
},
"./composables": {
"types": "./dist/runtime/composables.d.ts",
"import": "./dist/runtime/composables.js"
},
"./config": {
"types": "./dist/runtime/config.d.ts",
"import": "./dist/runtime/config.js"
},
"./test-utils/runtime": {
"types": "./dist/runtime/test-utils/runtime.d.ts",
"import": "./dist/runtime/test-utils/runtime.js"
},
"./test-utils/e2e": {
"types": "./dist/runtime/test-utils/e2e.d.ts",
"import": "./dist/runtime/test-utils/e2e.js"
}
},
"main": "./dist/module.mjs",
"typesVersions": {
"*": {
".": [
"./dist/module.d.mts"
],
"composables": [
"./dist/runtime/composables.d.ts"
],
"config": [
"./dist/runtime/config.d.ts"
],
"test-utils/runtime": [
"./dist/runtime/test-utils/runtime.d.ts"
],
"test-utils/e2e": [
"./dist/runtime/test-utils/e2e.d.ts"
]
}
},
"files": [
"dist"
],
"engines": {
"node": "^22.19.0 || ^24.11.0 || >=26.0.0"
},
"scripts": {
"prepack": "nuxt-module-build build",
"build": "pnpm build:docs",
"dev": "pnpm dev:prepare && nuxi dev playground",
"dev:build": "nuxi build playground",
"dev:prepare": "nuxt-module-build build --stub && nuxi prepare playground",
"dev:docs": "nuxi dev docs",
"build:docs": "nuxi build docs",
"deploy": "wrangler deploy",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"typecheck": "vue-tsc --noEmit",
"typecheck:runtime-server": "cd test/cases/plugins-type-inference && nuxi prepare && vue-tsc --noEmit --pretty false -p .nuxt/tsconfig.server.json",
"typecheck:playground": "pnpm -C playground exec nuxi prepare && pnpm -C playground exec vue-tsc --noEmit -p .nuxt/tsconfig.app.json",
"test": "vitest run",
"test:watch": "vitest watch",
"test:runtime": "vitest run --config vitest.runtime.config.ts"
},
"peerDependencies": {
"@nuxt/test-utils": "^4.1.0",
"@nuxthub/core": ">=0.10.5",
"auth": "1.7.12",
"better-auth": ">=1.7.3 <2"
},
"peerDependenciesMeta": {
"@nuxt/test-utils": {
"optional": true
},
"@nuxthub/core": {
"optional": true
},
"auth": {
"optional": true
}
},
"dependencies": {
"@nuxt/devtools-kit": "^3.4.1",
"@nuxt/kit": "^4.6.0",
"@types/node": "^24.13.3",
"consola": "^3.4.2",
"cookie-es": "^3.1.1",
"defu": "^6.1.7",
"get-port-please": "^3.2.0",
"h3": "^2.0.0",
"jiti": "^2.7.0",
"nostics": "^1.2.0",
"pathe": "^2.0.3",
"radix3": "^1.1.2",
"std-env": "^4.2.0",
"ufo": "^1.6.4",
"zod": "^4.4.3"
},
"devDependencies": {
"@antfu/eslint-config": "^9.3.0",
"@libsql/client": "^0.18.0",
"@libsql/linux-x64-gnu": "0.5.29",
"@nuxt/devtools": "^3.4.1",
"@nuxt/fonts": "1.0.1",
"@nuxt/module-builder": "^1.0.3",
"@nuxt/schema": "^4.6.0",
"@nuxt/test-utils": "^4.3.3",
"@nuxthub/core": "^0.10.8",
"@pinia/nuxt": "^1.0.2",
"@types/better-sqlite3": "^9.6.0",
"@vue/test-utils": "^2.4.6",
"auth": "1.7.12",
"better-auth": "1.7.12",
"better-call": "1.4.4",
"better-sqlite3": "^13.0.0",
"drizzle-kit": "^0.31.10",
"drizzle-orm": "^0.45.2",
"eslint": "^10.8.1",
"happy-dom": "^21.0.0",
"nitropack": "2.13.5",
"nuxt": "^4.6.0",
"pinia": "^4.0.3",
"pkg-pr-new": "0.0.91",
"playwright-core": "1.64.1",
"postgres": "^3.4.9",
"typescript": "~5.9.3",
"unstorage": "^1.17.5",
"vitest": "^5.0.0",
"vue": "3.5.44",
"vue-tsc": "^3.3.10",
"wrangler": "4.151.3",
"yaml": "^2.9.0"
}
}