|
70 | 70 | "build": "vite build && pnpm typegen",
|
71 | 71 | "release": "esno ./scripts/release.mts",
|
72 | 72 | "sync-to-cnpm": "npx cnpm sync && curl -L https://npmmirror.com/sync/json-editor-vue",
|
73 |
| - "license-scan": "license-checker --summary --out ./dependency-licenses.txt", |
74 |
| - "lint": "eslint \"**/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,json,md,html,css,scss,sass}\" --ignore-pattern stats.html", |
75 |
| - "lint:fix": "eslint \"**/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,json,md,html,css,scss,sass}\" --ignore-pattern stats.html --fix", |
76 |
| - "preinstall": "node -e \"if (process.env.INIT_CWD === process.cwd()) { process.exit(1) }\" || npx only-allow pnpm", |
77 |
| - "postinstall": "node -e \"if (process.env.INIT_CWD === process.cwd()) { process.exit(1) }\" || (npx simple-git-hooks && pnpm license-scan)" |
| 73 | + "lint": "eslint \"**/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,json,md,html,css,scss,sass}\"", |
| 74 | + "lint:fix": "eslint \"**/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,json,md,html,css,scss,sass}\" --fix", |
| 75 | + "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", |
| 76 | + "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" |
78 | 77 | },
|
79 | 78 | "peerDependencies": {
|
80 | 79 | "@vue/composition-api": ">=1",
|
|
86 | 85 | }
|
87 | 86 | },
|
88 | 87 | "dependencies": {
|
89 |
| - "vanilla-jsoneditor": "^2.0.0", |
| 88 | + "vanilla-jsoneditor": "^2.3.3", |
90 | 89 | "vue-demi": "^0.14.10"
|
91 | 90 | },
|
92 | 91 | "devDependencies": {
|
93 |
| - "@antfu/eslint-config": "^3.8.0", |
94 |
| - "@arethetypeswrong/cli": "^0.16.4", |
95 |
| - "@commitlint/cli": "^19.5.0", |
96 |
| - "@commitlint/config-conventional": "^19.5.0", |
| 92 | + "@antfu/eslint-config": "^3.14.0", |
| 93 | + "@arethetypeswrong/cli": "^0.17.3", |
| 94 | + "@commitlint/cli": "^19.6.1", |
| 95 | + "@commitlint/config-conventional": "^19.6.0", |
| 96 | + "@eslint/eslintrc": "^3.2.0", |
97 | 97 | "@types/cross-spawn": "^6.0.6",
|
98 | 98 | "@types/lodash-es": "^4.17.12",
|
99 |
| - "@types/node": "^22.8.4", |
| 99 | + "@types/node": "^22.10.7", |
100 | 100 | "@types/prompts": "^2.4.9",
|
101 | 101 | "@types/semver": "^7.5.8",
|
102 |
| - "@vitejs/plugin-vue": "^5.1.4", |
103 |
| - "@vitest/ui": "^2.1.4", |
104 |
| - "@vue/compiler-sfc": "^3.5.12", |
| 102 | + "@vitejs/plugin-vue": "^5.2.1", |
| 103 | + "@vitest/ui": "^2.1.8", |
| 104 | + "@vue/compiler-sfc": "^3.5.13", |
105 | 105 | "@vue/test-utils": "^2.4.6",
|
106 |
| - "axios": "^1.7.7", |
107 |
| - "case-police": "^0.7.0", |
| 106 | + "axios": "^1.7.9", |
| 107 | + "case-police": "^0.7.2", |
108 | 108 | "cnpm": "^9.4.0",
|
109 |
| - "cross-spawn": "^7.0.3", |
| 109 | + "cross-spawn": "^7.0.6", |
110 | 110 | "del": "^8.0.0",
|
111 | 111 | "destr": "^2.0.3",
|
112 |
| - "eslint-plugin-format": "^0.1.2", |
| 112 | + "eslint": "^9.18.0", |
| 113 | + "eslint-plugin-financial": "^0.1.0", |
| 114 | + "eslint-plugin-format": "^1.0.1", |
| 115 | + "eslint-plugin-no-unsanitized": "^4.1.2", |
113 | 116 | "esno": "^4.8.0",
|
114 |
| - "happy-dom": "^15.7.4", |
| 117 | + "happy-dom": "^16.6.0", |
115 | 118 | "json-editor-vue": "workspace:*",
|
116 | 119 | "kolorist": "^1.8.0",
|
117 | 120 | "license-checker": "^25.0.1",
|
118 |
| - "lint-staged": "^15.2.10", |
| 121 | + "lint-staged": "^15.4.0", |
119 | 122 | "lodash-es": "^4.17.21",
|
120 | 123 | "lossless-json": "^4.0.2",
|
121 | 124 | "magicast": "^0.3.5",
|
| 125 | + "npm-deprecated-check": "^1.3.0", |
122 | 126 | "only-allow": "^1.2.1",
|
123 | 127 | "open": "^10.1.0",
|
124 | 128 | "prompts": "^2.4.2",
|
125 |
| - "publint": "^0.2.12", |
126 |
| - "rollup-plugin-visualizer": "^5.12.0", |
| 129 | + "publint": "^0.3.2", |
| 130 | + "rollup-plugin-visualizer": "^5.14.0", |
127 | 131 | "semver": "^7.6.3",
|
128 | 132 | "simple-git-hooks": "^2.11.1",
|
129 | 133 | "tsup": "^8.3.5",
|
130 |
| - "typescript": "^5.6.3", |
131 |
| - "unplugin-auto-import": "^0.18.3", |
132 |
| - "unplugin-vue-components": "^0.27.4", |
133 |
| - "vite": "^5.4.10", |
134 |
| - "vite-plugin-dts": "4.3.0", |
135 |
| - "vitepress": "^1.4.2", |
136 |
| - "vitest": "^2.1.4", |
137 |
| - "vue": "^3.5.12", |
| 134 | + "typescript": "^5.7.3", |
| 135 | + "unplugin-auto-import": "^19.0.0", |
| 136 | + "unplugin-vue-components": "^28.0.0", |
| 137 | + "vite": "^6.0.7", |
| 138 | + "vite-plugin-dts": "4.5.0", |
| 139 | + "vitepress": "^1.5.0", |
| 140 | + "vitest": "^2.1.8", |
| 141 | + "vue": "^3.5.13", |
138 | 142 | "vue-global-config": "^0.6.3",
|
139 | 143 | "zhlint": "^0.8.2"
|
140 | 144 | },
|
141 | 145 | "simple-git-hooks": {
|
142 |
| - "pre-commit": "pnpm lint-staged && actionlint", |
| 146 | + "pre-commit": "npx lint-staged", |
143 | 147 | "commit-msg": "npx --no -- commitlint --edit ${1}"
|
144 | 148 | },
|
145 | 149 | "lint-staged": {
|
146 |
| - "*.md": "case-police --fix", |
| 150 | + "*.md": [ |
| 151 | + "case-police --fix", |
| 152 | + "zhlint --fix" |
| 153 | + ], |
147 | 154 | "docs/README.zh-CN.md": "zhlint --fix",
|
148 |
| - "*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,json,md,html,css,scss,sass}": "eslint --ignore-pattern stats.html --cache --fix" |
| 155 | + "*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,json,md,html,css,scss,sass}": "eslint --cache --fix" |
149 | 156 | }
|
150 | 157 | }
|
0 commit comments