-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 2.52 KB
/
package.json
File metadata and controls
100 lines (100 loc) · 2.52 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
{
"name": "@muffe/hydro",
"version": "0.1.0",
"description": "Resource-oriented APIs for Nuxt and Nitro",
"keywords": [
"nuxt",
"nitro",
"h3",
"api",
"openapi",
"zod",
"rest"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/muffe/hydro"
},
"type": "module",
"engines": {
"node": ">=22.0.0"
},
"exports": {
".": {
"types": "./dist/module.d.mts",
"import": "./dist/module.mjs"
},
"./core": {
"types": "./dist/runtime/core/index.d.ts",
"import": "./dist/runtime/core/index.js"
}
},
"main": "./dist/module.mjs",
"typesVersions": {
"*": {
".": [
"./dist/module.d.mts"
],
"core": [
"./dist/runtime/core/index.d.ts"
]
}
},
"files": [
"dist",
"docs/ai-context.md"
],
"workspaces": [
"playground"
],
"scripts": {
"prepack": "nuxt-module-build build",
"dev": "npm run dev:prepare && nuxt dev playground",
"dev:build": "nuxt build playground",
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground",
"release": "bun run verify && changelogen --release && npm publish --access public && git push --follow-tags",
"verify": "bun run dev:prepare && bun run lint && bun run test:types && bun run test:coverage && bun run test:e2e && bun run prepack && bun run dev:build",
"lint": "eslint .",
"test": "vitest run",
"test:coverage": "vitest run test/core.test.ts test/auth.test.ts --coverage",
"test:e2e": "vitest run test/basic.test.ts",
"test:watch": "vitest watch",
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
},
"dependencies": {
"@nuxt/kit": "^4.4.2",
"@standard-schema/spec": "^1.1.0",
"h3": "^1.15.11",
"zod-to-json-schema": "^3.25.2"
},
"peerDependencies": {
"nuxt-auth-utils": ">=0.5.0",
"zod": ">=3.25.0 || >=4.0.0"
},
"peerDependenciesMeta": {
"nuxt-auth-utils": {
"optional": true
},
"zod": {
"optional": true
}
},
"devDependencies": {
"@nuxt/devtools": "^3.2.4",
"@nuxt/eslint-config": "^1.15.2",
"@nuxt/module-builder": "^1.0.2",
"@nuxt/schema": "^4.4.2",
"@nuxt/test-utils": "^4.0.2",
"@types/node": "latest",
"@vitest/coverage-v8": "^4.1.5",
"changelogen": "^0.6.2",
"eslint": "^10.2.1",
"nuxt": "^4.4.2",
"typescript": "~6.0.3",
"vitest": "^4.1.4",
"vue-router": "^5.0.6",
"vue-tsc": "^3.2.7",
"zod": "^4.3.6"
}
}