aboutsummaryrefslogtreecommitdiffstats
path: root/examples/with-script-in-browser/.codesandbox/tasks.json
diff options
context:
space:
mode:
authorkj_sh6042026-03-15 16:19:35 -0400
committerkj_sh6042026-03-15 16:19:35 -0400
commit225db4a7805befe009fe055fc2ef5daedd6c04f9 (patch)
treea5b0d073daabaadceb2f5c1b18640d785b5a9c71 /examples/with-script-in-browser/.codesandbox/tasks.json
parent8ff10d2bf233608b027f8503cb9c7100c9ee3f16 (diff)
refactor: examples/
Diffstat (limited to 'examples/with-script-in-browser/.codesandbox/tasks.json')
-rw-r--r--examples/with-script-in-browser/.codesandbox/tasks.json35
1 files changed, 35 insertions, 0 deletions
diff --git a/examples/with-script-in-browser/.codesandbox/tasks.json b/examples/with-script-in-browser/.codesandbox/tasks.json
new file mode 100644
index 0000000..990c21a
--- /dev/null
+++ b/examples/with-script-in-browser/.codesandbox/tasks.json
@@ -0,0 +1,35 @@
+{
+ // 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
+ },
+ "start": {
+ "name": "Start Example",
+ "command": "yarn start",
+ "runAtStart": true,
+ "preview": {
+ "port": 3001
+ }
+ },
+ "install-deps": {
+ "name": "Install Dependencies",
+ "command": "yarn install",
+ "restartOn": {
+ "files": ["yarn.lock"],
+ "branch": false,
+ "resume": false
+ }
+ }
+ }
+}