-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
102 lines (102 loc) · 2.7 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
{
"name": "karma-problem-matcher",
"displayName": "Karma Problem Matcher",
"description": "Capture errors from Karma tests running in Visual Studio Code",
"version": "1.0.1",
"license": "MIT",
"publisher": "rctay",
"repository": {
"type": "git",
"url": "https://github.com/rctay/vscode-karma-problem-matcher"
},
"icon": "images/karma-logo.png",
"engines": {
"vscode": "^1.29.0"
},
"categories": [
"Programming Languages"
],
"contributes": {
"problemMatchers": [
{
"name": "karma-jasmine2",
"owner": "typescript",
"severity": "error",
"pattern": [
{
"regexp": "\\s+(Expected .*)",
"message": 1
},
{
"regexp": "[^\\(]*\\(http://[^:]+:\\d+/(.*)\\?:(\\d+):(\\d+)\\)",
"file": 1,
"line": 2,
"column": 3
}
],
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "(^\\s+\\d+%\\s+(compiling|building))|(Executed \\d+)"
},
"endsPattern": {
"regexp": "^TOTAL: \\d+"
}
}
},
{
"name": "karma-jasmine3",
"owner": "typescript",
"severity": "error",
"pattern": [
{
"regexp": "\\s+(Expected .*)",
"message": 1
},
{
"regexp": "^\\s+at <Jasmine>$"
},
{
"regexp": "[^\\(]*\\(http://[^:]+:\\d+/(.*)\\?:(\\d+):(\\d+)\\)",
"file": 1,
"line": 2,
"column": 3
}
],
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "(^\\s+\\d+%\\s+(compiling|building))|(Executed \\d+)"
},
"endsPattern": {
"regexp": "^TOTAL: \\d+"
}
}
}
]
},
"scripts": {
"compile": "tsc -p .",
"watch": "tsc -watch -p ./",
"test": "npm run test:only",
"test:only": "TS_NODE_FILES=true npx mocha --require ts-node/register --require test/helpers/patternSeq test/**/*.test.ts",
"test:js": "cd build && npx mocha --require test/helpers/patternSeq test/**/*.test.js",
"check": "tslint --project ./tsconfig.json",
"prepare": "npm run compile",
"pretest": "npm run compile",
"posttest": "npm run check"
},
"devDependencies": {
"@types/chai": "^4.1.7",
"@types/mocha": "^2.2.42",
"@types/node": "^8.10.25",
"chai": "^4.2.0",
"mocha": "^5.2.0",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"tslint-microsoft-contrib": "^6.0.0",
"tslint-no-unused-expression-chai": "^0.1.4",
"typescript": "~3.1.0"
},
"dependencies": {}
}