-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 3.07 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
{
"name": "testy",
"publisher": "louprod",
"displayName": "testy",
"description": "extension to help with navigating those cumbersome tests",
"version": "0.0.1",
"engines": {
"vscode": "^1.73.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "Testy",
"properties": {
"testy.required.setCodeSourceDirectory": {
"type": "string",
"default": "",
"description": "Specifies the folder path containing the source code of your application."
},
"testy.required.setTestSourceDirectory": {
"type": "string",
"default": "",
"description": "Specifies the folder path containing the test code of your application."
},
"testy.testGeneration.setTestFileNameGenerationType": {
"type": "string",
"default": "prefix",
"enum": [
"prefix",
"suffix",
"none"
],
"enumDescriptions": [
"Adds a prefix to the start of a file name. Example: (prefix 'test_' for python tests) test_class_file.py.",
"Adds a suffix to the end of a file name. Example:(suffix 'Test' for java tests) ClassFileTest.java.",
"Does not change source file's name when generating test file into test folder."
]
},
"testy.testGeneration.setTestFileAppendText": {
"type": "string",
"default": "test_",
"markdownDescription": "Based on `#clickr.testGeneration.setTestFileNameGenerationType#`, change the appended prefix/suffix text when generating a test file based on your project's use case."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.73.0",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"@vscode/test-electron": "^2.2.0",
"eslint": "^8.28.0",
"glob": "^8.0.3",
"mocha": "^10.1.0",
"ts-loader": "^9.4.1",
"typescript": "^4.9.3",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.0"
}
}