-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
119 lines (119 loc) · 2.77 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "subtitles-editor",
"icon": "res/icon.png",
"displayName": "Subtitles Editor",
"description": "Edit subtitles in SRT, WebVTT, and SBV in VS Code.",
"version": "1.1.7",
"publisher": "pepri",
"license": "MIT",
"repository": "https://github.com/pepri/subtitles-editor.git",
"engines": {
"vscode": "^1.25.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:subtitles.shift",
"onCommand:subtitles.renumber",
"onCommand:subtitles.reorderBySequence",
"onCommand:subtitles.reorderByTimestamp",
"onCommand:subtitles.linearCorrection",
"onCommand:subtitles.convertTimeFormat",
"onCommand:subtitles.translate"
],
"main": "./out/extension",
"contributes": {
"languages": [
{
"id": "subtitles",
"aliases": [
"Subtitles",
"SubRip Text",
"subrip",
"Web Video Text Tracks",
"WebVTT",
"vtt",
"SubViewer",
"sub"
],
"extensions": [
".srt",
".vtt",
".sbv",
".sub"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "subtitles",
"scopeName": "source.subtitles",
"path": "./syntaxes/subtitles.tmLanguage.json"
}
],
"commands": [
{
"command": "subtitles.shift",
"title": "Subtitles: Shift"
},
{
"command": "subtitles.renumber",
"title": "Subtitles: Renumber"
},
{
"command": "subtitles.reorderBySequence",
"title": "Subtitles: Reorder by Sequence"
},
{
"command": "subtitles.reorderByTimestamp",
"title": "Subtitles: Reorder by Timestamp"
},
{
"command": "subtitles.linearCorrection",
"title": "Subtitles: Linear Correction"
},
{
"command": "subtitles.convertTimeFormat",
"title": "Subtitles: Convert Time Format"
},
{
"command": "subtitles.translate",
"title": "Subtitles: Translate"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./ && cpx \"src/**/*.json\" out",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "npm run compile && node ./out/test/runTests.js",
"package": "vsce package",
"publish": "vsce publish"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.2",
"@types/node": "^15.3.0",
"@typescript-eslint/eslint-plugin": "^4.24.0",
"@typescript-eslint/parser": "^4.24.0",
"mocha": "^8.4.0",
"glob": "^7.1.7",
"cpx2": "^3.0.0",
"eslint": "^7.26.0",
"tslint": "^6.1.3",
"typescript": "^4.2.4",
"@types/vscode": "^1.25.0",
"vscode-test": "^1.5.2",
"vsce": "^2.9.1"
},
"__metadata": {
"id": "04738eb6-00d0-4791-a5ae-09d789fa2a62",
"publisherDisplayName": "Peter Prikryl",
"publisherId": "414f75b7-db6e-4ae1-aeb8-0f12cc3a101b",
"isPreReleaseVersion": false
}
}