forked from adamviola/parquet-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
99 lines (99 loc) · 3.71 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
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "flat-file-explorer",
"displayName": "Flat File Explorer",
"description": "Explore Parquet and CSV files with DuckDB SQL",
"version": "2.1.0",
"publisher": "DeflateAwning",
"icon": "icon.png",
"private": true,
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/DeflateAwning/flat-file-explorer"
},
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Flat File Explorer",
"properties": {
"flat-file-explorer.defaultQuery": {
"type": "string",
"editPresentation": "multilineText",
"default": "SELECT * FROM ${tableName}",
"markdownDescription": "Use `${tableName}` to include the table name of the Parquet file."
},
"flat-file-explorer.tableName": {
"type": "string",
"default": "data",
"markdownDescription": "SQL table name associated with the Parquet file. May be overridden by `#flat-file-explorer.useFileNameAsTableName#`."
},
"flat-file-explorer.useFileNameAsTableName": {
"type": "boolean",
"default": false,
"markdownDescription": "Whether the file name is used as the SQL table name of the Parquet file. Overrides `#flat-file-explorer.tableName#`."
},
"flat-file-explorer.chunkSize": {
"type": "integer",
"default": 100,
"minimum": 30,
"markdownDescription": "Number of query results to fetch per request."
},
"flat-file-explorer.autoQuery": {
"type": "boolean",
"default": false,
"markdownDescription": "Automatically dispatch queries as the input changes. If false, queries are only dispatched on Ctrl + Enter."
}
}
},
"customEditors": [
{
"viewType": "flatFileExplorer.explorer",
"displayName": "Flat File Explorer",
"selector": [
{
"filenamePattern": "*.parquet"
},
{
"filenamePattern": "*.parq"
},
{
"filenamePattern": "*.pq"
},
{
"filenamePattern": "*.csv"
}
],
"priority": "default"
}
]
},
"scripts": {
"vscode:prepublish": "rm -rf ./out; mkdir ./out ./out/binding/; cp ./node_modules/duckdb/lib/binding/duckdb.node ./out/binding/; esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --external:nock --external:aws-sdk --external:mock-aws-s3 --format=cjs --platform=node --minify",
"compile": "tsc -p ./",
"watch": "tsc -w -p ./",
"lint": "eslint \"src/**/*.ts\""
},
"devDependencies": {
"@types/node": "^16.18.34",
"@types/vscode": "^1.73.0",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"esbuild": "^0.18.17",
"eslint": "^8.26.0"
},
"dependencies": {
"duckdb": "~1.2.0"
},
"binary": {
"module_name": "duckdb",
"module_path": "./out/binding/",
"host": "https://duckdb-node.s3.amazonaws.com"
}
}