Skip to content

Commit 5f5e8aa

Browse files
Create tasks.json
1 parent 7044405 commit 5f5e8aa

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

.codesandbox/tasks.json

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

0 commit comments

Comments
 (0)