-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
148 lines (148 loc) · 3.89 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
145
146
147
148
{
"name": "vscode-pwa-studio-generator",
"displayName": "PWA Studio Generator",
"description": "Tool for creating React components and enhancements for PWA Studio.",
"author": "Gabriel Lima <[email protected]>",
"publisher": "devgfnl",
"version": "1.2.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/GabrielFNLima/vscode-pwa-studio-generator.git"
},
"engines": {
"vscode": "^1.75.0"
},
"icon": "doc/dark-icon.png",
"galleryBanner": {
"color": "#004F89",
"theme": "dark"
},
"keywords": [
"Magento 2",
"PWA Studio",
"PWA"
],
"categories": [
"Other"
],
"main": "./out/extension.js",
"activationEvents": [],
"contributes": {
"configuration": [
{
"id": "configurationSamples",
"title": "Configuration Sample",
"properties": {
"devgfnl.pwaStudio.component": {
"type": "object",
"default": {},
"description": "PWA Studio Component configuration: Configure files templates",
"properties": {
"indexTemplate": {
"type": "string",
"description": "Set your custom index.js template path, this template need to have this variables: {componentNameFile}"
},
"componentTemplate": {
"type": "string",
"description": "Set your custom component.js template path, this template need to have this variables: {componentNameFile}, {componentName}"
},
"componentCssTemplate": {
"type": "string",
"description": "Set your custom component css template path"
},
"useTypescript": {
"type": "boolean",
"description": "Use Typescript",
"default": false
}
}
},
"devgfnl.pwaStudio.extension": {
"type": "object",
"default": {},
"description": "PWA Studio Component configuration: Configure files templates and some configurations",
"properties": {
"createReadme": {
"type": "boolean",
"description": "Create the example README.md",
"default": true
},
"readmeTemplate": {
"type": "string",
"description": "Set your custom README.md template path"
},
"editorconfigTemplate": {
"type": "string",
"description": "Set your custom .editorconfig template path"
},
"eslintrcTemplate": {
"type": "string",
"description": "Set your custom .eslintrc template path"
},
"gitignoreTemplate": {
"type": "string",
"description": "Set your custom .gitignore template path"
},
"jestConfigTemplate": {
"type": "string",
"description": "Set your custom .jest.config.js template path"
},
"prettierConfigTemplate": {
"type": "string",
"description": "Set your custom .prettier.config.js template path"
},
"useTypescript": {
"type": "boolean",
"description": "Use Typescript",
"default": false
}
}
}
}
}
],
"commands": [
{
"command": "extension.createExtension",
"title": "PWA Studio Generator: Create Extension"
},
{
"command": "extension.createComponent",
"title": "PWA Studio Generator: Create Component"
}
],
"menus": {
"explorer/context": [
{
"command": "extension.createExtension",
"group": "navigation"
},
{
"command": "extension.createComponent",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint \"src/**/*.ts\"",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/node": "^16.18.34",
"@types/vscode": "^1.75.0",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"eslint": "^8.26.0",
"typescript": "^5.3.2"
},
"dependencies": {
"fs": "^0.0.1-security",
"fs-extra": "^11.2.0",
"path": "^0.12.7"
}
}