-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
114 lines (114 loc) · 3.12 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
{
"name": "eolinker2ts",
"displayName": "Eolinker2Ts",
"description": "将Eolinker的api转换成typescript使用的类型模板",
"author": "wisen",
"publisher": "wisen",
"version": "1.0.3",
"engines": {
"vscode": "^1.40.1"
},
"keywords": [
"eolinker",
"typescript",
"ts",
"json",
"类型",
"转换"
],
"icon": "resource/eolinker_logo.png",
"repository": {
"url": "https://github.com/wisenchen/vscode-eolinker2ts"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:eolinker2ts.paste2ts"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "Eolinker2Ts",
"type": "object",
"properties": {
"Eolinker2Ts.closeTypeNameInput": {
"type": "boolean",
"default": false,
"description": "是否关闭类型名称输入框"
},
"Eolinker2Ts.tableColOrder": {
"type": "object",
"default": {
"name": 0,
"type": 1,
"isRequired": 2,
"desc": 3
},
"description": "从eolinker上复制的表格列顺序\n name: 类型名称,type: ts类型,isRequired: 是否可选,desc: 描述"
},
"Eolinker2Ts.ignoreFileds": {
"type": "array",
"default": [],
"description": "忽略的字段"
},
"Eolinker2Ts.isReadonly": {
"type": "boolean",
"default": false,
"description": "是否添加只读属性"
},
"Eolinker2Ts.orderingRule": {
"type": "number",
"enum": [
0,
1,
2
],
"default": 0,
"description": "字段的排序规则, 0: 不排序, 1:按是否可选向下 , 2:按首字母向下"
}
}
},
"commands": [
{
"command": "eolinker2ts.paste2ts",
"title": "将复制的内容转成ts模板和粘贴",
"category": "Eolinker2Ts"
}
],
"keybindings": [
{
"command": "eolinker2ts.paste2ts",
"key": "alt+shift+v"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack --config ./build/node-extension.webpack.config.js",
"watch": "webpack --watch --config ./build/node-extension.webpack.config.js",
"package": "webpack --mode production --devtool hidden-source-map --config ./build/node-extension.webpack.config.js",
"test-compile": "tsc -p ./",
"test-watch": "tsc -watch -p ./",
"pretest": "npm run test-compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"@types/vscode": "^1.40.1",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"eslint": "^7.15.0",
"glob": "^7.1.6",
"mocha": "^8.1.3",
"ts-loader": "^8.0.11",
"typeof-jsonc": "^1.1.10",
"typescript": "^4.1.2",
"vscode-test": "^1.4.1",
"webpack": "^5.10.0",
"webpack-cli": "^4.2.0"
}
}