From c4f5e7d2d5b206eb483d1f11b77a4bd46ace2a3b Mon Sep 17 00:00:00 2001 From: Aditya <60684641+0x0elliot@users.noreply.github.com> Date: Thu, 22 Jan 2026 20:33:22 +0530 Subject: [PATCH] chore: adding package.json --- frontend/package.json | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 229e5635..462f4249 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -24,7 +24,6 @@ "class-transformer": "^0.5.1", "codemirror": "^6.0.1", "cpx": "^1.5.0", - "create-react-app": "^5.0.1", "cytoscape": "^3.29.2", "cytoscape-bubblesets": "^4.1.0", "cytoscape-clipboard": "^2.2.1", @@ -76,7 +75,6 @@ "react-powerhooks": "^0.0.7", "react-router": "^6.14.1", "react-router-dom": "^6.14.1", - "react-scripts": "^5.0.1", "react-social-icons": "^5.15.0", "react-toastify": "^9.1.3", "reaviz": "^14.9.7", @@ -90,22 +88,18 @@ "shellwords": "^1.0.1", "simplebar": "^4.2.3", "styled-components": "^4.4.1", - "terser-webpack-plugin": "^4.2.3", + "uuid": "^13.0.0", "yaml": "^1.10.0", "yamljs": "^0.3.0", "zone.js": "^0.15.1" }, "scripts": { - "start": "HTTPS=false&&PORT=3000 GENERATE_SOURCEMAP=false react-scripts --openssl-legacy-provider start", - "build": "react-scripts build", - "test": "react-scripts test", - "eject": "react-scripts eject", + "start": "vite", + "build": "vite build", + "preview": "vite preview", "lint": "eslint 'src/**/*.{tsx,ts,js,jsx}'", "lint_file": "eslint 'src/views/AngularWorkflow.jsx'" }, - "eslintConfig": { - "extends": "react-app" - }, "browserslist": [ ">0.2%", "not dead", @@ -118,15 +112,15 @@ "@babel/plugin-proposal-export-default-from": "^7.22.5", "@babel/preset-flow": "^7.22.5", "@babel/preset-react": "^7.22.5", + "@vitejs/plugin-react": "^4.2.1", "babel-loader": "^8.0.5", "babel-plugin-css-modules-transform": "^1.6.2", "babel-plugin-react-css-modules": "^5.2.6", "babel-plugin-transform-imports": "^2.0.0", - "babel-preset-env": "^1.7.0", - "babel-preset-es2015": "^6.24.1", "postcss": "^8.4.38", "promise-window": "^1.2.1", "selenium-webdriver": "^4.29.0", + "vite": "^5.4.2", "webpack-cli": "^5.1.4" } }