35 lines
937 B
JSON
35 lines
937 B
JSON
|
{
|
||
|
"name": "vite-project",
|
||
|
"private": true,
|
||
|
"version": "0.0.0",
|
||
|
"type": "module",
|
||
|
"scripts": {
|
||
|
"start": "vite",
|
||
|
"serve": "http-server -p 3000 ./dist/",
|
||
|
"build": "vite build",
|
||
|
"rest": "json-server --watch data.json -p 8081",
|
||
|
"dev": "npm-run-all --parallel rest start",
|
||
|
"prod": "npm-run-all build --parallel serve rest"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"bootstrap": "5.3.2",
|
||
|
"react": "^18.2.0",
|
||
|
"react-dom": "^18.2.0"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@types/react": "^18.2.15",
|
||
|
"@types/react-dom": "^18.2.7",
|
||
|
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
||
|
"@typescript-eslint/parser": "^6.0.0",
|
||
|
"@vitejs/plugin-react-swc": "^3.3.2",
|
||
|
"eslint": "^8.45.0",
|
||
|
"eslint-plugin-react-hooks": "^4.6.0",
|
||
|
"eslint-plugin-react-refresh": "^0.4.3",
|
||
|
"typescript": "^5.0.2",
|
||
|
"vite": "^4.4.5",
|
||
|
"http-server": "14.1.1",
|
||
|
"json-server": "0.17.4",
|
||
|
"npm-run-all": "4.1.5"
|
||
|
}
|
||
|
}
|