-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
118 lines (118 loc) · 2.5 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
{
"name": "pre-commit-tasks",
"displayName": "Pre-commit Tasks",
"description": "VS Code Extension to integrate pre-commit tasks before git commit",
"publisher": "Affirm",
"license": "BSD-3-Clause",
"version": "0.2.0",
"homepage": "https://github.com/Affirm/pre-commit-tasks",
"bugs": {
"url": "https://github.com/Affirm/pre-commit-tasks"
},
"repository": {
"type": "git",
"url": "https://github.com/Affirm/pre-commit-tasks.git"
},
"keywords": [
"pre-commit"
],
"engines": {
"vscode": "^1.69.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:workbench.action.tasks.runTask",
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"taskDefinitions": [
{
"type": "pre-commit (on git stage)",
"required": [
"task"
],
"properties": {
"task": {
"type": "string",
"description": "Pre-commit hook id to run"
}
}
},
{
"type": "pre-commit (on current file)",
"required": [
"task"
],
"properties": {
"task": {
"type": "string",
"description": "Pre-commit hook id to run"
},
"file": {
"type": "string",
"description": "The file to run the hook against"
}
}
}
],
"problemMatchers": [
{
"name": "pcmatcher",
"owner": "pre-commit",
"fileLocation": [
"relative",
"${workspaceFolder}"
],
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"message": 4
}
}
],
"configuration": {
"title": "Pre-commit Tasks",
"type": "object",
"properties": {
"pre-commit-tasks.debug": {
"type": "boolean",
"description": "If true, debug information will be in an output tab",
"default": false
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/chai": "^4.3.6",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "^16.18.39",
"@types/sinon": "^10.0.16",
"@types/vscode": "^1.69.0",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@typescript-eslint/parser": "^5.30.0",
"@vscode/test-electron": "^2.1.5",
"chai": "^4.3.8",
"eslint": "^8.18.0",
"glob": "^8.0.3",
"mocha": "^10.0.0",
"sinon": "^15.2.0",
"typescript": "^4.7.4"
},
"dependencies": {
"yaml": "^2.1.1"
}
}