-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
166 lines (166 loc) · 4.51 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
158
159
160
161
162
163
164
165
166
{
"name": "vscode-antd-rush",
"displayName": "Antd Rush",
"description": "Rush to Ant Design in VS Code",
"version": "2.1.1",
"publisher": "fi3ework",
"author": "fi3ework",
"repository": {
"type": "git",
"url": "https://github.com/fi3ework/vscode-antd-rush"
},
"bugs": {
"url": "https://github.com/fi3ework/vscode-antd-rush/issues"
},
"keywords": [
"antd",
"ant design",
"react",
"vscode",
"vscode-extension"
],
"engines": {
"vscode": "^1.35.0"
},
"categories": [
"Other"
],
"icon": "assets/logo.png",
"galleryBanner": {
"color": "#FFF",
"theme": "light"
},
"activationEvents": [
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:typescriptreact"
],
"main": "./dist/extension.js",
"contributes": {
"capabilities": {
"hoverProvider": "true"
},
"commands": [
{
"command": "antdRush.afterCompletion",
"title": "AntdRush: [internal, do not use]"
},
{
"command": "antdRush.setWorkspaceAntdMajorVersion",
"title": "AntdRush: Set antd version of current workspace"
}
],
"languages": [
{
"id": "locations",
"aliases": [
"Locations"
],
"extensions": [
".locations"
]
}
],
"configuration": {
"title": "Antd Rush",
"properties": {
"antdRush.language": {
"type": "string",
"default": "ä¸æ–‡",
"enum": [
"English",
"ä¸æ–‡"
],
"description": "Language of Ant Design documentation."
},
"antdRush.handlerPrefix": {
"type": "string",
"default": "handle",
"minLength": 1,
"description": "Prefix of automatically generated handler."
},
"antdRush.defaultAntdMajorVersion": {
"type": "string",
"default": "^3",
"enum": [
"^3",
"^4"
],
"description": "Set default major version of antd (^3 or ^4) of workspace. You can change this for each workspace."
}
}
}
},
"scripts": {
"build-doc:download-and-parse": "cross-env DOWNLOAD=true ts-node -O '{\"esModuleInterop\":true}' ./src/build-resource/index.ts",
"build-doc:parse": "cross-env DOWNLOAD=false ts-node -O '{\"esModuleInterop\":true}' ./src/build-resource/index.ts",
"build-dev": "cross-env NODE_ENV=development ts-node --files -P ./scripts/tsconfig.json ./scripts",
"build-prod": "cross-env NODE_ENV=production ts-node --files -P ./scripts/tsconfig.json ./scripts",
"compile-test": "tsc -p ./test",
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
"watch-test": "tsc -watch -p ./test",
"test": "node ./out-test/runTest.js",
"vscode:prepublish": "npm run lint && npm run build-prod"
},
"devDependencies": {
"@octokit/rest": "^17.1.4",
"@types/friendly-errors-webpack-plugin": "^0.1.2",
"@types/fs-extra": "^8.0.1",
"@types/glob": "^7.1.1",
"@types/hard-source-webpack-plugin": "^1.0.1",
"@types/js-base64": "^2.3.1",
"@types/lodash.merge": "^4.6.6",
"@types/mocha": "^7.0.1",
"@types/node": "^13.7.0",
"@types/react": "^16.9.27",
"@types/terser-webpack-plugin": "^2.2.0",
"@types/vscode": "^1.35.0",
"@types/webpack-merge": "^4.1.5",
"@typescript-eslint/eslint-plugin": "^2.28.0",
"@typescript-eslint/parser": "^2.28.0",
"antd": "3.26.15",
"clean-webpack-plugin": "^3.0.0",
"cross-env": "^7.0.0",
"edit-package": "^1.0.3",
"eslint": "^6.8.0",
"eslint-config-alloy": "^3.7.1",
"friendly-errors-webpack-plugin": "^1.7.0",
"fs-extra": "^8.1.0",
"glob": "^7.1.6",
"hard-source-webpack-plugin": "^0.13.1",
"husky": "^4.2.5",
"js-base64": "^2.5.1",
"lint-staged": "^10.1.6",
"log-symbols": "^3.0.0",
"mocha": "^7.0.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"ts-loader": "^7.0.1",
"ts-node": "^8.5.4",
"unified": "^8.4.2",
"unist-util-find": "^1.0.1",
"vscode-test": "^1.3.0",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11",
"webpack-merge": "^4.2.2"
},
"dependencies": {
"decamelize": "^4.0.0",
"lodash.merge": "^4.6.2",
"remark-parse": "^7.0.2",
"remark-stringify": "^7.0.4",
"typescript": "^3.8.3",
"vscode-languageserver": "^6.1.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"prettier --write",
"npm run lint"
]
}
}