Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
153 lines (153 loc) · 5.14 KB
/
Copy pathpackage.json
File metadata and controls
153 lines (153 loc) · 5.14 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
150
151
152
153
{
"name": "AutoAPIGen",
"private": true,
"displayName": "AutoAPIGen",
"description": "Automatically generate API functions to improve development efficiency. Supports TypeScript typing, processing queries and path parameters, and integrates with Axios for seamless API requests. Ideal for developers to save time and avoid duplicate API boilerplate code.",
"version": "1.3.1",
"license": "MIT",
"publisher": "script",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/983033995/AutoAPIGen.git"
},
"main": "./dist/extension.js",
"scripts": {
"vscode:prepublish": "pnpm run compile && pnpm run optimize-monaco && pnpm run clean-chunks",
"package:vsix": "node scripts/package-vsix-npm.js",
"package:vsix:npm": "node scripts/package-vsix-npm.js",
"compile": "concurrently \"tsc -p ./tsconfig.extension.json --skipLibCheck\" \"vite build\" \"tailwindcss -i ./src/assets/css/main.css -o ./dist/output.css\" && pnpm run remove-console",
"remove-console": "node scripts/remove-console.js",
"optimize-monaco": "node scripts/optimize-monaco.js",
"clean-chunks": "node scripts/clean-chunks.js",
"watch": "concurrently \"tsc -w -p ./tsconfig.extension.json --skipLibCheck\" \"vite build --watch\" \"tailwindcss -i ./src/assets/css/main.css -o ./dist/output.css --watch\"",
"lint": "eslint \"src/**/*.{ts,vue}\"",
"typecheck": "vue-tsc --noEmit --skipLibCheck",
"test": "vitest",
"test:ui": "vitest --ui",
"prepare": "husky",
"cli:build": "pnpm -F @auto-api-gen/cli run build",
"cli:publish": "pnpm install && pnpm -F @zhangheteng/aag-cli run build && pnpm -F @zhangheteng/aag-core run build && node scripts/pre-publish.js packages/core \"pnpm publish --access public --no-git-checks\" && node scripts/pre-publish.js packages/cli \"pnpm publish --access public --no-git-checks\"",
"cli:login": "npm adduser"
},
"lint-staged": {
"*.{ts,vue}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md}": [
"prettier --write"
]
},
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "auto-api-gen",
"title": "AutoAPIGen",
"icon": "./dist/compiled/default.png"
}
]
},
"views": {
"auto-api-gen": [
{
"type": "webview",
"id": "base-view-sidebar",
"name": "Auto API Gen Extension",
"icon": "./dist/compiled/default.png",
"contextualTitle": "Auto API Gen Extension"
}
]
},
"commands": [
{
"command": "AutoAPIGen.showConfigPagePanel",
"title": "showConfigPagePanel"
},
{
"command": "AutoAPIGen.showApiDetailPanel",
"title": "showApiDetailPanel"
},
{
"command": "AutoAPIGen.closeConfigPagePanel",
"title": "closeConfigPagePanel"
},
{
"command": "AutoAPIGen.copyToClipboard",
"title": "Copy Text to Clipboard"
},
{
"command": "AutoAPIGen.enableAISupport",
"title": "AutoAPIGen: 启用 AI 工具支持(安装 aag CLI)",
"category": "AutoAPIGen"
}
],
"activationEvents": [
"onCommand:extension.start",
"onLanguage:javascript",
"onView: base-view-sidebar",
"onCommand:AutoAPIGen.showConfigPagePanel",
"onCommand:AutoAPIGen.closeConfigPagePanel",
"onCommand:AutoAPIGen.showApiDetailPanel",
"onCommand:AutoAPIGen.copyToClipboard"
]
},
"dependencies": {
"@iconify-json/hugeicons": "^1.1.0",
"@iconify-json/noto": "^1.1.18",
"@iconify/tailwind": "^1.1.1",
"@intlify/unplugin-vue-i18n": "^6.0.8",
"@monaco-editor/loader": "^1.4.0",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/prettier": "^3.0.0",
"@vitest/ui": "^0.26.2",
"@vueuse/core": "^10.11.0",
"axios": "^1.7.2",
"dayjs": "^1.11.13",
"eslint": "^8.50.0",
"fs-extra": "^11.2.0",
"monaco-editor": "^0.52.0",
"pinyin-pro": "^3.23.1",
"prettier": "3.3.2",
"prettier-plugin-organize-imports": "^4.1.0",
"vue": "^3.2.45",
"vue-i18n": "9"
},
"devDependencies": {
"@arco-design/web-vue": "^2.55.3",
"@arco-plugins/vite-vue": "^1.4.5",
"@iconify-json/logos": "^1.1.43",
"@iconify-json/mdi": "^1.1.39",
"@iconify-json/ph": "^1.1.13",
"@iconify-json/tabler": "^1.1.117",
"@iconify-json/vscode-icons": "^1.1.35",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/vue": "^6.6.1",
"@types/jest": "^29.2.4",
"@types/node": "^22.9.0",
"@types/vscode": "^1.73.0",
"@typescript-eslint/eslint-plugin": "^8.13.0",
"@typescript-eslint/parser": "^8.13.0",
"@vitejs/plugin-vue": "^2.3.3",
"concurrently": "^7.6.0",
"eslint-plugin-vue": "^9.30.0",
"husky": "^9.1.7",
"jsdom": "^20.0.3",
"lint-staged": "^16.2.5",
"tailwindcss": "^3.2.4",
"terser": "^5.39.0",
"typescript": "^5.6.3",
"unplugin-auto-import": "^0.17.6",
"unplugin-icons": "^0.14.15",
"unplugin-vue-components": "^0.27.0",
"vite": "^2.9.14",
"vitest": "^0.26.2",
"vue-tsc": "^2.1.10"
}
}