-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
70 lines (70 loc) · 1.9 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
{
"name": "shebang-language-associator",
"displayName": "Shebang Language Associator",
"description": "A tiny extension to associate shebang lines with languages",
"version": "1.4.0",
"publisher": "davidhewitt",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/davidhewitt/shebang-language-associator.git"
},
"engines": {
"vscode": "^1.29.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "Shebang Language Associator configuration",
"properties": {
"shebang.associations": {
"type": "array",
"items": {
"type": "object",
"title": "Shebang patterns to match ",
"properties": {
"pattern": {
"type": "string",
"description": "Pattern to match for the shebang content. The whole shebang is tested including the \"#!\"."
},
"language": {
"type": "string",
"description": "Language to apply to matching files."
}
}
},
"default": [
{
"pattern": "^#!/bin/bash$",
"language": "shellscript"
}
],
"description": "Shebang patterns to associate languages to."
},
"shebang.associateOnSave": {
"type": "boolean",
"default": true,
"description": "Whether to check shebang and update the file type on save."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/mocha": "^7.0.2",
"@types/node": "^14.0.9",
"typescript": "^3.9.3",
"@types/vscode": "^1.29.0"
}
}