-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
68 lines (68 loc) · 2.13 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
{
"publisher": "guestline",
"name": "react-i18next-translation-on-hover",
"displayName": "React i18next translation on hover",
"description": "Hover on translation key and see it's value",
"repository": "https://github.com/guestlinelabs/react-i18next-translations",
"version": "0.0.1",
"engines": {
"vscode": "^1.83.0"
},
"categories": [
"Other"
],
"contributes": {
"configuration": {
"title": "React i18next translation on hover",
"properties": {
"reacti18nextTranslationOnHover.defaultLocale": {
"type": "string",
"default": "en-GB",
"description": "Default locale of translations. It's a name of .json file."
},
"reacti18nextTranslationOnHover.translationFoldersPaths": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"translations",
"public/translations",
"public/locales"
],
"description": "Paths to translations folders related to root of your react project. You can provide multiple. Extension will try to find the nearest folder related to current working directory."
}
}
}
},
"main": "./dist/extension.js",
"activationEvents": [
"onLanguage"
],
"scripts": {
"vscode:prepublish": "npm 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": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/mocha": "^10.0.2",
"@types/node": "18.x",
"@types/vscode": "^1.83.0",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"@vscode/test-electron": "^2.3.4",
"eslint": "^8.50.0",
"glob": "^10.3.10",
"mocha": "^10.2.0",
"ts-loader": "^9.4.4",
"typescript": "^5.2.2",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4"
}
}