pstream-extension/package.json
2025-11-14 12:12:25 -07:00

118 lines
3.9 KiB
JSON

{
"name": "@p-stream/extension",
"displayName": "P-Stream extension",
"version": "1.3.6",
"description": "Enhance your streaming experience with just one click",
"author": "P-Stream",
"scripts": {
"dev": "plasmo dev",
"build": "plasmo build",
"build:firefox": "plasmo build --target=firefox-mv3",
"package": "plasmo package",
"package:firefox": "plasmo package --target=firefox-mv3",
"lint": "eslint --ext .tsx,.ts src",
"lint:fix": "eslint --fix --ext .tsx,.ts src",
"lint:report": "eslint --ext .tsx,.ts --output-file eslint_report.json --format json src",
"preinstall": "npx -y only-allow pnpm"
},
"dependencies": {
"@plasmohq/messaging": "^0.7.2",
"@plasmohq/storage": "^1.15.0",
"react": "19.2.0",
"react-dom": "19.2.0",
"sharp": "^0.34.5"
},
"devDependencies": {
"@types/chrome": "0.1.27",
"@types/firefox-webext-browser": "^120.0.5",
"@types/node": "24.10.0",
"@types/react": "19.2.2",
"@types/react-dom": "19.2.2",
"@typescript-eslint/eslint-plugin": "^8.46.3",
"@typescript-eslint/parser": "^8.46.3",
"eslint": "^8.57.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^3.10.1",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"plasmo": "0.90.5",
"prettier": "3.6.2",
"typescript": "5.9.3"
},
"manifest": {
"permissions": [
"declarativeNetRequest",
"activeTab",
"cookies"
],
"optional_host_permissions": [
"<all_urls>"
],
"browser_specific_settings": {
"gecko": {
"id": "{e613be14-63c3-4bd9-8a4a-502c12bcf201}",
"data_collection_permissions": {
"version": 1,
"required": [
"browsingActivity",
"authenticationInfo",
"websiteContent"
],
"data_collection": [
{
"collection": "browsing_history",
"purpose": "The extension needs to know which websites the user is visiting to determine if enhanced streaming features should be enabled for whitelisted domains."
},
{
"collection": "cookies",
"purpose": "The extension accesses cookies for supported streaming websites to provide seamless streaming functionality and authentication."
},
{
"collection": "website_content",
"purpose": "The extension modifies HTTP requests and responses to enhance streaming capabilities on whitelisted sites."
}
]
}
},
"gecko_android": {
"id": "{e613be14-63c3-4bd9-8a4a-502c12bcf201}",
"data_collection_permissions": {
"version": 1,
"required": [
"browsingActivity",
"authenticationInfo",
"websiteContent"
],
"data_collection": [
{
"collection": "browsing_history",
"purpose": "The extension needs to know which websites the user is visiting to determine if enhanced streaming features should be enabled for whitelisted domains."
},
{
"collection": "cookies",
"purpose": "The extension accesses cookies for supported streaming websites to provide seamless streaming functionality and authentication."
},
{
"collection": "website_content",
"purpose": "The extension modifies HTTP requests and responses to enhance streaming capabilities on whitelisted sites."
}
]
}
}
},
"web_accessible_resources": [
{
"resources": [
"assets/active.png",
"assets/inactive.png"
],
"matches": [
"<all_urls>"
]
}
]
}
}