This repository has been archived by the owner on Dec 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
99 lines (99 loc) · 2.73 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
{
"name": "gencomp",
"description": "A vscode extension that generates a new component from the selected line(s) of code",
"version": "0.2.0",
"author": "StephenAsuncion",
"publisher": "StephenAsuncion",
"displayName": "gencomp",
"license": "MIT",
"repository": "https://github.com/stephenasuncionDEV/gencomp",
"icon": "assets/images/icon.png",
"bugs": {
"url": "https://github.com/stephenasuncionDEV/gencomp/issues"
},
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:gencomp.setOutput",
"onCommand:gencomp.generate"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "gencomp.setOutput",
"title": "GenComp: Set Output Path"
},
{
"command": "gencomp.generate",
"title": "GenComp: Generate Component"
}
],
"menus": {
"editor/context": [
{
"when": "resourceLangId =~ /javascript|typescriptreact/ && editorHasSelection || editorHasMultipleSelections",
"command": "gencomp.generate"
}
],
"explorer/context": [
{
"when": "explorerResourceIsFolder",
"command": "gencomp.setOutput"
}
]
},
"configuration": {
"type": "object",
"title": "gencomp",
"properties": {
"gencomp.outputPath": {
"type": "string",
"default": "src/components",
"scope": "window"
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn package",
"compile": "webpack",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"vsix": "vsce package",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "yarn compile-tests && yarn compile && yarn lint",
"lint": "eslint src --ext ts",
"lint:format": "prettier --check .",
"lint:staged": "yarn lint && yarn lint:format",
"test": "node ./out/test/runTest.js",
"format": "prettier --write .",
"prepare": "husky install"
},
"devDependencies": {
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.1",
"@types/node": "18.x",
"@types/prettier": "^2.7.2",
"@types/vscode": "^1.74.0",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"@vscode/test-electron": "^2.2.1",
"eslint": "^8.30.0",
"glob": "^8.0.3",
"husky": "^8.0.2",
"mocha": "^10.2.0",
"prettier": "^2.8.1",
"ts-loader": "^9.4.2",
"typescript": "^4.9.4",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"
}
}