-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
133 lines (133 loc) · 3.85 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
{
"name": "ackee-frontend",
"displayName": "Ackee frontend",
"description": "A set of useful snippets and commands we use at Ackee for web apps development.",
"version": "1.1.0",
"repository": "https://github.com/AckeeCZ/vscode-frontend",
"publisher": "ackee",
"license": "MIT",
"icon": "images/ackee-logo.png",
"galleryBanner": {
"color": "#000000",
"theme": "dark"
},
"sideEffect": false,
"engines": {
"vscode": "^1.62.0",
"node": "^14.16.0"
},
"categories": [
"Snippets",
"Other"
],
"source": "./src/extension.ts",
"main": "./out/extension.js",
"activationEvents": [
"onCommand:extension.createComponent",
"onCommand:extension.createFelaComponent"
],
"contributes": {
"commands": [
{
"command": "extension.createComponent",
"title": "Create component"
},
{
"command": "extension.createFelaComponent",
"title": "Create Fela component"
}
],
"menus": {
"explorer/context": [
{
"command": "extension.createComponent",
"group": "ackee"
},
{
"command": "extension.createFelaComponent",
"group": "ackee"
}
]
},
"snippets": [
{
"language": "javascript",
"path": "./snippets/javascript.json"
},
{
"language": "javascriptreact",
"path": "./snippets/javascriptreact.json"
}
],
"configuration": {
"title": "Ackee Frontend",
"properties": {
"ackeeFrontend.moduleDependencies": {
"type": "boolean",
"default": true,
"description": "If enabled it uses named imports from dependencies.js file of the module."
},
"ackeeFrontend.felaHooks": {
"type": "boolean",
"default": true,
"description": "If enabled, scaffolded components will use enhanced fela hooks instead of connect HOC."
},
"ackeeFrontend.typescript": {
"type": "boolean",
"default": false,
"description": "If enabled, scaffolded components will be in TypeScript."
},
"ackeeFrontend.typescriptFelaTheme": {
"type": "boolean",
"default": false,
"description": "If enabled, scaffolded styles of components will have `TRuleWithTheme` instead of simple `TRule` (TypeScript option must be enabled)"
},
"ackeeFrontend.typescriptFelaExtendProp": {
"type": "boolean",
"default": false,
"description": "If enabled, scaffolded interfaces of components will have `extend` prop. (TypeScript option must enabled)."
},
"ackeeFrontend.includeReactImport": {
"type": "boolean",
"default": false,
"description": "If enabled, a scaffolded component will include import of React."
},
"ackeeFrontend.useAckeeFelaPackage": {
"type": "boolean",
"default": false,
"description": "If enabled, useFelaEnhanced and related types will be imported from @ackee/fela package."
}
}
}
},
"scripts": {
"clean": "rm -rf out *.vslx",
"vscode:prepublish": "yarn build",
"build": "yarn clean && parcel build",
"watch": "parcel watch",
"check": "tsc --noEmit",
"package": "vsce package --yarn",
"test": "jest",
"version": "npx gitmoji-changelog && code --wait CHANGELOG.md && git add CHANGELOG.md"
},
"devDependencies": {
"@types/jest": "^29.2.3",
"@types/node": "^14.16.0",
"@types/shelljs": "^0.8.9",
"@types/vscode": "^1.62.0",
"jest": "^29.3.1",
"parcel": "^2.0.1",
"ts-jest": "^29.0.3",
"typescript": "^4.5.2",
"vsce": "^2.5.0"
},
"dependencies": {
"fs": "0.0.1-security",
"path": "^0.12.7",
"shelljs": "^0.8.4"
},
"resolutions": {
"yargs-parser": "^20.2.4",
"lodash": "^4.17.19"
}
}