2
0

tasks.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. // These tasks will run in order when initializing your CodeSandbox project.
  3. "setupTasks": [
  4. {
  5. "name": "Install Dependencies",
  6. "command": "yarn install"
  7. }
  8. ],
  9. // These tasks can be run from CodeSandbox. Running one will open a log in the app.
  10. "tasks": {
  11. "build": {
  12. "name": "Build",
  13. "command": "yarn build",
  14. "runAtStart": false
  15. },
  16. "fix": {
  17. "name": "Fix",
  18. "command": "yarn fix",
  19. "runAtStart": false
  20. },
  21. "prettier": {
  22. "name": "Prettify",
  23. "command": "yarn prettier",
  24. "runAtStart": false
  25. },
  26. "start": {
  27. "name": "Start Excalidraw",
  28. "command": "yarn start",
  29. "runAtStart": true,
  30. "preview": {
  31. "port": 3000
  32. }
  33. },
  34. "test": {
  35. "name": "Run Tests",
  36. "command": "yarn test",
  37. "runAtStart": false
  38. },
  39. "install-deps": {
  40. "name": "Install Dependencies",
  41. "command": "yarn install",
  42. "restartOn": {
  43. "files": ["yarn.lock"],
  44. "branch": false,
  45. "resume": false
  46. }
  47. }
  48. }
  49. }