-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 2.5 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
{
"name": "umi-formatjs",
"displayName": "umi-formatjs",
"description": "extension for umi to extract i18n files",
"version": "1.2.0",
"engines": {
"vscode": "^1.70.0"
},
"categories": [
"Other"
],
"repository": "https://github.com/matrixyf/umi-formatjs",
"activationEvents": [
"onStartupFinished"
],
"publisher": "matrixyf",
"icon": "images/icon.png",
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "umi-formatjs.chooseOperation",
"title": "Choose Operation",
"icon": "./images/icon.png"
},
{
"command": "umi-formatjs.initProject",
"title": "Init Project"
},
{
"command": "umi-formatjs.extractI18n",
"title": "Extract I18n"
}
],
"menus": {
"editor/title": [
{
"command": "umi-formatjs.chooseOperation",
"group": "navigation"
}
]
},
"configuration": {
"title": "UMI Formatjs",
"properties": {
"umi-formatjs.includeFolders": {
"type": "string",
"default": "src",
"markdownDescription": "The folders that want formatjs/cli to extract from, defaut value is `src`. If you want to specific multiple foleders, concat them with `,`."
},
"umi-formatjs.countries": {
"type": "string",
"default": "en-US,id-ID,th-TH,vi-VN",
"markdownDescription": "The countries that want formatjs to support, defaut value is `en-US,id-ID,th-TH,vi-VN`. If you want to specific more countries, concat them with `,`."
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn 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": "yarn run compile-tests && yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.70.0",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "16.x",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"eslint": "^8.20.0",
"glob": "^8.0.3",
"mocha": "^10.0.0",
"typescript": "^4.7.4",
"ts-loader": "^9.3.1",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"@vscode/test-electron": "^2.1.5"
}
}