generated from microsoft/vscode-python-tools-extension-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
114 lines (114 loc) · 2.84 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
{
"name": "codecarbon",
"displayName": "Codecarbon",
"description": "Estimate and track carbon emissions from your computer, quantify and analyze their impact.",
"version": "0.2.0",
"preview": true,
"pythonPackageInfo": {
"name": "Codecarbon",
"module": "codecarbon"
},
"publisher": "codecarbon",
"license": "MIT",
"homepage": "https://github.com/inimaz/vscode-extension-codecarbon",
"repository": {
"type": "git",
"url": "https://github.com/inimaz/vscode-extension-codecarbon.git"
},
"bugs": {
"url": "https://github.com/inimaz/vscode-extension-codecarbon/issues"
},
"galleryBanner": {
"color": "#1e415e",
"theme": "dark"
},
"icon": "images/logo-round.png",
"keywords": [
"python",
"codecarbon",
"carbon",
"emissions",
"environment",
"sustainability",
"climate",
"impact"
],
"engines": {
"vscode": "^1.94.0"
},
"categories": [
"Programming Languages",
"Machine Learning",
"Other",
"Data Science",
"Visualization",
"Education"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"properties": {
"codecarbon.launchOnStartup": {
"default": true,
"description": "Launch the codecarbon tracker on startup.",
"scope": "machine",
"type": "boolean"
},
"codecarbon.interpreter": {
"default": [],
"description": "When set to a path to python executable, extension will use that to launch any python subprocess.",
"scope": "resource",
"items": {
"type": "string"
},
"type": "array"
}
}
},
"commands": [
{
"title": "Start tracking emissions",
"category": "Codecarbon",
"command": "codecarbon.start"
},
{
"title": "Stop tracking emissions",
"category": "Codecarbon",
"command": "codecarbon.stop"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc && cp -r src/scripts out",
"watch": "tsc -watch",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/fs-extra": "^11.0.1",
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.12",
"@types/node": "16.x",
"@types/vscode": "1.78.0",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.9.1",
"@vscode/test-electron": "^2.3.3",
"@vscode/vsce": "^3.2.1",
"eslint": "^8.46.0",
"glob": "^10.3.10",
"jest": "^29.7.0",
"prettier": "^3.0.0",
"ts-loader": "^9.4.4",
"typescript": "^5.1.6"
},
"dependencies": {
"@vscode/python-extension": "1.0.2",
"fs-extra": "^11.1.1",
"vscode-languageclient": "^8.1.0"
}
}