Skip to content

Commit a7c917c

Browse files
committed
add vscode tasks
1 parent 0c1c8e8 commit a7c917c

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.vscode/launch.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "pwa-chrome",
9+
"request": "launch",
10+
"name": "Debug storybook",
11+
"url": "http://localhost:4400",
12+
"webRoot": "${workspaceFolder}",
13+
"preLaunchTask": "Storybook",
14+
"sourceMaps": true,
15+
"sourceMapPathOverrides": {
16+
"webpack:///*": "${webRoot}/*",
17+
"webpack:///./*": "${webRoot}/*",
18+
"webpack:///src/*": "${webRoot}/*",
19+
"webpack:///./~/*": "${webRoot}/node_modules/*"
20+
}
21+
}
22+
]
23+
}

.vscode/tasks.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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": "Storybook",
8+
"type": "shell",
9+
"command": "nx run react-sketch-canvas:storybook",
10+
"isBackground": true
11+
}
12+
]
13+
}

0 commit comments

Comments
 (0)