-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 4 KB
/
package.json
File metadata and controls
111 lines (111 loc) · 4 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
{
"name": "fluttereasylocalization",
"displayName": "Flutter EasyLocalization",
"description": "Helps to extract strings into localization files, generate the keys and replaces the string with the localization key.",
"version": "1.4.2",
"icon": "resources/icon.png",
"engines": {
"vscode": "^1.84.2"
},
"categories": [
"Formatters"
],
"repository": {
"type": "git",
"url": "https://github.com/iOSonntag/vscode-flutter-easylocalization.git"
},
"activationEvents": [
"onLanguage:dart"
],
"main": "./dist/extension.js",
"keywords": [],
"author": {
"name": "iOSonntag",
"url": "https://iOSonntag.com"
},
"publisher": "iOSonntag",
"homepage": "https://iOSonntag.com",
"contributes": {
"commands": [
{
"command": "fluttereasylocalization.extractToTranslationForFile",
"title": "EasyLocalization: Extract translation for this file"
},
{
"command": "fluttereasylocalization.extractToTranslationForGeneral",
"title": "EasyLocalization: Extract translation as general purpose string"
},
{
"command": "fluttereasylocalization.regenerateTranslationKeys",
"title": "EasyLocalization: Regenerate all keys from translation files"
}
],
"configuration": {
"title": "Flutter EasyLocalization",
"properties": {
"fluttereasylocalization.translationDir": {
"type": "string",
"default": "assets/translations",
"description": "The directory where the translation files are stored relative to the flutter project."
},
"fluttereasylocalization.generalTranslationPrefix": {
"type": "string",
"default": "general_",
"description": "The prefix for general purpose translations. It is used to distinguish between general purpose translations and file specific translations."
},
"fluttereasylocalization.sortKeysAlphabetically": {
"type": "boolean",
"default": true,
"description": "Wether or not to sort the keys alphabetically in the translation files. This applies after each new generfation of translation entries."
},
"fluttereasylocalization.generatedKeyFileDir": {
"type": "string",
"default": "lib/generated",
"description": "This is the directory where the generated key file is stored. It is relative to the flutter project."
},
"fluttereasylocalization.generatedKeyFileName": {
"type": "string",
"default": "locale_keys.g.dart",
"description": "This is the name of the generated key file for flutter. It is recommended to add 'lib/**/*.g.dart' as an analyzer exclude in the analysis_options.yaml file."
}
}
}
},
"scripts": {
"vscode:prepublish": "pnpm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "pnpm run compile-tests && pnpm run compile && pnpm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"semantic-release": "semantic-release",
"prepare": "husky install",
"commitlint": "commitlint --edit",
"deploy": "pnpm vsce publish --no-dependencies"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/mocha": "^10.0.3",
"@types/node": "18.x",
"@types/vscode": "^1.84.0",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"@vscode/test-electron": "^2.3.6",
"@vscode/vsce": "^2.22.0",
"commitlint": "^17.7.1",
"eslint": "^8.52.0",
"glob": "^10.3.10",
"husky": "^8.0.3",
"mocha": "^10.2.0",
"semantic-release": "^22.0.4",
"ts-loader": "^9.5.0",
"typescript": "^5.2.2",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
}
}