-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 2.65 KB
/
package.json
File metadata and controls
86 lines (86 loc) · 2.65 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
{
"name": "thorvg-liveview",
"displayName": "ThorVG LiveView",
"description": "A Visual Studio Code extension that integrates ThorVG Viewer for previewing Lottie animations and SVG files directly inside the editor.",
"version": "1.0.1",
"publisher": "ThorVG",
"icon": "media/logo.png",
"repository": {
"type": "git",
"url": "https://github.com/thorvg/thorvg.vscode.git"
},
"engines": {
"vscode": "^1.67.0"
},
"categories": [
"Visualization",
"Other"
],
"keywords": [
"lottie",
"svg",
"animation",
"thorvg",
"viewer",
"preview"
],
"main": "./out/extension.js",
"browser": "./out/web/extension.js",
"extensionKind": [
"ui",
"workspace"
],
"activationEvents": [],
"contributes": {
"commands": [
{
"command": "thorvg-viewer.openThorVGViewer",
"title": "ThorVG: Open Viewer"
},
{
"command": "thorvg-viewer.openThorVGViewerWithCurrentFile",
"title": "ThorVG: Open Viewer with Current File",
"icon": {
"light": "./media/logo_black.png",
"dark": "./media/logo_white.png"
}
},
{
"command": "thorvg-viewer.openExtensionFolder",
"title": "ThorVG: Open Extension Folder"
}
],
"menus": {
"editor/title": [
{
"command": "thorvg-viewer.openThorVGViewerWithCurrentFile",
"when": "resourceExtname == .json || resourceExtname == .svg || resourceExtname == .lot || resourceExtname == .png",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile && npm run package-web",
"compile": "tsc -p ./",
"check-types:web": "tsc --noEmit -p tsconfig.web.json",
"compile:web": "npm run check-types:web && node esbuild.js",
"watch": "tsc -watch -p ./",
"watch:web": "node esbuild.js --watch",
"package-web": "npm run check-types:web && node esbuild.js --production",
"open:web": "npm run compile:web && npx @vscode/test-web --quality stable --extensionDevelopmentPath . --host localhost --port 3112 --esm",
"open:web:headless": "npm run compile:web && npx @vscode/test-web --quality stable --extensionDevelopmentPath . --host localhost --port 3112 --esm --browserType chromium --headless --verbose",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/node": "20.x",
"@types/vscode": "^1.67.0",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"esbuild": "^0.27.2",
"eslint": "^8.56.0",
"typescript": "^5.3.3"
}
}