mirror of
https://github.com/JosunLP/BrowserExtensionTemplate.git
synced 2025-10-14 16:10:10 +00:00
feat: Implement ErrorBoundary class for global error handling
feat: Refactor Session class to use LocalStorageService for session management feat: Enhance BasicButton component with configuration options and event handling style: Update SASS variables to CSS custom properties for better theming support style: Modify app.sass to include Bootstrap with legacy import chore: Update settings.ts to handle session initialization and error notifications fix: Improve buttonType definition for better readability chore: Refactor parse.ts for cleaner file handling and keyword replacement chore: Enhance syncConfig.ts with TypeScript interfaces and async file operations chore: Update v2.ts to modify manifest.json for compatibility with manifest version 2 chore: Revise tsconfig.json for stricter type checking and improved module resolution chore: Refactor vite.config.ts for better build configuration and asset management
This commit is contained in:
parent
8f99895c88
commit
482151f980
24 changed files with 1321 additions and 418 deletions
27
package.json
27
package.json
|
@ -2,20 +2,39 @@
|
|||
"name": "browser_extension_template",
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"deploy-v3": "npx rimraf ./dist/ && npm run build-tooling && npm run sync && npm run build && node ./tools/parse.js",
|
||||
"deploy-v3": "npm run clean && npm run build-tooling && npm run sync && npm run build && npm run parse",
|
||||
"deploy-v2": "npm run deploy-v3 && node ./tools/v2.js",
|
||||
"build": "vite build",
|
||||
"build-tooling": "tsc --project ./tooling.tsconfig.json",
|
||||
"watch": "vite build --watch",
|
||||
"sync": "npm run build-tooling && node ./tools/syncConfig.js"
|
||||
"sync": "npm run build-tooling && node ./tools/syncConfig.js",
|
||||
"parse": "node ./tools/parse.js",
|
||||
"clean": "npx rimraf ./dist/",
|
||||
"dev": "npm run sync && npm run watch",
|
||||
"lint": "eslint src/**/*.ts --fix",
|
||||
"format": "prettier --write src/**/*.{ts,json}",
|
||||
"format:ts": "prettier --write src/**/*.ts",
|
||||
"format:json": "prettier --write src/**/*.json",
|
||||
"type-check": "tsc --noEmit",
|
||||
"validate": "npm run type-check && npm run lint",
|
||||
"prepare": "npm run validate && npm run build-tooling"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/eslintrc": "^3.3.1",
|
||||
"@eslint/js": "^9.30.1",
|
||||
"@types/chrome": "^0.0.268",
|
||||
"@types/node": "^20.13.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.36.0",
|
||||
"@typescript-eslint/parser": "^8.36.0",
|
||||
"@webcomponents/webcomponentsjs": "^2.8.0",
|
||||
"eslint": "^9.30.1",
|
||||
"prettier": "^3.6.2",
|
||||
"rimraf": "^5.0.10",
|
||||
"sass": "^1.77.4",
|
||||
"vite": "^5.2.12",
|
||||
"typescript": "^5.8.3",
|
||||
"vite": "^7.0.4",
|
||||
"vite-tsconfig-paths": "^4.3.2"
|
||||
},
|
||||
"browserslist": [
|
||||
|
@ -43,4 +62,4 @@
|
|||
"@webcomponents/custom-elements": "^1.6.0",
|
||||
"bootstrap": "^5.3.3"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue