refactor: Replace Webpack with Vite (#53)

This commit is contained in:
Razboy20
2024-01-24 19:40:30 -06:00
committed by GitHub
parent 1629c85818
commit 0560a01a55
112 changed files with 7322 additions and 32180 deletions

View File

@@ -1,87 +1,76 @@
{
"name": "ut-registration-plus",
"version": "0.0.0",
"displayName": "UT Registration Plus",
"version": "0.0.1",
"description": "The UT Registration Plus extension is a Chrome extension that allows students to easily register for classes at The University of Texas at Austin.",
"private": true,
"homepage": "sriramhariharan.com",
"type": "module",
"scripts": {
"start": "NODE_ENV=development tsx webpack/development.ts",
"build": "NODE_ENV=production tsx webpack/production.ts",
"release": "tsx webpack/release.ts",
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"devtools": "react-devtools",
"lint": "eslint ./ --ext .ts,.tsx"
"preinstall": "npx only-allow pnpm"
},
"dependencies": {
"@types/sql.js": "^1.4.4",
"@types/sql.js": "^1.4.9",
"@vitejs/plugin-react": "^4.2.1",
"chrome-extension-toolkit": "^0.0.51",
"classnames": "^2.3.2",
"clean-webpack-plugin": "^4.0.0",
"highcharts": "^10.3.3",
"highcharts-react-official": "^3.2.0",
"highcharts": "^11.2.0",
"highcharts-react-official": "^3.2.1",
"react": "^18.2.0",
"react-devtools-core": "^5.0.0",
"react-dom": "^18.2.0",
"sass": "^1.57.1",
"sql.js": "1.8.0",
"uuid": "^9.0.0"
"sass": "^1.69.5",
"sql.js": "1.9.0",
"uuid": "^9.0.1"
},
"devDependencies": {
"@semantic-release/exec": "^6.0.3",
"@svgr/webpack": "^6.5.1",
"@types/chrome": "^0.0.204",
"@types/node": "^18.11.17",
"@types/prompts": "^2.4.2",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"@types/semver": "^7.3.13",
"@types/uuid": "^9.0.1",
"@typescript-eslint/eslint-plugin": "^5.47.0",
"@typescript-eslint/parser": "^5.47.0",
"archiver": "^5.3.1",
"case-sensitive-paths-webpack-plugin": "^2.4.0",
"chalk": "^5.2.0",
"conventional-changelog-conventionalcommits": "^5.0.0",
"copy-webpack-plugin": "^11.0.0",
"create-file-webpack": "^1.0.2",
"crypto-browserify": "^3.12.0",
"css-loader": "^6.7.3",
"@crxjs/vite-plugin": "2.0.0-beta.21",
"@types/chrome": "^0.0.254",
"@types/node": "^20.10.5",
"@types/prompts": "^2.4.9",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@types/semver": "^7.5.6",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@vitejs/plugin-react-swc": "^3.5.0",
"cssnano": "^6.0.2",
"cssnano-preset-advanced": "^6.0.2",
"dotenv": "^16.0.3",
"esbuild-loader": "^2.20.0",
"eslint": "^8.30.0",
"es-module-lexer": "^1.4.1",
"eslint": "^8.56.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsdoc": "^39.6.4",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.11",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^46.9.1",
"eslint-plugin-prettier": "^5.1.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-prefer-function-component": "^3.1.0",
"file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "^7.2.14",
"html-webpack-plugin": "^5.5.0",
"mini-css-extract-plugin": "^2.7.2",
"eslint-plugin-react-prefer-function-component": "^3.3.0",
"eslint-plugin-react-refresh": "^0.4.5",
"path": "^0.12.7",
"prettier": "^2.8.1",
"prompts": "^2.4.2",
"postcss": "^8.4.32",
"prettier": "^3.1.1",
"react-dev-utils": "^12.0.1",
"react-devtools": "^4.27.1",
"sass-loader": "^13.2.0",
"semantic-release": "^19.0.5",
"semver": "^7.3.8",
"simple-git": "^3.15.1",
"socket.io": "^4.5.4",
"socket.io-client": "^4.5.4",
"stream-browserify": "^3.0.0",
"terser-webpack-plugin": "^5.3.6",
"ts-node": "^10.9.1",
"tsconfig-paths-webpack-plugin": "^4.0.0",
"tsx": "^3.12.1",
"typescript": "^4.9.5",
"url-loader": "^4.1.1",
"webpack": "^5.75.0",
"webpack-build-notifier": "^2.3.0",
"webpack-dev-server": "^4.11.1"
"typescript": "^5.3.3",
"vite": "^5.0.10",
"vite-plugin-inspect": "^0.8.1"
},
"pnpm": {
"patchedDependencies": {
"@crxjs/vite-plugin@2.0.0-beta.21": "patches/@crxjs__vite-plugin@2.0.0-beta.21.patch"
},
"overrides": {
"es-module-lexer": "^1.4.1"
}
}
}