-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 3.61 KB
/
Copy pathpackage.json
File metadata and controls
113 lines (113 loc) · 3.61 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
{
"name": "nuxt-cart",
"version": "1.1.3",
"description": "A generic, reusable shopping cart module for Nuxt 4 with localStorage persistence, coupon support, and optional Nuxt UI components",
"author": "rrd <rrd@webmania.cc>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/rrd108/nuxt-cart.git"
},
"homepage": "https://github.com/rrd108/nuxt-cart#readme",
"bugs": {
"url": "https://github.com/rrd108/nuxt-cart/issues"
},
"keywords": [
"nuxt",
"nuxt-module",
"nuxt4",
"cart",
"shopping-cart",
"ecommerce",
"pinia",
"localstorage"
],
"type": "module",
"exports": {
".": {
"types": "./dist/module.d.mts",
"import": "./dist/module.mjs"
}
},
"main": "./dist/module.mjs",
"types": "./dist/module.d.mts",
"files": [
"dist"
],
"scripts": {
"prepack": "nuxt-module-build build",
"build": "nuxt-module-build build",
"check:npm_token": "dotenv -- sh -c 'if [ -z \"$NPM_TOKEN\" ]; then echo \"❌ NPM_TOKEN environment variable is not set in .env file. Please set it to your npm token.\"; exit 1; fi'",
"check:npm_auth": "dotenv -- sh -c 'npm whoami --registry https://registry.npmjs.org/ --//registry.npmjs.org/:_authToken=$NPM_TOKEN'",
"release:publish:dry": "dotenv -- sh -c 'npm publish --dry-run --ignore-scripts --registry https://registry.npmjs.org/ --//registry.npmjs.org/:_authToken=$NPM_TOKEN'",
"release:preflight": "pnpm check:npm_token && pnpm check:npm_auth && sh scripts/release-preflight.sh",
"release": "pnpm release:preflight && pnpm lint && pnpm test:types && pnpm test && pnpm prepack && pnpm release:publish:dry && dotenv -- changelogen --release && npm publish --auth-type=web --registry https://registry.npmjs.org/ && git push --follow-tags",
"test:release": "pnpm lint && pnpm test:types && pnpm test && pnpm build",
"dev": "nuxi dev playground",
"dev:build": "nuxi build playground",
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
"lint": "oxlint --deny-warnings",
"lint:fix": "oxlint --fix --deny-warnings",
"test": "vitest run",
"test:watch": "vitest watch",
"test:types": "nuxt-module-build build --stub && nuxi prepare playground && cd playground && vue-tsc --noEmit",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"docs:release": "date +%Y%m%d%H%M%S > docs/.lastRelease && pnpm docs:build"
},
"dependencies": {
"@nuxt/kit": "^4.0.0",
"db0": "^0.3.4",
"defu": "^6.1.4",
"destr": "^2.0.3"
},
"devDependencies": {
"@nuxt/module-builder": "^1.0.0",
"@nuxt/schema": "^4.0.0",
"@nuxt/ui": "^4.0.0",
"@pinia/nuxt": "^0.11.0",
"@types/node": "^22.14.1",
"better-sqlite3": "^12.2.0",
"changelogen": "^0.6.2",
"dotenv-cli": "^11.0.0",
"mysql2": "^3.14.2",
"nuxt": "^4.0.0",
"oxlint": "^1.69.0",
"pg": "^8.16.3",
"pinia": "^3.0.0",
"typescript": "~5.8.3",
"vitepress": "^1.6.4",
"vitest": "^3.1.2",
"vue": "^3.5.38",
"vue-tsc": "^3.0.0"
},
"peerDependencies": {
"@nuxt/ui": "^4.0.0",
"@pinia/nuxt": "^0.11.0",
"better-sqlite3": "*",
"mysql2": "*",
"pg": "*",
"pinia": "^3.0.0"
},
"packageManager": "pnpm@10.17.1",
"pnpm": {
"onlyBuiltDependencies": [
"better-sqlite3"
]
},
"peerDependenciesMeta": {
"@nuxt/ui": {
"optional": true
},
"better-sqlite3": {
"optional": true
},
"mysql2": {
"optional": true
},
"pg": {
"optional": true
}
}
}