node-red-contrib-cast
Version:
NodeRED nodes to for Chromecast and Google Home
243 lines (242 loc) • 5.2 kB
JSON
{
"name": "node-red-contrib-cast",
"version": "0.2.17",
"description": "NodeRED nodes to for Chromecast and Google Home",
"keywords": [
"node-red",
"contrib-cast",
"contrib-chromecast",
"chromecast",
"googlehome",
"cast-to-client",
"youtube",
"chromecast",
"castv2"
],
"main": "none",
"engines": {
"node": ">=8.0.0"
},
"scripts": {
"test": "camo-purge; eslint \"./**/*.js\" \"./**/*.html\"",
"lintfix": "eslint --fix \"./**/*.js\" \"./**/*.html\"",
"lint": "eslint \"./**/*.js\" \"./**/*.html\"",
"predev": "npm i -g",
"dev": "node-red -v",
"prepublishOnly": "eslint \"./**/*.js\" \"./**/*.html\"",
"snyk-protect": "snyk protect",
"prepare": "npm run snyk-protect"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Hypnos3/node-red-contrib-cast.git"
},
"author": {
"name": "Hypnos3",
"email": "hypnos3@online.de",
"url": "https://github.com/hypnos3"
},
"funding": {
"type": "PayPal",
"url": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XDPSATTXBXHCL"
},
"contributors": [
{
"name": "Stephen Keep",
"email": "stephenkeep@gmail.com",
"url": "https://github.com/stephenkeep"
},
{
"name": "Hypnos3",
"url": "https://github.com/hypnos3"
},
{
"name": "Paul-Reed",
"url": "https://github.com/Paul-Reed"
},
{
"name": "maxill1",
"url": "https://github.com/maxill1"
}
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/Hypnos3/node-red-contrib-cast/issues"
},
"homepage": "https://github.com/Hypnos3/node-red-contrib-cast#readme",
"node-red": {
"version": ">=0.19.0",
"nodes": {
"cast-to-client": "cast-to-client.js"
}
},
"dependencies": {
"castv2-client": "^1.2.0",
"google-tts-api": ">=2.0.0",
"bonjour": "^3.5.0",
"snyk": "^1.434.3"
},
"devDependencies": {
"camo-purge": "^1.0.2",
"eslint": "^7.15.0",
"eslint-plugin-html": "^6.1.1",
"eslint-plugin-jsdoc": "^30.7.8",
"eslint-plugin-json": "^2.1.2",
"eslint-plugin-node": "^11.1.0"
},
"disabledSettings": {
"plugins-disabled": [
"jsdoc"
]
},
"eslintConfig": {
"env": {
"es6": true,
"node": true,
"browser": true,
"commonjs": true,
"jquery": true
},
"plugins": [
"html"
],
"extends": "eslint:recommended",
"settings": {
"html/html-extensions": [
".html",
".htm",
".we"
],
"html/indent": "+4",
"html/report-bad-indent": "error",
"import/resolver": {
"node": {
"extensions": [
".js",
".jsx"
]
}
}
},
"globals": {
"RED": true
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"indent": [
"error",
4,
{
"SwitchCase": 1
}
],
"max-len": [
"error",
{
"code": 250,
"ignoreComments": true,
"ignoreTrailingComments": true,
"ignoreUrls": true,
"ignoreRegExpLiterals": true,
"ignoreTemplateLiterals": true
}
],
"no-eq-null": "error",
"eqeqeq": "error",
"no-else-return": "error",
"prefer-arrow-callback": "error",
"no-console": "warn",
"no-unused-vars": [
"warn",
{
"args": "after-used",
"argsIgnorePattern": "^_"
}
],
"no-unused-expressions": "warn",
"no-useless-escape": "warn",
"no-constant-condition": "off",
"no-multiple-empty-lines": [
"error",
{
"max": 2,
"maxEOF": 1
}
],
"no-var": "error",
"prefer-const": "error",
"linebreak-style": [
"warn",
"unix"
],
"brace-style": [
2,
"1tbs",
{
"allowSingleLine": true
}
],
"quotes": [
"warn",
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"semi": [
"error",
"always"
],
"comma-dangle": [
"error",
{
"arrays": "never",
"objects": "never",
"imports": "never",
"exports": "never",
"functions": "ignore"
}
],
"no-trailing-spaces": "error",
"spaced-comment": [
"warn",
"always",
{
"line": {
"markers": [
"/",
"*"
],
"exceptions": [
"-",
"+",
"*",
"#"
]
},
"block": {
"markers": [
"!"
],
"exceptions": [
"-",
"+",
"*",
"#"
],
"balanced": true
}
}
],
"eol-last": [
"error",
"never"
]
}
},
"snyk": true
}