tasks.json 962 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. },
  31. "test": {
  32. "name": "Run Tests",
  33. "command": "yarn test",
  34. "runAtStart": false
  35. },
  36. "install-deps": {
  37. "name": "Install Dependencies",
  38. "command": "yarn install",
  39. "restartOn": { "files": ["yarn.lock"] }
  40. }
  41. }
  42. }