aboutsummaryrefslogtreecommitdiffstats
path: root/.codesandbox/tasks.json
blob: 51c6e4e16f77098187d2de86541f52e82c4c42fd (plain) (blame)
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
{
  // These tasks will run in order when initializing your CodeSandbox project.
  "setupTasks": [
    {
      "name": "Install Dependencies",
      "command": "yarn install"
    }
  ],

  // These tasks can be run from CodeSandbox. Running one will open a log in the app.
  "tasks": {
    "build": {
      "name": "Build",
      "command": "yarn build",
      "runAtStart": false
    },
    "fix": {
      "name": "Fix",
      "command": "yarn fix",
      "runAtStart": false
    },
    "prettier": {
      "name": "Prettify",
      "command": "yarn prettier",
      "runAtStart": false
    },
    "start": {
      "name": "Start Excalidraw",
      "command": "yarn start",
      "runAtStart": true,
      "preview": {
        "port": 3000
      }
    },
    "test": {
      "name": "Run Tests",
      "command": "yarn test",
      "runAtStart": false
    },
    "install-deps": {
      "name": "Install Dependencies",
      "command": "yarn install",
      "restartOn": {
        "files": ["yarn.lock"],
        "branch": false,
        "resume": false
      }
    }
  }
}