UserScriptProjectTemplate/header.config.json
JonasPfalzgraf 88aeab8f29 feat: Enhance UserScript structure and functionality
- Updated package.json to include new scripts for development, production builds, linting, formatting, and cleaning.
- Added ESLint and Prettier for code quality and formatting.
- Refactored main application class to extend EventEmitter and manage modules.
- Introduced ExampleModule to demonstrate module structure and functionality.
- Created utility classes for DOM manipulation, event handling, and persistent storage.
- Added TypeScript definitions for UserScript environment.
- Improved TypeScript configuration with stricter checks and path aliases.
- Updated Vite configuration to handle development and production builds more effectively.
- Enhanced user script header generation to support environment-specific configurations.
2025-07-11 17:47:22 +02:00

50 lines
1.3 KiB
JSON

{
"updateUrl": "",
"downloadUrl": "",
"supportUrl": "",
"iconUrl": "./assets/icon.png",
"environments": {
"development": {
"includes": [
"http://localhost:*/*",
"https://localhost:*/*",
"https://*.josunlp.de/*",
"https://josunlp.de/*"
],
"excludes": [],
"grants": [
"GM_setValue",
"GM_getValue",
"GM_deleteValue",
"GM_listValues",
"GM_log",
"GM_notification",
"GM_registerMenuCommand",
"GM_unregisterMenuCommand"
]
},
"production": {
"includes": [
"https://*.josunlp.de/*",
"https://josunlp.de/*"
],
"excludes": [],
"grants": [
"GM_setValue",
"GM_getValue",
"GM_deleteValue",
"GM_listValues",
"GM_registerMenuCommand"
]
}
},
"requires": [],
"resources": [],
"connecters": [],
"matches": [],
"matchAllFrames": false,
"runAt": "document-start",
"antifeatures": [],
"noframes": false,
"unwrap": false
}