-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
71 lines (71 loc) · 1.89 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
{
"name": "syntax",
"version": "0.7.1",
"description": "HashiCorp TextMate grammar files",
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/hashicorp/syntax.git"
},
"author": "HashiCorp",
"license": "MPL-2.0",
"bugs": {
"url": "https://github.com/hashicorp/syntax/issues"
},
"homepage": "https://github.com/hashicorp/syntax#readme",
"contributes": {
"languages": [
{
"id": "hcl",
"extensions": [
".hcl"
]
},
{
"id": "terraform",
"extensions": [
".tf",
".tfvars"
]
},
{
"id": "sentinel",
"extensions": [
".sentinel"
]
}
],
"grammars": [
{
"language": "hcl",
"scopeName": "source.hcl",
"path": "syntaxes/hcl.tmGrammar.json"
},
{
"language": "terraform",
"scopeName": "source.hcl.terraform",
"path": "syntaxes/terraform.tmGrammar.json"
},
{
"language": "sentinel",
"scopeName": "source.sentinel",
"path": "syntaxes/sentinel.tmGrammar.json"
}
]
},
"scripts": {
"check": "prettier --check .",
"format": "prettier --write .",
"build": "go run ./cmd/builder build",
"test": "npm run test:snap",
"test:snap": "npm run test:snap:hcl && npm run test:snap:sentinel && npm run test:snap:terraform",
"test:snap:update": "npm run test:snap:hcl -- -u && npm run test:snap:sentinel -- -u && npm run test:snap:terraform -- -u",
"test:snap:hcl": "npx vscode-tmgrammar-snap \"tests/snapshot/hcl/*.hcl\"",
"test:snap:sentinel": "npx vscode-tmgrammar-snap \"tests/snapshot/sentinel/*.sentinel\"",
"test:snap:terraform": "npx vscode-tmgrammar-snap \"tests/snapshot/terraform/*.tf\""
},
"devDependencies": {
"prettier": "^3.3.3",
"vscode-tmgrammar-test": "^0.1.1"
}
}