-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
133 lines (133 loc) · 3.6 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
{
"name": "idux-coder",
"displayName": "iDuxCoder",
"description": "💻 A IDE Extension for iDux",
"version": "1.2.0",
"license": "MIT",
"publisher": "IDuxFE",
"author": {
"name": "IDuxFE",
"email": "idux.feteam@gmail.com",
"url": "https://github.com/IDuxFE"
},
"icon": "assets/logo.png",
"homepage": "https://github.com/IDuxFE/idux-coder/blob/main/README.md",
"bugs": {
"url": "https://github.com/IDuxFE/idux-coder/issues"
},
"repository": {
"url": "https://github.com/IDuxFE/idux-coder"
},
"galleryBanner": {
"theme": "light"
},
"categories": [
"Snippets",
"Other"
],
"keywords": [
"idux",
"docs",
"api"
],
"engines": {
"vscode": "^1.49.0"
},
"activationEvents": [
"onLanguage:vue",
"onLanguage:html",
"onLanguage:typescriptreact",
"onLanguage:javascriptreact"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [],
"configuration": {
"title": "iDuxCoder",
"properties": {
"IDuxCoder.ComponentPrefix": {
"type": "string",
"default": "Ix",
"description": "Prefix of component names"
},
"IDuxCoder.Language": {
"type": "string",
"default": "zh",
"enum": [
"zh",
"en"
],
"description": "Set the language for iDux docs"
},
"IDuxCoder.BaseURL": {
"type": "string",
"default": "https://idux.site",
"format": "uri",
"description": "Set the website address for iDux docs"
},
"IDuxCoder.CustomAPIs": {
"type": "string",
"default": "",
"description": "Set the custom APIs JSON file path for iDux docs"
},
"IDuxCoder.PackageLocation": {
"type": "string",
"default": "",
"description": "Set the current project's package manager path location"
}
}
}
},
"scripts": {
"esbuild-base": "esbuild src/vscode-extension/extension.ts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "yarn run esbuild-base -- --sourcemap",
"watch": "yarn run esbuild-base -- --sourcemap --watch",
"prepare": "husky install",
"package": "vsce package",
"vscode:prepublish": "yarn run esbuild-base -- --minify",
"publish": "vsce publish",
"lint": "eslint src --ext ts --fix",
"release": "release-it",
"changelog:last": "conventional-changelog -p angular -r 2",
"changelog:preview": "conventional-changelog -p angular -u",
"changelog:update": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"devDependencies": {
"@commitlint/config-conventional": "^17.0.3",
"@types/glob": "^7.2.0",
"@types/node": "^16.11.47",
"@types/vscode": "^1.49.0",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@typescript-eslint/parser": "^5.30.0",
"@vscode/test-electron": "^2.1.5",
"commitlint": "^17.0.3",
"conventional-changelog-cli": "^2.2.2",
"esbuild": "^0.14.53",
"eslint": "^8.18.0",
"husky": "^8.0.1",
"lint-staged": ">=10",
"lodash.camelcase": "^4.3.0",
"lodash.forin": "^4.4.0",
"lodash.merge": "^4.6.2",
"lodash.toupper": "^4.1.2",
"prettier": "^2.7.1",
"release-it": "^15.2.0",
"typescript": "^4.7.4",
"vsce": "latest"
},
"vsce": {
"dependencies": true,
"yarn": true
},
"lint-staged": {
"*.ts": "eslint --cache --fix",
"*.{ts,js,json,yml,md}": [
"prettier --write"
]
}
}