-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathpackage.json
157 lines (157 loc) · 4.61 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
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
150
151
152
153
154
155
156
157
{
"name": "json-editor-vue",
"PascalCasedName": "JsonEditorVue",
"type": "commonjs",
"version": "0.17.3",
"private": false,
"description": "Vue and Nuxt 2/3 isomorphic JSON editor, viewer, formatter and validator.",
"author": {
"name": "Cloyd Lau",
"url": "https://github.com/cloydlau"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/cloydlau/json-editor-vue.git"
},
"keywords": [
"ajv",
"bigint",
"edit",
"format",
"formatter",
"json",
"jsoneditor",
"nuxt",
"nuxtjs",
"schema",
"ssr",
"svelte-jsoneditor",
"validate",
"validation",
"validator",
"view",
"vue",
"vue-demi",
"vue-json-pretty",
"vue-json-viewer"
],
"exports": {
".": {
"import": {
"types": "./dist/json-editor-vue.d.mts",
"default": "./dist/json-editor-vue.mjs"
},
"require": {
"types": "./dist/json-editor-vue.d.ts",
"default": "./dist/json-editor-vue.umd.js"
}
},
"./*": "./*"
},
"main": "./dist/json-editor-vue.umd.js",
"module": "./dist/json-editor-vue.mjs",
"unpkg": "./dist/json-editor-vue.umd.js",
"jsdelivr": "./dist/json-editor-vue.umd.js",
"types": "./dist/json-editor-vue.d.ts",
"files": [
"dist",
"docs",
"nuxt.ts"
],
"scripts": {
"dev": "esno ./scripts/dev.mts",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:ui": "vitest --ui",
"doc": "vitepress dev --open /README",
"typegen": "npx tsup --entry.json-editor-vue src/index.ts --format esm,cjs --cjsInterop --clean --dts-only",
"build": "vite build && pnpm typegen",
"release": "esno ./scripts/release.mts",
"sync-to-cnpm": "npx cnpm sync && curl -L https://npmmirror.com/sync/json-editor-vue",
"lint": "eslint \"**/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,json,md,html,css,scss,sass}\"",
"lint:fix": "eslint \"**/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,json,md,html,css,scss,sass}\" --fix",
"preinstall": "node -e \"if (process.env.INIT_CWD === process.cwd()) { process.exit(1) }\" || npx only-allow pnpm && pnpm config set registry https://registry.npmmirror.com",
"postinstall": "node -e \"if (process.env.INIT_CWD === process.cwd()) { process.exit(1) }\" || npx simple-git-hooks && git config core.hooksPath .git/hooks/ && npx license-checker --summary --out ./licenses.txt"
},
"peerDependencies": {
"@vue/composition-api": ">=1",
"vue": "2||3"
},
"peerDependenciesMeta": {
"@vue/composition-api": {
"optional": true
}
},
"dependencies": {
"vanilla-jsoneditor": "^2.3.3",
"vue-demi": "^0.14.10"
},
"devDependencies": {
"@antfu/eslint-config": "^3.14.0",
"@arethetypeswrong/cli": "^0.17.3",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@eslint/eslintrc": "^3.2.0",
"@types/cross-spawn": "^6.0.6",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.10.7",
"@types/prompts": "^2.4.9",
"@types/semver": "^7.5.8",
"@vitejs/plugin-vue": "^5.2.1",
"@vitest/ui": "^3.0.1",
"@vue/compiler-sfc": "^3.5.13",
"@vue/test-utils": "^2.4.6",
"axios": "^1.7.9",
"case-police": "^0.7.2",
"cnpm": "^9.4.0",
"cross-spawn": "^7.0.6",
"del": "^8.0.0",
"destr": "^2.0.3",
"eslint": "^9.18.0",
"eslint-plugin-financial": "^0.1.0",
"eslint-plugin-format": "^1.0.1",
"eslint-plugin-no-unsanitized": "^4.1.2",
"esno": "^4.8.0",
"happy-dom": "^16.6.0",
"json-editor-vue": "workspace:*",
"kolorist": "^1.8.0",
"license-checker": "^25.0.1",
"lint-staged": "^15.4.1",
"lodash-es": "^4.17.21",
"lossless-json": "^4.0.2",
"magicast": "^0.3.5",
"npm-deprecated-check": "^1.3.0",
"only-allow": "^1.2.1",
"open": "^10.1.0",
"prompts": "^2.4.2",
"publint": "^0.3.2",
"rollup-plugin-visualizer": "^5.14.0",
"semver": "^7.6.3",
"simple-git-hooks": "^2.11.1",
"tsup": "^8.3.5",
"typescript": "^5.7.3",
"unplugin-auto-import": "^19.0.0",
"unplugin-vue-components": "^28.0.0",
"vite": "^6.0.7",
"vite-plugin-dts": "4.5.0",
"vitepress": "^1.5.0",
"vitest": "^3.0.1",
"vue": "^3.5.13",
"vue-global-config": "^0.6.3",
"zhlint": "^0.8.2"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"commit-msg": "npx --no -- commitlint --edit ${1}"
},
"lint-staged": {
"*.md": [
"case-police --fix",
"zhlint --fix"
],
"docs/README.zh-CN.md": "zhlint --fix",
"*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,json,md,html,css,scss,sass}": "eslint --cache --fix"
}
}