-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
135 lines (135 loc) · 4.49 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
{
"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.1",
"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": {
"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 && open-cli .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": [
"Testing"
],
"keywords": [
"test",
"testing",
"rust",
"rustlang",
"test adapter",
"test explorer"
],
"main": "src/main.js",
"dependencies": {
"tslib": "^2.4.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": "^3.0.12",
"@swellaby/tslint-config": "^3.0.1",
"@types/chai": "^4.3.4",
"@types/mocha": "^9.1.0",
"@types/node": "^20.4.9",
"@types/sinon": "^10.0.13",
"@types/vscode": "^1.34.0",
"chai": "^4.3.7",
"eslint": "^8.48.0",
"husky": "^4.2.5",
"mocha": "^10.0.0",
"mocha-multi-reporters": "^1.1.7",
"mocha-sonarqube-reporter": "^1.0.1",
"nyc": "^15.1.0",
"open-cli": "^7.1.0",
"replace-in-file": "^6.3.5",
"rimraf": "^3.0.2",
"sinon": "^14.0.1",
"tslint": "^6.1.3",
"typescript": "^4.9.5",
"vsce": "^2.11.0"
},
"engines": {
"vscode": "^1.34.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
}
}
}
}
}