diff --git a/.gitignore b/.gitignore index 786253e..7a21a8d 100644 --- a/.gitignore +++ b/.gitignore @@ -688,7 +688,7 @@ FodyWeavers.xsd dist tools/syncConfig.js -tools/deploy.js +tools/parse.js tools/v2.js tools/clean.js package-lock.json diff --git a/LICENSE b/LICENSE index 0404ba7..79f09ef 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 Jonas Pfalzgraf +Copyright (c) 2024 Jonas Pfalzgraf Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/package.json b/package.json index f50e507..e209a58 100644 --- a/package.json +++ b/package.json @@ -3,25 +3,21 @@ "version": "0.0.1", "private": true, "scripts": { - "deploy-v3": "npx rimraf ./dist/ && npm run build-tooling && node ./tools/deploy.js && npm run sync && npm run build-js && npm run build-css && node ./tools/clean.js", - "deploy-v2": " npm run deploy-v3 && node ./tools/v2.js", - "build-js": "webpack --config ./webpack.config.ts && webpack --config ./webpack.config.settings.ts && webpack --config ./webpack.config.background.ts", - "build-css": "sass ./src/sass/:./dist/css/", + "deploy-v3": "npx rimraf ./dist/ && npm run build-tooling && npm run sync && npm run build && node ./tools/parse.js", + "deploy-v2": "npm run deploy-v3 && node ./tools/v2.js", + "build": "vite build", "build-tooling": "tsc --project ./tooling.tsconfig.json", "watch-ts": "tsc -w -p tsconfig.json", "watch-sass": "sass --watch ./src/sass/:./dist/css/", "sync": "npm run build-tooling && node ./tools/syncConfig.js" }, "devDependencies": { - "@types/chrome": "^0.0.206", - "@types/node": "^18.11.18", - "@webcomponents/webcomponentsjs": "^2.7.0", - "sass": "^1.39.0", - "ts-loader": "^9.4.2", - "ts-node": "^10.9.1", - "typescript": "^4.2.4", - "webpack": "^5.75.0", - "webpack-cli": "^5.0.1" + "@types/chrome": "^0.0.268", + "@types/node": "^20.13.0", + "@webcomponents/webcomponentsjs": "^2.8.0", + "sass": "^1.77.4", + "vite": "^5.2.12", + "vite-tsconfig-paths": "^4.3.2" }, "browserslist": [ "> 1%", @@ -45,7 +41,7 @@ "url": "https://github.com/JosunLP/BrowserExtensionTemplate/issues" }, "dependencies": { - "@webcomponents/custom-elements": "^1.5.1", - "bootstrap": "^5.2.3" + "@webcomponents/custom-elements": "^1.6.0", + "bootstrap": "^5.3.3" } } \ No newline at end of file diff --git a/public/manifest.json b/public/manifest.json index 2f57490..42ee42b 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -21,15 +21,6 @@ "notifications" ], "background": { - "service_worker": "js/background.js" - }, - "commands": { - "_execute_browser_action": { - "suggested_key": { - "default": "Ctrl+Shift+F", - "mac": "MacCtrl+Shift+F" - }, - "description": "Opens popup.html" - } + "service_worker": "background.js" } } \ No newline at end of file diff --git a/public/options.html b/public/options.html index 161fb1a..9456208 100644 --- a/public/options.html +++ b/public/options.html @@ -6,7 +6,6 @@ {{BET}} Options -