-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 1.94 KB
/
package.json
File metadata and controls
67 lines (67 loc) · 1.94 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
{
"name": "next-intl-hlpr",
"displayName": "next-intl-hlpr",
"publisher": "felipestanzani",
"description": "Highlights missing translations in next-intl JSON files and shows missing languages on hover",
"version": "0.0.4",
"icon": "images/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/felipestanzani/next-intl-hlpr.git"
},
"engines": {
"vscode": "^1.79.0"
},
"categories": [
"Linters",
"Programming Languages"
],
"keywords": [
"next-intl",
"i18n",
"translations",
"json",
"typescript"
],
"activationEvents": [
"onLanguage:json"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Next Intl Helper",
"properties": {
"nextIntlHlpr.translationsFolder": {
"type": "string",
"default": "messages",
"description": "Path to the folder containing translation files (relative to workspace root). Supports single files per language (e.g., messages/en.json) or subfolders (e.g., messages/en/common.json)."
},
"nextIntlHlpr.translationsMode": {
"type": "string",
"enum": [
"auto",
"single-file",
"folder"
],
"default": "auto",
"description": "Preferred mode for translation files. 'auto' detects based on folder contents, 'single-file' expects one JSON file per language (e.g., en.json), 'folder' expects language subfolders with JSON files (e.g., en/common.json)."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint src --ext ts"
},
"devDependencies": {
"@types/node": "^16.18.39",
"@types/vscode": "^1.79.0",
"@typescript-eslint/eslint-plugin": "^6.2.0",
"@typescript-eslint/parser": "^6.2.0",
"eslint": "^8.45.0",
"typescript": "^5.8.3"
},
"dependencies": {}
}