Skip to content

Commit ce9d2a7

Browse files
authored
Merge pull request #2013 from db-ux-design-system/feat-codesandbox-added-tasks
feat(codesandbox): added tasks
2 parents 38fb0d4 + 0649833 commit ce9d2a7

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
// These tasks will run in order when initializing your CodeSandbox project.
3+
"setupTasks": [
4+
{
5+
"name": "Install Dependencies",
6+
"command": "npm ci"
7+
}
8+
],
9+
10+
// These tasks can be run from CodeSandbox. Running one will open a log in the app.
11+
"tasks": {
12+
"start": {
13+
"name": "start",
14+
"command": "npm run start",
15+
"runAtStart": true,
16+
"preview": {
17+
"port": 4200
18+
}
19+
},
20+
"build": {
21+
"name": "build",
22+
"command": "ng build",
23+
"runAtStart": false
24+
},
25+
"test": {
26+
"name": "test",
27+
"command": "ng test",
28+
"runAtStart": false
29+
},
30+
"help": {
31+
"name": "help",
32+
"command": "ng help",
33+
"runAtStart": false
34+
},
35+
"install": {
36+
"name": "install dependencies",
37+
"command": "npm ci"
38+
}
39+
}
40+
}

0 commit comments

Comments
 (0)