-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 3.32 KB
/
package.json
File metadata and controls
104 lines (104 loc) · 3.32 KB
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
{
"name": "jdm-plugin-template",
"type": "module",
"version": "1.0.0",
"description": "A starter template for building jdm-cli plugins",
"main": "./lib/index.js",
"scripts": {
"test": "echo \"No tests yet\""
},
"dependencies": {
"chalk": "^5.3.0",
"ora": "^9.4.0",
"string-width": "^8.2.0",
"strip-ansi": "^7.2.0"
},
"keywords": [
"jdm",
"plugin",
"template"
],
"author": "JDM-Github",
"license": "MIT",
"jdmPlugin": {
"namespace": "plugin-template",
"description": "Your plugin description goes here",
"commands": [
{
"name": "create",
"description": "Scaffold a new project",
"fields": [
{
"key": "name",
"label": "Project Name",
"flag": "--name",
"type": "text",
"placeholder": "my-project",
"required": true
},
{
"key": "install",
"label": "Install Dependencies",
"flag": "--install",
"type": "boolean",
"default": false
}
]
},
{
"name": "dev",
"description": "Start development environment",
"fields": []
},
{
"name": "build",
"description": "Compile / package the project",
"fields": [
{
"key": "frontend",
"label": "Build Frontend",
"flag": "--frontend",
"type": "boolean",
"default": false,
"description": "Build only the frontend"
},
{
"key": "backend",
"label": "Build Backend",
"flag": "--backend",
"type": "boolean",
"default": false,
"description": "Build only the backend"
},
{
"key": "full",
"label": "Full Build",
"flag": "--full",
"type": "boolean",
"default": false,
"description": "Build everything (frontend + backend)"
}
]
},
{
"name": "clean",
"description": "Remove build artifacts",
"fields": [
{
"key": "dry",
"label": "Dry Run",
"flag": "--dry",
"type": "boolean",
"default": false,
"description": "Preview what would be deleted without deleting"
}
]
},
{
"name": "install",
"description": "Install dependencies",
"fields": []
}
]
}
}