-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 4.05 KB
/
package.json
File metadata and controls
129 lines (129 loc) · 4.05 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "ash-studio",
"displayName": "Ash Studio",
"description": "Ash Studio enhances your workflow by enabling quick navigation between Ash sections and visualizing your Ash code with mermaid diagrams.",
"shortDescription": "Navigate and visualize Ash DSL files in VS Code.",
"publisher": "ketupia",
"version": "0.1.3",
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Programming Languages"
],
"repository": {
"type": "git",
"url": "https://github.com/ketupia/ash-studio-vscode-extension.git"
},
"bugs": {
"url": "https://github.com/ketupia/ash-studio-vscode-extension/issues"
},
"homepage": "https://github.com/ketupia/ash-studio-vscode-extension#readme",
"license": "MIT",
"icon": "ash-studio-logo.png",
"main": "./dist/src/extension.js",
"activationEvents": [
"onLanguage:elixir"
],
"contributes": {
"commands": [
{
"command": "ash-studio.gotoSection",
"title": "Go to Ash Section..."
},
{
"command": "ash-studio.revealSectionOrSubBlock",
"title": "Reveal Ash Section"
},
{
"command": "ash-studio.showDiagram",
"title": "Show Ash Diagram"
}
],
"languages": [],
"views": {
"explorer": [
{
"id": "ashSidebar",
"name": "Ash Studio",
"icon": "ash-studio-logo.png"
}
]
},
"configuration": {
"type": "object",
"title": "Ash Studio",
"properties": {
"ashStudio.logLevel": {
"type": "number",
"default": 2,
"enum": [
0,
1,
2,
3
],
"enumDescriptions": [
"Error only",
"Error + Warning",
"Error + Warning + Info",
"All logs (including Debug)"
],
"description": "Set the logging level for Ash Studio output"
},
"ashStudio.enableCodeLens": {
"type": "boolean",
"default": true,
"description": "Enable CodeLens to Generate Diagrams"
},
"ashStudio.diagramLifecycle": {
"type": "string",
"enum": [
"auto-delete",
"generate-only"
],
"default": "auto-delete",
"description": "Controls lifecycle of generated diagram files. `auto-delete` will remove generated .mmd after reading. `generate-only` will generate (if missing or outdated) but leave the file in place for inspection."
},
"ashStudio.showChildrenInOutlineAndSymbols": {
"type": "boolean",
"default": false,
"description": "Adds the children of the dsl sections to the Outline and Symbols views"
}
}
}
},
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"type-check": "tsc --noEmit",
"quality": "npm run clean && npm run type-check && npm run lint && npm run format && npm test",
"clean": "rm -rf dist",
"build": "npm run clean && tsc && npm run copy-templates",
"copy-templates": "mkdir -p dist/src/vscode/ui/templates && cp -R src/vscode/ui/templates/* dist/src/vscode/ui/templates/",
"verify-media": "node scripts/verify-media.js",
"pre-commit": "rm -f test-*.js crash-*.js *.tmp *.temp && npm run quality",
"copy-test-example_files": "mkdir -p dist/test/example_files && cp -R test/example_files/* dist/test/example_files/",
"test": "npm run build && npm run copy-test-example_files && jest --coverage"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/mocha": "^10.0.10",
"@types/node": "^20.19.9",
"@types/vscode": "^1.75.0",
"@typescript-eslint/eslint-plugin": "^8.38.0",
"@typescript-eslint/parser": "^8.38.0",
"@jest/globals": "^30.0.0",
"@vscode/vsce": "^2.15.0",
"eslint": "^9.25.1",
"globals": "^16.3.0",
"jest": "^30.0.5",
"jest-extended": "^6.0.0",
"knip": "^5.62.0",
"prettier": "^3.6.2",
"ts-jest": "^29.4.1",
"typescript": "^5.8.3"
}
}