-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
141 lines (141 loc) · 3.32 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
{
"name": "vscode-java-tests",
"publisher": "wesleyegberto",
"icon": "images/icon-128.png",
"displayName": "Java Tests",
"description": "Extension to help write tests in Java.",
"version": "1.5.1",
"repository": {
"type": "git",
"url": "https://github.com/wesleyegberto/vscode-java-tests.git"
},
"engines": {
"vscode": "^1.47.0"
},
"categories": [
"Programming Languages",
"Snippets"
],
"activationEvents": [
"onLanguage:java",
"onCommand:java.tests.createTestClass",
"onCommand:java.tests.createNewClass"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "java.tests.createNewClass",
"title": "Java: Create new class"
},
{
"command": "java.tests.createTestClass",
"title": "Java: Create/Open Test Class"
}
],
"menus": {
"explorer/context": [
{
"command": "java.tests.createNewClass",
"group": "vscodeJavaTests@1"
},
{
"when": "resourceLangId == java",
"command": "java.tests.createTestClass",
"group": "vscodeJavaTests@1"
}
]
},
"configuration": {
"title": "Java Tests",
"properties": {
"javaTests.file.openLocation": {
"type": "string",
"default": "beside",
"enum": [
"beside",
"currentGroup"
],
"description": "Controls where test class should be opened."
},
"javaTests.template.mockConstructorParameters": {
"type": "string",
"default": "Yes",
"enum": [
"Yes",
"No"
],
"description": "Create mock for constructor's parameters"
},
"javaTests.template.createTestCaseForEachMethod": {
"type": "string",
"default": "Yes",
"enum": [
"Yes",
"No"
],
"description": "Create a test case for each method"
},
"javaTests.template.ignoreStaticMethodsInTestCase": {
"type": "string",
"default": "No",
"enum": [
"Yes",
"No"
],
"description": "Ignore static methods when creating test case"
},
"javaTests.template.junitDefaultVersion": {
"type": "string",
"default": "4",
"enum": [
"4",
"5",
"alwaysAsk"
],
"description": "JUnit version used in the project."
}
}
},
"snippets": [
{
"language": "java",
"path": "./snippets/java.json"
},
{
"language": "xml",
"path": "./snippets/xml.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm test && npm run esbuild-base -- --minify",
"esbuild-base": "rimraf out && esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"package": "vsce package",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^13.11.0",
"@types/vscode": "^1.47.0",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0",
"esbuild": "^0.14.36",
"eslint": "^6.8.0",
"glob": "^7.1.6",
"mocha": "^7.1.1",
"rimraf": "^3.0.2",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0"
},
"dependencies": {
"java-ast": "^0.3.0"
}
}