43 lines
1.7 KiB
JSON
43 lines
1.7 KiB
JSON
{
|
|
"name": "playlet",
|
|
"version": "0.4.0",
|
|
"description": "Unofficial Youtube client for Roku",
|
|
"dependencies": {
|
|
"bslib": "npm:@rokucommunity/bslib@^0.1.1",
|
|
"log": "npm:roku-log@^0.8.0",
|
|
"roku-promise": "^0.2.1",
|
|
"roku-requests": "^0.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@rokucommunity/bslint": "^0.7.5",
|
|
"brighterscript": "^0.60.6",
|
|
"brighterscript-formatter": "^1.6.19",
|
|
"convert-svg-to-png": "^0.6.4",
|
|
"roku-log-bsc-plugin": "^0.6.1",
|
|
"ropm": "^0.10.10",
|
|
"semver": "^7.3.8"
|
|
},
|
|
"ropm": {
|
|
"rootDir": "src",
|
|
"noprefix": [
|
|
"roku-promise",
|
|
"roku-requests"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"prebuild": "rm -rf dist",
|
|
"build": "bsc",
|
|
"build:prod": "npm run build -- --sourceMap=false",
|
|
"build:release": "npm run format:fix && npm run lint:fix && npm run manifest-version && npm run generate-images && npm run build:prod && npm run zip-package",
|
|
"lint": "bslint --project config/bsconfig.lint.json --lintConfig config/bslint.jsonc",
|
|
"lint:fix": "npm run lint -- --fix",
|
|
"format:base": "bsfmt \"src/**/*.brs\" \"src/**/*.bs\" \"!src/components/lib/**/*\" \"!src/source/lib/**/*\" \"!**/bslib.brs\" \"!**/roku_modules/**/*\" --bsfmt-path \"config/bsfmt.jsonc\"",
|
|
"format": "npm run format:base -- --check",
|
|
"format:fix": "npm run format:base -- --write",
|
|
"generate-images": "node scripts/generate-images.js",
|
|
"manifest-version": "node scripts/update-manifest-version.js",
|
|
"zip-package": "node scripts/zip-package.js",
|
|
"postinstall": "npx ropm copy"
|
|
}
|
|
}
|