diff --git a/package.json b/package.json index 0c05845..1de2f4c 100644 --- a/package.json +++ b/package.json @@ -10,11 +10,15 @@ "dev": "vite", "build": "vite build", "prebuild": "rimraf dist", + "serve": "vite preview", "prettier:check": "npx prettier --check .", "prettier:format": "npx prettier --write .", "prepare": "husky" }, "dependencies": { + "vite-plugin-env-compatible": "^2.0.1", + "@vitejs/plugin-react": "^4.3.1", + "vite": "^5.4.2", "@fortawesome/fontawesome-svg-core": "^1.2.35", "@fortawesome/free-solid-svg-icons": "^5.15.3", "@fortawesome/react-fontawesome": "^0.1.14", @@ -22,7 +26,6 @@ "@kbss-cvut/s-forms": "^0.7.2-beta-6cfd5af.0", "@tippyjs/react": "^4.2.5", "@triply/yasgui": "^4.2.14", - "@webpack-cli/serve": "^2.0.5", "bootstrap": "^4.5.3", "cytoscape": "^3.30.2", "cytoscape-compound-drag-and-drop": "^1.1.0", @@ -47,40 +50,16 @@ "react-spring": "^8.0.27", "react-treebeard": "^3.2.4", "semantic-ui-react": "^2.1.5", - "superagent": "^6.1.0", - "vite": "^5.4.2", - "vite-plugin-env-compatible": "^2.0.1", - "vite-plugin-node-polyfills": "^0.22.0", - "websocket": "^1.0.34" + "superagent": "^6.1.0" }, "devDependencies": { - "@babel/core": "^7.9.0", - "@babel/plugin-proposal-class-properties": "^7.8.3", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/preset-env": "^7.9.5", - "@babel/preset-react": "^7.9.4", - "@vitejs/plugin-react": "^4.3.1", "autoprefixer": "^9.7.6", - "babel-loader": "^8.1.0", "chalk": "^4.0.0", - "cross-env": "^7.0.2", - "css-loader": "^3.5.1", - "cssnano": "^4.1.10", "flow-bin": "^0.142.0", - "html-webpack-plugin": "^4.0.4", "husky": "^9.1.4", "lint-staged": "^15.2.9", - "mini-css-extract-plugin": "^2.9.0", - "postcss-loader": "^3.0.0", - "postcss-preset-env": "^6.7.0", "prettier": "^3.3.3", - "rimraf": "^3.0.2", - "style-loader": "^1.1.3", - "webpack": "^5.93.0", - "webpack-bundle-analyzer": "^4.9.0", - "webpack-cli": "^5.1.4", - "webpack-dev-server": "^4.15.1", - "webpack-merge": "^4.2.2" + "rimraf": "^3.0.2" }, "lint-staged": { "**/*": "prettier --write --ignore-unknown"