-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
98 lines (97 loc) · 2.26 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
{
"name": "aaronf86-syrupmode",
"publisher": "AaronF-86",
"displayName": "syrup-mode",
"description": "Syrup language support",
"icon": "icon/syruplogo.png",
"version": "0.0.3",
"repository": {
"type": "git",
"url": "https://github.com/AaronF86/VScode-syrupmode"
},
"engines": {
"vscode": "^1.95.0"
},
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"snippets": [
{
"language": "syrup",
"path": "./snippets.json"
}
],
"languages": [
{
"id": "syrup",
"aliases": [
"Syrup",
"syrup"
],
"extensions": [
".syrup"
],
"configuration": "src/language/syrup-configuration.json"
}
],
"grammars": [
{
"language": "syrup",
"scopeName": "source.syrup",
"path": "src/syntaxes/syrup.tmLanguage.json"
}
],
"commands": [
{
"command": "syrup.run",
"title": "Run Syrup File"
},
{
"command": "syrup.install",
"title": "Install Syrup"
}
],
"menus": {
"editor/title": [
{
"command": "syrup.run",
"when": "resourceExtname == .syrup",
"group": "navigation",
"icon": "media/run-icon.svg",
"title": "Run Syrup File"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run lint && npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"lint": "eslint src",
"preversion": "npm run lint",
"version": "npm run package && git add -A",
"postversion": "git push && git push --tags"
},
"devDependencies": {
"@types/node": "^22.9.0",
"@types/vscode": "^1.95.0",
"@typescript-eslint/eslint-plugin": "^8.14.0",
"@typescript-eslint/parser": "^8.14.0",
"clean-webpack-plugin": "^4.0.0",
"eslint": "^9.14.0",
"ts-loader": "^9.5.1",
"typescript": "^5.6.3",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.ts": ["eslint --fix", "prettier --write"]
}
}