-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
155 lines (155 loc) · 5.1 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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "node-tdd",
"displayName": "Node TDD",
"version": "0.2.4",
"description": "Ease test-driven development in Node and JavaScript",
"main": "./out/src/extension",
"repository": {
"type": "git",
"url": "https://github.com/prashaantt/node-tdd.git"
},
"bugs": {
"url": "https://github.com/prashaantt/node-tdd/issues"
},
"author": "Prashant Tiwari <[email protected]>",
"publisher": "prashaantt",
"license": "MIT",
"engines": {
"vscode": "^1.8.0"
},
"icon": "images/emojione-rocket.png",
"categories": [
"Other"
],
"keywords": [
"testing",
"node",
"javascript",
"typescript"
],
"dependencies": {
"lodash.debounce": "^4.0.8",
"tap-parser": "^6.0.1",
"tree-kill": "^1.2.0",
"tslib": "^1.8.0"
},
"devDependencies": {
"@types/mocha": "^2.2.43",
"@types/node": "^8.0.46",
"mocha": "^4.0.1",
"tslint": "^5.8.0",
"typescript": "^2.5.3",
"vscode": "^1.1.6"
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"lint": "tslint -c tslint.json './{src,test}/**/*.ts'",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test"
},
"activationEvents": [
"workspaceContains:package.json"
],
"contributes": {
"commands": [
{
"command": "nodeTdd.activate",
"title": "Node TDD: Activate"
},
{
"command": "nodeTdd.deactivate",
"title": "Node TDD: Deactivate"
},
{
"command": "nodeTdd.toggleOutput",
"title": "Node TDD: Toggle output"
},
{
"command": "nodeTdd.stopBuild",
"title": "Node TDD: Stop the current build"
}
],
"configuration": {
"title": "Node TDD configuration",
"properties": {
"nodeTdd.activateOnStartup": {
"description": "Activate TDD mode when workspace is opened",
"type": "boolean",
"default": true
},
"nodeTdd.testScript": {
"description": "The npm script to run tests",
"type": "string",
"default": "test"
},
"nodeTdd.glob": {
"description": "The glob pattern for files to watch, relative to the workspace root",
"type": "string",
"default": "{src,test}/**/*.{js,ts,jsx,tsx}"
},
"nodeTdd.reporter": {
"description": "The test reporter used",
"type": [
"string",
"null"
],
"default": null,
"enum": [
null,
"tap"
]
},
"nodeTdd.verbose": {
"description": "Show build status dialogs",
"type": [
"boolean",
"object"
],
"default": false,
"additionalProperties": false,
"properties": {
"onlyOnFailure": {
"type": "boolean"
}
}
},
"nodeTdd.minimal": {
"description": "Minimise status bar clutter",
"type": "boolean",
"default": false
},
"nodeTdd.buildOnActivation": {
"description": "Run tests when TDD mode is activated",
"type": "boolean",
"default": false
},
"nodeTdd.buildOnCreate": {
"description": "Run tests when matching files are created",
"type": "boolean",
"default": false
},
"nodeTdd.buildOnDelete": {
"description": "Run tests when matching files are deleted",
"type": "boolean",
"default": false
},
"nodeTdd.showCoverage": {
"description": "Show the average test coverage if reported (experimental)",
"type": "boolean",
"default": false
},
"nodeTdd.coverageThreshold": {
"description": "The coverage threshold percentage, used to colour-code the coverage",
"type": [
"number",
"null"
],
"default": null,
"minimum": 0,
"maximum": 100
}
}
}
}
}