-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 3.54 KB
/
package.json
File metadata and controls
97 lines (97 loc) · 3.54 KB
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
{
"name": "snakemake-lang",
"displayName": "Snakemake Language",
"icon": "logo-snake.png",
"description": "Basic syntax, language, and snippet support for Snakefiles (Snakemake workflow definition files)",
"version": "0.8.1",
"publisher": "snakemake",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/snakemake/snakemake-lang-vscode-plugin"
},
"bugs": {
"url": "https://github.com/snakemake/snakemake-lang-vscode-plugin/issues"
},
"engines": {
"vscode": "^1.75.0",
"node": ">=18"
},
"categories": [
"Programming Languages"
],
"contributes": {
"configurationDefaults": {
"files.watcherExclude": {
"**/.snakemake/**": true
},
"search.exclude": {
"**/.snakemake/**": true
}
},
"languages": [
{
"id": "snakemake",
"aliases": [
"Snakemake",
"snakemake"
],
"filenames": [
"Snakefile"
],
"extensions": [
".smk",
".Snakefile"
],
"configuration": "./languages/snakemake.json",
"icon": {
"light": "./logo-snake.png",
"dark": "./logo-snake.png"
}
}
],
"grammars": [
{
"language": "snakemake",
"scopeName": "source.python.snakemake",
"path": "./syntaxes/snakemake.tmLanguage.json"
},
{
"scopeName": "source.python.snakemake.keywords",
"injectTo": [
"source.python.snakemake"
],
"path": "./syntaxes/snakemake-inject.tmLanguage.json"
}
],
"snippets": [
{
"language": "snakemake",
"path": "./snippets/snakemake.json"
}
]
},
"devDependencies": {
"@types/node": "^14 || ^16 || ^18",
"@types/vscode": "^1.53.0",
"esbuild": "^0.25.2",
"js-yaml": "^3.13.1",
"mustache": "^3.1.0"
},
"main": "dist/extension.js",
"scripts": {
"clean": "rm -rf dist syntaxes languages snippets out",
"regex_build": "mkdir -p syntaxes && node src/js/build_regex.js src/keywords.yaml syntaxes/keywords-regex.json",
"syntax_build": "npm run regex_build && npx mustache syntaxes/keywords-regex.json src/yaml/snakemake.syntax.yaml | npx js-yaml > syntaxes/snakemake.tmLanguage.json",
"syntax_inject_build": "npm run regex_build && npx mustache syntaxes/keywords-regex.json src/yaml/snakemake-inject.syntax.yaml | npx js-yaml > syntaxes/snakemake-inject.tmLanguage.json",
"language_build": "mkdir -p languages && npx js-yaml src/yaml/snakemake.language.yaml > languages/snakemake.json",
"snippets_build": "mkdir -p snippets && npx js-yaml src/yaml/snakemake.snippets.yaml > snippets/snakemake.json",
"js_build": "node build.mjs",
"build": "npm run syntax_build && npm run syntax_inject_build && npm run language_build && npm run snippets_build && npm run js_build",
"watch": "tsc --watch",
"package": "vsce package",
"prepublish": "npm run build",
"publish": "vsce publish",
"test:unit": "node build-test.mjs && node --test dist/test/snakemake-manager.test.js"
}
}