mirror of
https://github.com/JosunLP/BrowserExtensionTemplate.git
synced 2025-10-14 16:10:10 +00:00

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
65 lines
No EOL
2.1 KiB
JSON
65 lines
No EOL
2.1 KiB
JSON
{
|
|
"name": "browser_extension_template",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"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",
|
|
"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",
|
|
"typescript": "^5.8.3",
|
|
"vite": "^7.0.4",
|
|
"vite-tsconfig-paths": "^4.3.2"
|
|
},
|
|
"browserslist": [
|
|
"> 1%",
|
|
"last 2 versions",
|
|
"not dead"
|
|
],
|
|
"authors": [
|
|
{
|
|
"name": "Jonas Pfalzgraf",
|
|
"email": "info@josunlp.de"
|
|
}
|
|
],
|
|
"description": "A basic template based on SASS and TypeScript to create browser extensions without directly relying on a larger framework.",
|
|
"homepage": "https://github.com/JosunLP/BrowserExtensionTemplate",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+ssh://git@github.com:JosunLP/BrowserExtensionTemplate.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/JosunLP/BrowserExtensionTemplate/issues"
|
|
},
|
|
"dependencies": {
|
|
"@webcomponents/custom-elements": "^1.6.0",
|
|
"bootstrap": "^5.3.3"
|
|
}
|
|
} |