-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 3 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
{
"publisher": "hack2root",
"name": "testfilesonsave",
"license": "MIT",
"icon": "images/checklist.png",
"displayName": "test-files-on-save",
"description": "Extension for calling test scripts on a file save",
"version": "1.0.11",
"engines": {
"vscode": "^1.80.0"
},
"repository": {
"url": "https://github.com/default-writer/filetestonsave"
},
"categories": [
"Other"
],
"keywords": [
"test",
"testing",
"automation"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"configuration": [
{
"title": "test-files-on-save",
"properties": {
"testFilesOnSave.enabled": {
"type": "boolean",
"description": "Run tests automatically when saving a file",
"default": false
},
"testFilesOnSave.testCommands": {
"type": "array",
"description": "Commands to execute tests",
"default": null,
"properties": {
"languageId": {
"type": "string"
},
"testCommand": {
"type": "string"
}
}
},
"testFilesOnSave.languageId": {
"type": "string",
"description": "Only files with this language id trigger the test command. Use 'any' to trigger independent of the language.",
"default": "any"
},
"testFilesOnSave.exitCodePass": {
"type": "string",
"description": "Exit code(s) that are considered as a passing test suite. Defaults to 0. Separate multiple exit codes by comma. You can also use ranges. Example: '0,1,2-4'",
"default": "0"
},
"testFilesOnSave.exitCodeFail": {
"type": "string",
"description": "Exit code(s) that are considered as a failing test suite. Defaults to 0-999. Separate multiple exit codes by comma. You can also use ranges. Example: '0,1,2-4'",
"default": "0-999"
},
"testFilesOnSave.exitCodeError": {
"type": "string",
"description": "Exit code(s) that are considered as errors when running the tests. Not used by default. Separate multiple exit codes by comma. You can also use ranges. Example: '0,1,2-4'",
"default": null
}
}
}
]
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.80.0",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "20.2.5",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"eslint": "^8.41.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"typescript": "^5.1.3",
"@vscode/test-electron": "^2.3.2"
}
}