-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
98 lines (98 loc) · 2.48 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
{
"name": "ts-mock",
"publisher": "caomeinaixi",
"displayName": "TS Mock",
"description": "Generate mock data from interface and Generate interface from json/object/class.",
"repository": {
"type": "git",
"url": "https://github.com/981377660LMT/vscode-plugin/tree/ts-interface-mock"
},
"bugs": {
"url": "https://github.com/981377660LMT/vscode-plugin/issues",
"email": "[email protected]"
},
"icon": "icon.png",
"version": "0.0.3",
"engines": {
"vscode": "^1.57.0"
},
"keywords": [
"typescript",
"ts",
"mock",
"interface",
"json",
"util",
"types"
],
"categories": [
"Other"
],
"activationEvents": [
"onCommand:ts-mock.dataToInterface",
"onCommand:ts-mock.interfaceToData"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "ts-mock.dataToInterface",
"title": "TS Mock - Data to Interface"
},
{
"command": "ts-mock.interfaceToData",
"title": "TS Mock - Interface to Data"
}
],
"menus": {
"editor/context": [
{
"command": "ts-mock.dataToInterface",
"when": "editorFocus",
"group": "9_cutcopypaste"
},
{
"command": "ts-mock.interfaceToData",
"when": "resourceLangId == typescript || resourceLangId == typescriptreact",
"group": "9_cutcopypaste"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"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/copy-paste": "^1.1.30",
"@types/glob": "^7.1.3",
"@types/humps": "^2.0.0",
"@types/mocha": "^8.2.2",
"@types/node": "14.x",
"@types/vscode": "^1.57.0",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"eslint": "^7.27.0",
"glob": "^7.1.7",
"mocha": "^8.4.0",
"ts-loader": "^9.2.2",
"typescript": "^4.3.2",
"vscode-test": "^1.5.2",
"webpack": "^5.38.1",
"webpack-cli": "^4.7.0"
},
"dependencies": {
"copy-paste": "^1.3.0",
"humps": "^2.0.1",
"intermock": "^0.2.5",
"json-to-ts": "^1.7.0",
"typescript-parser": "^2.6.1"
}
}