-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
170 lines (170 loc) · 6.22 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
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
{
"activationEvents": [
"onCommand:kazoo.addKeyAndTranslation",
"onCommand:kazoo.addKeyToInterface",
"onCommand:kazoo.addTranslationToCultureFiles",
"onCommand:kazoo.intersectUntranslatedKeys",
"onCommand:kazoo.removeKeyFromInterface",
"onCommand:kazoo.removeTranslationFromCultureFiles",
"onCommand:kazoo.replaceTranslationByKey",
"onCommand:kazoo.replaceTranslationsFromFile"
],
"author": {
"name": "Brandon Scott",
"url": "https://github.com/brandongregoryscott"
},
"categories": [
"Other"
],
"contributes": {
"commands": [
{
"category": "kazoo",
"command": "kazoo.addKeyAndTranslation",
"title": "Add key to interface and translation to culture files"
},
{
"category": "kazoo",
"command": "kazoo.addKeyToInterface",
"title": "Add key to interface"
},
{
"category": "kazoo",
"command": "kazoo.addTranslationToCultureFiles",
"title": "Add translation to culture files"
},
{
"category": "kazoo",
"command": "kazoo.intersectUntranslatedKeys",
"title": "Intersect untranslated keys with English translations"
},
{
"category": "kazoo",
"command": "kazoo.removeKeyFromInterface",
"title": "Remove key from interface"
},
{
"category": "kazoo",
"command": "kazoo.removeTranslationFromCultureFiles",
"title": "Remove translation from culture files"
},
{
"category": "kazoo",
"command": "kazoo.replaceTranslationByKey",
"title": "Replace translation for a specific key"
},
{
"category": "kazoo",
"command": "kazoo.replaceTranslationsFromFile",
"title": "Replace translations from json/xlsx file"
}
],
"configuration": {
"properties": {
"kazoo.cultureFilePaths": {
"default": [
"**/cultures/*.ts"
],
"description": "Array of paths/glob patterns to culture files",
"type": "array"
},
"kazoo.cultureInterfacePath": {
"default": "**/interfaces/culture-resources.ts",
"description": "Path/glob pattern to interface defining typed i18n keys",
"type": "string"
},
"kazoo.insertionPosition": {
"default": "Loose Alphabetical",
"description": "Position to insert key/translation into file",
"enum": [
"End",
"Loose Alphabetical",
"Start",
"Strict Alphabetical"
],
"enumDescriptions": [
"Inserts key at the end of the file/object",
"Inserts key in best guess alphabetical order (Assumes file is already sorted)",
"Inserts key at the start of the file/object",
"Inserts key in alphabetical order (Performs a full sort on file - slow)"
],
"type": "string"
}
},
"title": "kazoo"
}
},
"dependencies": {
"@vitalets/google-translate-api": "5.1.0",
"anylogger": "1.0.11",
"anylogger-log4js": "0.2.0",
"lodash": "4.17.21",
"log4js": "6.3.0",
"read-excel-file": "5.1.0",
"ts-morph": "11.0.0"
},
"description": "Ease the burden of adding localized keys and strings to multiple typed culture files",
"devDependencies": {
"@types/faker": "5.5.3",
"@types/glob": "7.1.3",
"@types/lodash": "4.14.168",
"@types/mocha": "8.0.4",
"@types/shelljs": "0.8.8",
"@types/sinon": "10.0.2",
"@types/vscode": "1.54.0",
"@typescript-eslint/eslint-plugin": "4.14.1",
"@typescript-eslint/parser": "4.14.1",
"esbuild": "0.11.20",
"eslint": "7.19.0",
"faker": "5.5.3",
"glob": "7.1.6",
"mocha": "8.2.1",
"prettier": "2.2.1",
"rimraf": "3.0.2",
"shelljs": "0.8.4",
"sinon": "11.1.1",
"typescript": "4.1.3",
"upath": "2.0.1",
"vscode-test": "1.5.0"
},
"displayName": "kazoo",
"engines": {
"vscode": "^1.54.0"
},
"icon": "documentation/static/assets/banner.png",
"keywords": [
"i18n",
"l10n",
"internationalization",
"localization",
"translations",
"typescript"
],
"license": "Apache-2.0",
"main": "./dist/extension.js",
"name": "kazoo",
"publisher": "brandongregoryscott",
"repository": {
"type": "git",
"url": "https://github.com/brandongregoryscott/kazoo.git"
},
"scripts": {
"build": "npm run esbuild -- --sourcemap",
"build:dist": "npm run esbuild -- --minify",
"build:test": "tsc --pretty",
"clean": "rimraf dist tmp **/tmp/* **/*.txt **/*.log",
"deploy:docs": "cd documentation && yarn install && USE_SSH=true yarn deploy",
"esbuild": "./node_modules/esbuild/bin/esbuild src/extension.ts --bundle --outfile=dist/extension.js --platform=node --external:vscode",
"lint": "eslint src --ext ts",
"postvscode:publish": "git add -A && git commit -m \"$npm_package_version\" && git push origin main",
"prebuild": "npm run clean",
"prebuild:test": "npm run clean",
"pretest": "npm run build:test && npm run lint",
"prevscode:pack": "npm run build:dist",
"test": "node ./dist/test/runTest.js --ci",
"vscode:pack": "vsce package",
"vscode:publish": "npm run vscode:pack && vsce publish",
"watch": "npm run esbuild -- --sourcemap --watch"
},
"version": "1.0.0"
}