Added npm script for starting built code

This commit is contained in:
Dmitriy Shishkov 2021-10-14 13:50:12 +03:00
parent 3b634d591a
commit c0f75633ae
No known key found for this signature in database
GPG Key ID: 14358F96FCDD8060

View File

@ -2,14 +2,16 @@
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "vite build", "build": "vite build",
"start": "serve -s dist",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"devDependencies": { "devDependencies": {
"@emotion/react": "^11.4.1",
"@emotion/styled": "^11.3.0",
"@types/react-dom": "^17.0.9",
"serve": "^12.0.0", "serve": "^12.0.0",
"typescript": "^4.4.2", "typescript": "^4.4.2",
"vite": "^2.5.3", "vite": "^2.5.3"
"@emotion/react": "^11.4.1",
"@emotion/styled": "^11.3.0"
}, },
"dependencies": { "dependencies": {
"@mui/icons-material": "^5.0.3", "@mui/icons-material": "^5.0.3",