From 7ebe89fe72f61505c3f5567bc7578d3726ca0a08 Mon Sep 17 00:00:00 2001 From: Bill Tallitsch Date: Wed, 2 Oct 2024 11:29:54 -0400 Subject: [PATCH] updated codesandbox tasks.json --- .codesandbox/tasks.json | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/.codesandbox/tasks.json b/.codesandbox/tasks.json index f08f45e..bd5ce35 100644 --- a/.codesandbox/tasks.json +++ b/.codesandbox/tasks.json @@ -3,5 +3,30 @@ "buildCommand": "npm run build", "node": "18", "sandboxes": ["react-ts"], - "packages": ["./"] + "packages": ["./"], + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "npm start": { + "name": "start dev server", + "command": "npm start", + "runAtStart": false, + "preview": { + "port": 3000 + } + }, + "npm test": { + "name": "run Unit Tests", + "command": "npm test", + "runAtStart": true, + "preview": { + "port": 3000 + } + }, + "npm build": { + "name": "npm build", + "command": "npm run build" + } + } } \ No newline at end of file