22 lines
1.3 KiB
JSON
22 lines
1.3 KiB
JSON
{
|
|
"name": "playlet-app",
|
|
"version": "0.21.1",
|
|
"description": "Unofficial YouTube client for Roku",
|
|
"scripts": {
|
|
"prebuild": "rm -rf build/playlet-app",
|
|
"prebuild:dev": "npm run prebuild",
|
|
"prebuild:prod": "npm run prebuild",
|
|
"build:dev": "bsc --create-package --debug --sourceMap=true --lintConfig ../config/bslint.jsonc",
|
|
"build:prod": "bsc --create-package --sourceMap=false --lintConfig ../config/bslint.jsonc",
|
|
"postbuild:prod": "mkdir -p ../release && cp ../dist/playlet-app.zip ../release/playlet.zip",
|
|
"lint": "bslint --project bsconfig.lint.json --lintConfig ../config/bslint.jsonc",
|
|
"lint:fix": "npm run lint -- --fix",
|
|
"format:base": "bsfmt \"src/**/*.brs\" \"src/**/*.bs\" \"!**/bslib.brs\" \"!**/roku_modules/**/*\" \"!**/*.transpiled/**\" \"!**/*.transpiled.*\" --bsfmt-path ../config/bsfmt.jsonc",
|
|
"format": "npm run format:base -- --check",
|
|
"format:fix": "npm run format:base -- --write",
|
|
"test": "npm run test:build && npm run test:run",
|
|
"test:build": "bsc --project bsconfig.tests.json --create-package --sourceMap=true --debug --test-mode --lintConfig ../config/bslint.jsonc",
|
|
"test:run": "node ../tools/run-test-app.js --package ../build/playlet-app-tests.zip"
|
|
}
|
|
}
|