From 1fe6dd35d0e167d397fb0b7bc36b5e91756bf79c Mon Sep 17 00:00:00 2001 From: kj_sh604 Date: Sun, 15 Mar 2026 16:19:35 -0400 Subject: refactor: .codesandbox/ --- .codesandbox/Dockerfile | 5 +++++ .codesandbox/tasks.json | 50 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 .codesandbox/Dockerfile create mode 100644 .codesandbox/tasks.json (limited to '.codesandbox') diff --git a/.codesandbox/Dockerfile b/.codesandbox/Dockerfile new file mode 100644 index 0000000..fd5b38d --- /dev/null +++ b/.codesandbox/Dockerfile @@ -0,0 +1,5 @@ +FROM node:18-bullseye + +# Vite wants to open the browser using `open`, so we +# need to install those utils. +RUN apt update -y && apt install -y xdg-utils diff --git a/.codesandbox/tasks.json b/.codesandbox/tasks.json new file mode 100644 index 0000000..51c6e4e --- /dev/null +++ b/.codesandbox/tasks.json @@ -0,0 +1,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 + } + } + } +} -- cgit v1.2.3