-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
112 lines (107 loc) · 2.67 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
{
"publisher": "SbokyZahodi",
"name": "fsd-slices",
"displayName": "FSD Slices Generator",
"version": "0.3.0",
"private": false,
"packageManager": "yarn@3.5.0",
"description": "Fast way to create slices",
"author": "Denis Dmitriev <https://github.com/SbokyZahodi>",
"license": "MIT",
"homepage": "https://github.com/SbokyZahodi/fsd-slices",
"repository": {
"type": "git",
"url": "https://github.com/SbokyZahodi/fsd-slices"
},
"categories": [
"Other"
],
"main": "./dist/index.js",
"icon": "res/icon.jpg",
"files": [
"dist"
],
"engines": {
"vscode": "^1.89.0"
},
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"commands": [
{
"command": "extension.GenerateSegment",
"title": "FSD - Generate Segment"
},
{
"command": "extension.GenerateSlice",
"title": "FSD - Generate Slice"
}
],
"menus": {
"explorer/context": [
{
"command": "extension.GenerateSlice",
"when": "explorerResourceIsFolder",
"group": "2_workspace"
},
{
"command": "extension.GenerateSegment",
"when": "explorerResourceIsFolder",
"group": "2_workspace"
}
]
},
"configuration": {
"properties": {
"fsd-slices.template": {
"type": "string",
"default": "react",
"enum": ["vue", "react", "svelte", "minimal"],
"description": "Select template"
},
"fsd-slices.exclude": {
"type": "string",
"default": "",
"description": "Folders that excluded by default"
},
"fsd-slices.configurable": {
"type": "boolean",
"default": "true",
"description": "Ask me what to include in the slice"
},
"fsd-slices.typescript": {
"type": "boolean",
"default": "true",
"description": "Use typescript"
}
}
}
},
"scripts": {
"build": "tsup src/index.ts --external vscode",
"dev": "nr build --watch",
"lint": "eslint .",
"vscode:prepublish": "nr build",
"publish": "vsce publish --no-dependencies",
"pack": "vsce package",
"test": "vitest",
"typecheck": "tsc --noEmit",
"release": "bumpp && nr publish"
},
"devDependencies": {
"@antfu/eslint-config": "^2.20.0",
"@antfu/ni": "^0.21.12",
"@types/node": "^20.14.2",
"@types/vscode": "^1.89.0",
"@vscode/vsce": "^2.27.0",
"bumpp": "^9.4.1",
"eslint": "^9.4.0",
"esno": "^4.7.0",
"rimraf": "^5.0.7",
"tsup": "^8.1.0",
"typescript": "^5.4.5",
"vite": "^5.2.12",
"vitest": "^1.6.0"
}
}