forked from jonaraphael/csv
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 3.15 KB
/
Copy pathpackage.json
File metadata and controls
106 lines (106 loc) · 3.15 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
{
"name": "csv",
"displayName": "CSV",
"publisher": "ReprEng",
"description": "Seamlessly Display and Edit CSVs",
"icon": "images/icon.jpg",
"repository": {
"type": "git",
"url": "https://github.com/jonaraphael/csv.git"
},
"version": "1.2.2",
"engines": {
"vscode": "^1.70.0",
"node": ">=14"
},
"categories": ["Data Science", "Programming Languages", "Other"],
"activationEvents": [
"onLanguage:csv",
"onLanguage:tsv",
"onCommand:csv.toggleExtension",
"onCommand:csv.toggleHeader",
"onCommand:csv.toggleSerialIndex",
"onCommand:csv.changeSeparator",
"onCommand:csv.changeFontFamily",
"onCommand:csv.changeIgnoreRows",
"onCommand:csv.changeEncoding"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "csv",
"extensions": [".csv"],
"aliases": ["CSV", "csv"],
"configuration": "./language-configuration.json"
},
{
"id": "tsv",
"extensions": [".tsv"],
"aliases": ["TSV", "tsv"],
"configuration": "./language-configuration.json"
}
],
"commands": [
{ "command": "csv.toggleExtension", "title": "CSV: Toggle Extension On/Off" },
{ "command": "csv.toggleHeader", "title": "CSV: Toggle First Row as Header" },
{ "command": "csv.toggleSerialIndex", "title": "CSV: Toggle Serial Index Column" },
{ "command": "csv.changeSeparator", "title": "CSV: Change CSV Separator" },
{ "command": "csv.changeFontFamily", "title": "CSV: Change Font Family" },
{ "command": "csv.changeIgnoreRows", "title": "CSV: Hide First N Rows" },
{ "command": "csv.changeEncoding", "title": "CSV: Change File Encoding" }
],
"configuration": {
"type": "object",
"title": "CSV Extension Configuration",
"properties": {
"csv.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/Disable the CSV custom editor."
},
"csv.fontFamily": {
"type": "string",
"default": "",
"description": "Font family used by the CSV custom editor. Leave empty to inherit ‘editor.fontFamily’.",
"scope": "application"
},
"csv.cellPadding": {
"type": "number",
"default": 4,
"description": "Vertical padding in pixels for table cells."
}
}
},
"customEditors": [
{
"viewType": "csv.editor",
"displayName": "CSV",
"selector": [
{ "filenamePattern": "*.csv" },
{ "filenamePattern": "*.tsv" }
]
}
]
},
"scripts": {
"compile": "tsc -p ./",
"lint": "eslint '**/*.ts'",
"package": "vsce package",
"test": "npm run compile && node --test out/test/**/*.test.js"
},
"dependencies": {
"font-list": "^1.5.1",
"papaparse": "^5.5.3"
},
"devDependencies": {
"@types/node": "^20.11.19",
"@types/papaparse": "^5.3.16",
"@types/vscode": "^1.70.0",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"eslint": "^8.57.0",
"typescript": "^4.4.3",
"vscode": "^1.1.37"
}
}