Skip to content

Commit

Permalink
feat: add CodeSandbox tasks configuration for project setup and devel…
Browse files Browse the repository at this point in the history
…opment
  • Loading branch information
NumberOneBot committed Jan 19, 2025
1 parent 518b4d3 commit 7796dee
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .codesandbox/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
// These tasks will run in order when initializing your CodeSandbox project.
"setupTasks": [
{
"name": "Install Dependencies",
"command": "npm install"
}
],

// These tasks can be run from CodeSandbox. Running one will open a log in the app.
"tasks": {
"dev": {
"name": "dev",
"command": "npm run dev",
"runAtStart": true,
"preview": {
"port": 3003
}
},
"build": {
"name": "build",
"command": "npm run build",
"runAtStart": false
},
"preview": {
"name": "preview",
"command": "npm run preview",
"runAtStart": false
},
"deploy": {
"name": "deploy",
"command": "npm run deploy",
"runAtStart": false
},
"lint": {
"name": "lint",
"command": "npm run lint",
"runAtStart": false
},
"lint:fix": {
"name": "lint:fix",
"command": "npm run lint:fix",
"runAtStart": false
}
}
}

0 comments on commit 7796dee

Please sign in to comment.