Upgraded to vite
This commit is contained in:
parent
d46be86f68
commit
70d8644ead
8 changed files with 541 additions and 24739 deletions
|
@ -16,14 +16,14 @@
|
|||
"scripts": {
|
||||
"build:all": "npm run build:react && npm run export:executor",
|
||||
"build:bin:executor": "caxa -m \"Unpacking, please wait...\" -i dist/bundles/ -o bin/executor -- \"{{caxa}}/node_modules/.bin/node\" \"{{caxa}}/qualiteer-executor.js\"",
|
||||
"build:react": "react-scripts build",
|
||||
"build:react": "vite build",
|
||||
"export:executor": "npm run pack:executor && npm run build:bin:executor",
|
||||
"pack:executor": "rollup -c",
|
||||
"start": "node dist/app.js",
|
||||
"start:dev": "nodemon dist/app.js",
|
||||
"start:dev:replit": "npm run start:dev & npm run start:react:replit",
|
||||
"start:react": "react-scripts start",
|
||||
"start:react:replit": "CHOKIDAR_USEPOLLING=true CHOKIDAR_INTERVAL=8000 DANGEROUSLY_DISABLE_HOST_CHECK=true node node_modules/.bin/react-scripts start",
|
||||
"start:react": "vite preview",
|
||||
"start:react:replit": "vite --host",
|
||||
"test": "node tests/index.js",
|
||||
"test:api": "node tests/api.js",
|
||||
"test:dev": "nodemon tests/index.js"
|
||||
|
@ -68,7 +68,8 @@
|
|||
"nodemon": "^2.0.15",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"react-scripts": "^5.0.1",
|
||||
"@vitejs/plugin-react": "1.1.1",
|
||||
"vite": "2.7.0",
|
||||
"readline-sync": "^1.4.10",
|
||||
"rollup": "^2.72.0",
|
||||
"rollup-plugin-terser": "^7.0.2"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue