-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
131 lines (131 loc) · 3.61 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
{
"name": "growthbook",
"displayName": "GrowthBook",
"description": "View your project's GrowthBook features right from Visual Studio Code",
"icon": "growthbook-vsce-icon.png",
"repository": "https://github.com/growthbook/growthbook-vsce",
"publisher": "GrowthBook",
"version": "0.0.3",
"license": "MIT",
"engines": {
"vscode": "^1.71.0"
},
"categories": [
"Data Science",
"Other"
],
"activationEvents": [
"onView:growthbook.featuresList",
"onCommand:growthbook.refreshFeatures"
],
"main": "./out/extension.js",
"contributes": {
"menus": {
"view/title": [
{
"command": "growthbook.refreshFeatures",
"when": "view == growthbook.featuresList",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "growthbook.copyFeatureKey",
"when": "true",
"group": "inline"
},
{
"command": "growthbook.editFeature",
"when": "true",
"group": "inline"
}
]
},
"viewsWelcome": [
{
"view": "growthbook.featuresList",
"contents": "Add a .growthbook.json file or some features to get started. [Learn more](https://docs.growthbook.io/app/features)\n[Add Configuration](command:growthbook.createConfig)"
}
],
"views": {
"explorer": [
{
"id": "growthbook.featuresList",
"name": "Features"
}
]
},
"commands": [
{
"command": "growthbook.refreshFeatures",
"title": "GrowthBook: Refresh Features",
"icon": {
"light": "resources/ic_refresh.png",
"dark": "resources/ic_refresh.png"
}
},
{
"command": "growthbook.createConfig",
"title": "GrowthBook: Create a .growthbook.json configuration file"
},
{
"command": "growthbook.copyFeatureKey",
"title": "Copy feature key",
"icon": {
"light": "resources/ic_copy_light.png",
"dark": "resources/ic_copy_dark.png"
}
},
{
"command": "growthbook.editFeature",
"title": "Open feature in browser",
"icon": {
"light": "resources/ic_pencil_light.png",
"dark": "resources/ic_pencil_dark.png"
}
}
]
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"build": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint:fix": "yarn lint --fix",
"lint": "eslint src --ext ts --cache --cache-strategy content",
"package": "rm *.vsix || true && vsce package",
"lint:ci": "yarn lint -- --max-warnings 0",
"coverage": "open coverage/index.html",
"test": "jest --config jest.config.js",
"prepare": "husky install"
},
"devDependencies": {
"@babel/core": "^7.19.3",
"@babel/preset-env": "^7.19.3",
"@babel/preset-typescript": "^7.18.6",
"@types/glob": "^8.0.0",
"@types/jest": "^29.1.2",
"@types/node": "16.x",
"@types/vscode": "^1.71.0",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"@vscode/test-electron": "^2.1.5",
"babel-jest": "^29.1.2",
"eslint": "^8.24.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.5.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"glob": "^8.0.3",
"husky": "^8.0.1",
"jest": "^29.1.2",
"prettier": "^2.7.1",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"typescript": "^4.8.4",
"vsce": "^2.11.0"
},
"dependencies": {
"axios": "^0.21.1"
}
}