-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
170 lines (170 loc) · 4.75 KB
/
package.json
File metadata and controls
170 lines (170 loc) · 4.75 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
{
"name": "flat",
"displayName": "Flat Editor",
"description": "An editor for flat-data configurations",
"version": "0.24.0",
"publisher": "githubocto",
"repository": {
"type": "git",
"url": "https://github.com/githubocto/flat-editor"
},
"bugs": {
"url": "https://github.com/githubocto/flat-editor/issues",
"email": "idan@github.com"
},
"engines": {
"vscode": "^1.54.0"
},
"icon": "docs/icon-transparent.png",
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:yaml",
"onCustomEditor:flat.config",
"onCommand:flat.initializeFlatYml"
],
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-typescript"
],
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-transform-runtime"
]
},
"extensionDependencies": [
"vscode.git"
],
"main": "./out/extension.js",
"contributes": {
"customEditors": [
{
"viewType": "flat.config",
"displayName": "Flat Config",
"selector": [
{
"filenamePattern": "**/.github/workflows/flat.yml"
}
],
"priority": "default"
}
],
"commands": [
{
"command": "flat.showPreview",
"title": "Show Editor",
"category": "Flat Editor",
"icon": "$(go-to-file)"
},
{
"command": "flat.showRaw",
"title": "Show Raw YAML File",
"category": "Flat Editor",
"icon": "$(go-to-file)"
},
{
"command": "flat.showPreviewToSide",
"title": "Show Editor to the Side",
"category": "Flat Editor",
"icon": "$(go-to-file)"
},
{
"command": "flat.showRawToSide",
"title": "Show Raw YAML File to the Side",
"category": "Flat Editor",
"icon": "$(go-to-file)"
},
{
"command": "flat.initializeFlatYml",
"title": "Initialize Flat YML File",
"category": "Flat Editor"
}
],
"menus": {
"editor/title": [
{
"command": "flat.showPreview",
"alt": "flat.showPreviewToSide",
"group": "navigation",
"when": "resourcePath =~ /.github/workflows/flat.yml$/ && editorLangId == yaml && activeEditor == workbench.editors.files.textFileEditor"
},
{
"command": "flat.showRaw",
"alt": "flat.showRawToSide",
"group": "navigation",
"when": "resourcePath =~ /.github/workflows/flat.yml$/ && activeEditor == WebviewEditor"
}
]
}
},
"scripts": {
"vscode:prepublish": "run-s clean compile",
"clean": "rm -rf out dist",
"compile": "run-s webpack:build webview:build",
"lint": "eslint . --ext .ts,.tsx",
"watch": "tsc -watch -p ./",
"format": "prettier --write **/*.ts",
"dev": "nodemon --watch src/webviews/ -e 'ts,tsx,css' --exec snowpack build",
"build": "TAILWIND_MODE='build' snowpack build",
"webpack:build": "webpack",
"webview:build": "TAILWIND_MODE='build' snowpack build"
},
"devDependencies": {
"@babel/core": "^7.13.14",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"@babel/preset-typescript": "^7.13.0",
"@snowpack/plugin-dotenv": "^2.0.5",
"@snowpack/plugin-postcss": "^1.2.1",
"@snowpack/plugin-typescript": "^1.2.1",
"@types/lodash-es": "^4.17.4",
"@types/node": "^12.12.0",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.2",
"@types/snowpack-env": "^2.3.3",
"@types/tailwindcss": "^2.0.2",
"@types/vscode": "^1.54.0",
"@typescript-eslint/eslint-plugin": "^4.16.0",
"@typescript-eslint/parser": "^4.16.0",
"autoprefixer": "^10.2.5",
"babel-loader": "^8.2.2",
"eslint": "^7.21.0",
"nodemon": "^2.0.7",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.5",
"prettier": "^2.2.1",
"snowpack": "^3.1.0",
"tailwindcss": "^3.0.17",
"ts-loader": "^8.1.0",
"typescript": "^4.2.2",
"webpack": "^5.30.0",
"webpack-cli": "^4.6.0"
},
"dependencies": {
"@octokit/rest": "^18.5.2",
"@radix-ui/react-dropdown-menu": "^0.0.17",
"@reach/combobox": "^0.16.5",
"@types/isomorphic-fetch": "^0.0.35",
"@vscode/codicons": "^0.0.27",
"@vscode/webview-ui-toolkit": "^0.9.0",
"cronstrue": "^1.123.0",
"fast-glob": "^3.2.5",
"git-url-parse": "^11.4.4",
"immer": "^9.0.1",
"isomorphic-fetch": "^3.0.0",
"lodash-es": "^4.17.21",
"nanoid": "^3.1.22",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-error-boundary": "^3.1.4",
"ts-debounce": "^3.0.0",
"tweetsodium": "0.0.4",
"yaml": "^2.0.0-4",
"yup": "^0.32.9",
"zod": "^3.0.0-alpha.33",
"zustand": "^3.3.3"
}
}