Files
fx_cast/package.json
Matt Hensman ba8c28bf39 Restructure background script (#70)
Splits some background script functionality into separate modules:
 - Receiver selector handling is moved to ./SelectorManager.
 - Status bridge handling is moved to ./StatusManager.
 - Menu creation and updates are handled in ./createMenus.
 - Shim creation is handled in ./createShim.

TypedEventTarget allows EventTarget-derived classes to export typed events.

Options type definition is moved to ./lib/options, module assumes more responsibility for update handling and provides a "changed" event.

Private cast._requestSession method allows bypassing receiver selector.
2019-07-26 00:09:51 +01:00

39 lines
1.5 KiB
JSON

{
"author": "Matt Hensman <m@matt.tf>",
"homepage": "https://hensm.github.io/fx_cast",
"bugs": "https://github.com/hensm/fx_cast",
"scripts": {
"postinstall": "npm run postinstall:app && npm run postinstall:ext",
"postinstall:app": "npm install ./app --prefix ./app",
"postinstall:ext": "npm install ./ext --prefix ./ext",
"build": "npm run build:app && npm run build:ext",
"build:app": "npm run build --prefix ./app",
"build:ext": "npm run build --prefix ./ext",
"package": "npm run package:app && npm run package:ext",
"package:app": "npm run package --prefix ./app",
"package:ext": "npm run package --prefix ./ext",
"test": "node test/driver.js",
"install-manifest": "npm run install-manifest --prefix ./app",
"remove-manifest": "npm run remove-manifest --prefix ./app",
"lint": "npm run lint:app && npm run lint:ext",
"lint:app": "npm run lint --prefix ./app",
"lint:ext": "npm run lint --prefix ./ext"
},
"devDependencies": {
"@types/firefox-webext-browser": "^67.0.2",
"@types/minimist": "^1.2.0",
"@types/semver": "^5.5.0",
"@types/uuid": "^3.4.4",
"@types/ws": "^6.0.1",
"fs-extra": "^7.0.1",
"glob": "^7.1.3",
"jasmine-console-reporter": "^3.1.0",
"minimist": "^1.2.0",
"selenium-webdriver": "^4.0.0-alpha.1",
"semver": "^5.7.0",
"typescript": "^3.4.3",
"uuid": "^3.3.2",
"ws": "^6.2.1"
}
}