-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add CodeSandbox tasks configuration for project setup and devel…
…opment
- Loading branch information
1 parent
518b4d3
commit 7796dee
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
} |