1 | {
|
2 | // See https://go.microsoft.com/fwlink/?LinkId=733558
|
3 | // for the documentation about the tasks.json format
|
4 | "version": "2.0.0",
|
5 | "tasks": [
|
6 | {
|
7 | "label": "stateful - Convert to stateful component",
|
8 | "type": "shell",
|
9 | "command": "creuna stateful ${file}",
|
10 | "presentation": {
|
11 | "echo": true,
|
12 | "reveal": "always",
|
13 | "focus": true,
|
14 | "panel": "shared"
|
15 | },
|
16 | "problemMatcher": []
|
17 | },
|
18 | {
|
19 | "label": "stateless - Convert to stateless component",
|
20 | "type": "shell",
|
21 | "command": "creuna stateless ${file}",
|
22 | "presentation": {
|
23 | "echo": true,
|
24 | "reveal": "always",
|
25 | "focus": true,
|
26 | "panel": "shared"
|
27 | },
|
28 | "problemMatcher": []
|
29 | },
|
30 | {
|
31 | "label": "component - Create new component",
|
32 | "type": "shell",
|
33 | "command": "creuna component",
|
34 | "presentation": {
|
35 | "echo": true,
|
36 | "reveal": "always",
|
37 | "focus": true,
|
38 | "panel": "shared"
|
39 | },
|
40 | "problemMatcher": []
|
41 | },
|
42 | {
|
43 | "label": "page - Create new mockup page",
|
44 | "type": "shell",
|
45 | "command": "creuna page",
|
46 | "presentation": {
|
47 | "echo": true,
|
48 | "reveal": "always",
|
49 | "focus": true,
|
50 | "panel": "shared"
|
51 | },
|
52 | "problemMatcher": []
|
53 | },
|
54 | {
|
55 | "label": "Rename component",
|
56 | "type": "shell",
|
57 | "command": "creuna rename ${file}",
|
58 | "presentation": {
|
59 | "echo": true,
|
60 | "reveal": "always",
|
61 | "focus": true,
|
62 | "panel": "shared"
|
63 | },
|
64 | "problemMatcher": []
|
65 | }
|
66 | ]
|
67 | }
|