forked from swellaby/vscode-rust-test-adapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
136 lines (136 loc) · 4.53 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
{
"name": "vscode-rust-test-adapter",
"displayName": "Rust Test Explorer",
"description": "View and run your Rust tests in the Sidebar of Visual Studio Code",
"version": "0.11.0",
"license": "MIT",
"preview": true,
"private": true,
"publisher": "Swellaby",
"icon": "images/rust3.png",
"repository": {
"type": "git",
"url": "https://github.com/swellaby/vscode-rust-test-adapter.git"
},
"author": {
"url": "http://swellaby.com",
"name": "Swellaby",
"email": "[email protected]"
},
"contributors": [
{
"email": "[email protected]",
"name": "Caleb Cartwright",
"url": "https://github.com/calebcartwright"
}
],
"bugs": {
"url": "https://github.com/swellaby/vscode-rust-test-adapter/issues/new/choose"
},
"scripts": {
"postinstall": "node ./node_modules/vscode/bin/install",
"build": "npm run coverage:enforce && npm run lint:build",
"clean:vsix": "rimraf .vsix",
"clean:test": "rimraf .testresults .coverage",
"clean:test:unit": "rimraf .testresults/unit .coverage/unit",
"clean:js": "rimraf {test,src}/**/*.{js,map}",
"clean": "npm run clean:test && npm run clean:js && clean:vsix",
"pretranspile": "npm run clean:js",
"transpile": "tsc",
"tslint": "tslint -p tsconfig.json -t stylish src/**/*.ts test/**/*.ts",
"eslint:build": "eslint \"**/*.js\"",
"eslint": "npm run eslint:build",
"preeslint": "npm run transpile",
"lint": "npm run tslint && npm run eslint",
"lint:build": "npm run tslint && npm run eslint:build",
"test": "npm run test:unit",
"pretest:unit": "npm run transpile && npm run clean:test:unit",
"test:unit": "mocha --config test/unit/.mocharc.yml",
"posttest:unit": "replace-in-file --isRegex true \"/(.js)/g\" .ts .testresults/unit/sonar.xml",
"coverage": "npm run coverage:unit",
"coverage:enforce": "npm run coverage:unit:enforce",
"coverage:open": "npm run coverage:unit:open",
"coverage:unit": "nyc --report-dir .coverage/unit --check-coverage false npm run test:unit",
"coverage:unit:enforce": "nyc --report-dir .coverage/unit npm run test:unit",
"coverage:unit:open": "npm run coverage:unit && opn .coverage/unit/index.html",
"package:vsix": "vsce package -o .vsix/$npm_package_name-$npm_package_version.vsix",
"prepackage:vsix": "mkdirp .vsix",
"package:vsix:windows": "vsce package -o .vsix/%npm_package_name%-%npm_package_version%.vsix",
"prepackage:vsix:windows": "mkdirp .vsix",
"publish:vsix": "vsce publish --packagePath .vsix/$npm_package_name-$npm_package_version.vsix",
"publish:vsix:windows": "vsce publish --packagePath .vsix/%npm_package_name%-%npm_package_version%.vsix",
"publish:ext": "vsce publish patch",
"vsce:login": "vsce login swellaby",
"vsce": "vsce",
"dev:reset": "npm run clean && node -e \"require('rimraf').sync('node_modules');\" && npm run dev:setup",
"dev:setup": "npm i && npm run build"
},
"categories": [
"Other"
],
"keywords": [
"test",
"testing",
"rust",
"rustlang",
"test adapter",
"test explorer"
],
"main": "src/main.js",
"dependencies": {
"tslib": "^1.10.0",
"vscode-test-adapter-api": "^1.7.0",
"vscode-test-adapter-util": "^0.7.0"
},
"devDependencies": {
"@swellaby/eslint-config": "^2.0.0",
"@swellaby/nyc-config": "^2.0.0",
"@swellaby/tslint-config": "^3.0.0",
"@types/chai": "^4.2.0",
"@types/mocha": "^5.2.7",
"@types/node": "^12.7.1",
"@types/sinon": "^7.0.13",
"chai": "^4.2.0",
"eslint": "^6.5.1",
"husky": "^3.0.8",
"mocha": "^6.2.1",
"mocha-multi-reporters": "^1.1.7",
"mocha-sonarqube-reporter": "^1.0.1",
"nyc": "^15.0.0",
"opn-cli": "^4.1.0",
"replace-in-file": "^5.0.0",
"rimraf": "^3.0.0",
"sinon": "^8.0.0",
"tslint": "^5.18.0",
"typescript": "^3.5.3",
"vsce": "^1.64.0",
"vscode": "^1.1.34"
},
"engines": {
"vscode": "^1.21.0"
},
"extensionDependencies": [
"hbenl.vscode-test-explorer"
],
"activationEvents": [
"*"
],
"contributes": {
"configuration": {
"type": "object",
"title": "Rust Test Explorer configuration",
"properties": {
"rustTestExplorer.rootCargoManifestFilePath": {
"description": "The root Cargo.toml manifest file for the workspace",
"type": "string",
"scope": "resource"
},
"rustTestExplorer.logpanel": {
"description": "Enable logging to the VS Code panel",
"type": "boolean",
"default": true
}
}
}
}
}