This repository has been archived by the owner on Dec 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
98 lines (98 loc) · 2.54 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
{
"name": "javascript-test-runner",
"displayName": "JavaScript Test Runner",
"description": "Run JavaScript tests easily using CodeLens",
"version": "1.0.0",
"publisher": "legfrey",
"engines": {
"vscode": "^1.18.0"
},
"license": "MIT",
"categories": [
"Other"
],
"keywords": [
"mocha",
"jest",
"test",
"unit"
],
"preview": true,
"repository": {
"type": "git",
"url": "https://github.com/g3offrey/javascript-test-runner"
},
"icon": "ressources/icon.png",
"main": "./out/extension",
"activationEvents": [
"*"
],
"contributes": {
"commands": [
{
"command": "javascript-test-runner.run.test",
"title": "Run Test"
}
],
"configuration": [
{
"properties": {
"javascript-test-runner.additionalArgs": {
"type": "string",
"default": "",
"description": "CLI args to pass to test runner. Example : --watch",
"scope": "resource"
},
"javascript-test-runner.envVars": {
"type": "object",
"default": {
"NODE_ENV": "test"
},
"description": "Environment variables to set before running a test.",
"scope": "resource"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc --noUnusedParameters --noUnusedLocals -p ./",
"watch": "tsc -watch --noUnusedParameters --noUnusedLocals -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test",
"lint": "tslint -c tslint.json src/**/*.ts",
"format": "prettier --write src/**/*.{ts,json} package.json",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"precommit": "lint-staged"
},
"lint-staged": {
"*.{ts,json}": [
"prettier --write",
"git add"
],
"*.{ts,}": [
"tslint -c tslint.json",
"git add"
]
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^7.0.43",
"all-contributors-cli": "^5.3.0",
"husky": "^0.14.3",
"lint-staged": "^7.2.0",
"prettier": "1.13.7",
"tslint": "^5.10.0",
"tslint-config-prettier": "^1.13.0",
"typescript": "^2.6.1",
"vscode": "^1.1.6"
},
"dependencies": {
"@babel/core": "^7.0.0-beta.54",
"@babel/parser": "^7.0.0-beta.54",
"@babel/plugin-syntax-jsx": "^7.0.0-beta.54",
"@babel/plugin-syntax-typescript": "^7.0.0-beta.54"
}
}