-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
83 lines (83 loc) · 1.96 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
{
"name": "apache-pig-debug",
"displayName": "Apache Pig Debug",
"description": "Apache Pig Debug",
"publisher": "tolusha",
"version": "0.0.1",
"engines": {
"vscode": "^1.36.0"
},
"main": "./out/extension.js",
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile",
"test": "node ./out/test/runTest.js",
"postinstall": "rm -rf adapter && mkdir adapter && wget -O adapter/pig-debug.jar https://github.com/tolusha/pig-debug-adapter/releases/download/v0.2/pig-debug-0.2.jar"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^5.2.6",
"@types/node": "^10.12.21",
"@types/vscode": "^1.36.0",
"glob": "^7.1.4",
"mocha": "^6.1.4",
"typescript": "^3.3.1",
"tslint": "^5.12.1",
"vscode-test": "^1.0.0-next.0"
},
"activationEvents": [
"onDebug"
],
"contributes": {
"debuggers": [
{
"type": "pig-debug",
"label": "Pig debug",
"adapterExecutableCommand": "pig.adapterExecutable",
"configurationAttributes": {
"launch": {
"required": [
"program"
],
"properties": {
"program": {
"type": "string",
"description": "Absolute path to a pig file.",
"default": "${file}"
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop after launch.",
"default": true
}
}
}
},
"initialConfigurations": [
{
"type": "pig-debug",
"request": "launch",
"name": "Debugging a pig file",
"program": "${file}",
"stopOnEntry": true
}
],
"configurationSnippets": [
{
"label": "Pig Debug: Launch",
"description": "A new configuration for launching a Pig debug",
"body": {
"type": "pig-debug",
"request": "launch",
"name": "Debugging a pig file",
"stopOnEntry": true,
"program": "^\"\\${file}\""
}
}
]
}
]
}
}