-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 1.48 KB
/
package.json
File metadata and controls
49 lines (49 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"name": "@rfranzoi/scrypted-mqtt-securitysystem",
"version": "1.0.99",
"description": "Scrypted plugin: Paradox Security System via MQTT (PAI/PAI-MQTT style).",
"license": "MIT",
"main": "dist/main.nodejs.js",
"type": "commonjs",
"scripts": {
"build": "rm -rf dist && scrypted-webpack --target node || true && node -e \"const fs=require('fs'),path=require('path');const cand=['dist/main.nodejs.js','out/main.nodejs.js','main.nodejs.js'];const dest='dist/main.nodejs.js';const src=cand.find(f=>fs.existsSync(f));if(!src){console.error('main.nodejs.js non trovato (dist/out/root).');process.exit(1);}fs.mkdirSync(path.dirname(dest),{recursive:true});if(src!==dest)fs.copyFileSync(src,dest);\" && (cd dist && rm -f plugin.zip && zip -q -r plugin.zip main.nodejs.js)",
"prepublishOnly": "npm run build && test -f dist/plugin.zip"
},
"dependencies": {
"@scrypted/sdk": "^0.5.0",
"mqtt": "^5.3.5"
},
"devDependencies": {
"@types/node": "^20.0.0"
},
"files": [
"dist/plugin.zip",
"README.md",
"package.json"
],
"keywords": [
"scrypted",
"plugin",
"mqtt",
"paradox",
"paradox-alarm",
"security",
"security-system",
"alarm",
"home-alarm",
"home-security",
"paradox-mqtt",
"mqtt-security"
],
"scrypted": {
"name": "Paradox MQTT SecuritySystem",
"type": "Device",
"interfaces": [
"SecuritySystem",
"Settings",
"TamperSensor",
"Online",
"DeviceProvider"
]
}
}