This repository has been archived by the owner on Sep 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
111 lines (111 loc) · 3.82 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
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "vscode-bigquery",
"displayName": "vscode-bigquery",
"description": "An extension for querying Google Cloud Platform's BigQuery analytics datasets directly from VS Code.",
"version": "0.0.1",
"publisher": "google",
"repository": {
"type": "git",
"url": "https://github.com/google/vscode-bigquery.git"
},
"homepage": "https://github.com/google/vscode-bigquery",
"engines": {
"vscode": "^1.26.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:extension.runAsQuery",
"onCommand:extension.runSelectedAsQuery",
"onCommand:extension.dryRun"
],
"main": "./out/extension",
"contributes": {
"commands": [
{
"command": "extension.runAsQuery",
"title": "BigQuery: Run as Query"
},
{
"command": "extension.runSelectedAsQuery",
"title": "BigQuery: Run selected text as Query"
},
{
"command": "extension.dryRun",
"title": "BigQuery: Run as Dry Run"
}
],
"configuration": {
"type": "object",
"title": "BigQuery extension configuration",
"properties": {
"bigquery.keyFilename": {
"type": "string",
"default": "",
"description": "Full path to the a .json, .pem, or .p12 key downloaded from the Google Developers Console. If you provide a path to a JSON file, the projectId option is not necessary. NOTE: .pem and .p12 require you to specify the email option as well."
},
"bigquery.projectId": {
"type": "string",
"default": "",
"description": "(Optional) The project ID from the Google Developer's Console, e.g. 'grape-spaceship-123'. This is NOT needed if you are provide a key in JSON format"
},
"bigquery.email": {
"type": "string",
"default": "",
"description": "(Optional) Account email address. Required when using a .pem or .p12 keyFilename."
},
"bigquery.useLegacySql": {
"type": "boolean",
"default": false,
"description": "Specifies whether to use BigQuery's legacy SQL dialect for this query. The default value is false. If set to false, the query will use BigQuery's standard SQL: https://cloud.google.com/bigquery/sql-reference/"
},
"bigquery.location": {
"type": "string",
"default": "US",
"description": "The geographic location of the job. Required except for US and EU. See details at https://cloud.google.com/bigquery/docs/dataset-locations#specifying_your_location."
},
"bigquery.maximumBytesBilled": {
"type": "integer",
"default": 1000000000000,
"description": "Queries that will have bytes billed beyond this limit will fail (without incurring a charge). If unspecified, this will be set to your project default."
},
"bigquery.outputFormat": {
"type": "string",
"default": "json",
"enum": [
"json",
"csv",
"table"
],
"description": "Controls the output format for query results."
},
"bigquery.prettyPrintJSON": {
"type": "boolean",
"default": true,
"description": "Pretty print JSON results."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^8.10.49",
"tslint": "^5.17.0",
"typescript": "^2.6.1",
"vscode": "^1.1.34"
},
"dependencies": {
"@google-cloud/bigquery": "^1.3.0",
"csv-stringify": "^4.3.1",
"easy-table": "^1.1.1",
"flat": "^4.1.0"
}
}