-
Notifications
You must be signed in to change notification settings - Fork 56
/
package.json
144 lines (144 loc) · 4.09 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "infracost",
"displayName": "Infracost",
"description": "Cloud cost estimates for Terraform in your editor",
"version": "0.2.32",
"publisher": "Infracost",
"license": "Apache-2.0",
"icon": "infracost-logo.png",
"engines": {
"vscode": "^1.67.0"
},
"categories": [
"Other",
"Formatters",
"Linters"
],
"keywords": [
"devops",
"terraform",
"hcl"
],
"extensionDependencies": [],
"repository": {
"type": "git",
"url": "https://github.com/infracost/vscode-infracost.git"
},
"activationEvents": [
"workspaceContains:**/*.tf"
],
"main": "./dist/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "infracost-projects",
"title": "Infracost",
"icon": "media/infracost.svg"
}
]
},
"views": {
"infracost-projects": [
{
"id": "infracostActivate",
"name": "Activate",
"when": "!infracost:active"
},
{
"id": "infracostAuth",
"name": "Authenticate",
"when": "infracost:active && !infracost:loggedIn"
},
{
"id": "infracostProjects",
"name": "Projects overview",
"icon": "media/infracost.svg",
"contextualTitle": "Infracost Projects",
"when": "infracost:active && infracost:loggedIn"
}
]
},
"viewsWelcome": [
{
"view": "infracostAuth",
"contents": "Welcome to Infracost for Visual Studio Code.🚀🚀🚀 \nLet's start by connecting VSCode with your Infracost Cloud account:\n[Connect VSCode to Infracost](command:infracost.login 'Connect with Infracost')",
"when": "infracost:active && !infracost:loggedIn"
},
{
"view": "infracostActivate",
"contents": "Open in a Terraform directory or workspace to activate Infracost for Visual Studio Code.",
"when": "!infracost:active"
}
],
"commands": [
{
"command": "infracost.resourceBreakdown",
"title": "Show all the cost components for a given resource."
},
{
"command": "infracost.login",
"title": "Login to an Infracost Cloud account."
},
{
"command": "infracost.refresh",
"title": "Refresh",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
}
],
"menus": {
"view/title": [
{
"command": "infracost.refresh",
"when": "view == infracostProjects",
"group": "navigation"
}
],
"view/item/context": []
}
},
"scripts": {
"vscode:package": "vsce package --yarn",
"vscode:prepublish": "npm run download:artifacts && yarn package",
"download:artifacts": "./scripts/download.sh",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"lint": "eslint src --ext ts,js --ignore-path .eslintignore --ignore-path .gitignore . --max-warnings=0",
"lint:fix": "eslint src --fix --ext ts,js --ignore-path .eslintignore --ignore-path .gitignore . ",
"format": "prettier --write 'src/**/*.{js,ts}'",
"format:check": "prettier --check 'src/**/*.{js,ts}'"
},
"devDependencies": {
"@types/glob": "^8.0.1",
"@types/js-yaml": "^4.0.5",
"@types/mocha": "^10.0.1",
"@types/node": "18.x",
"@types/vscode": "^1.67.0",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.1",
"@vscode/test-electron": "^2.1.3",
"esbuild": "^0.17.18",
"eslint": "^8.40.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"file-loader": "^6.2.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"prettier": "^2.8.8",
"ts-loader": "^9.4.2",
"typescript": "^5.0.4",
"vsce": "^2.9.2",
"webpack": "^5.77.0",
"webpack-cli": "^5.0.2"
},
"dependencies": {
"handlebars": "^4.7.7",
"js-yaml": "^4.1.0"
}
}