Skip to content

Commit

Permalink
updated codesandbox tasks.json (#85)
Browse files Browse the repository at this point in the history
test for codesandbox tasks settings
  • Loading branch information
BillTallitsch authored Oct 2, 2024
2 parents c8c909b + 7ebe89f commit 82feba9
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion .codesandbox/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}

0 comments on commit 82feba9

Please sign in to comment.