Valetudo/backend/package.json

76 lines
3.0 KiB
JSON

{
"name": "valetudo-backend",
"description": "Self-contained control webinterface for vacuum robots",
"main": "index.js",
"bin": "index.js",
"license": "Apache-2.0",
"engines": {
"node": ">=16"
},
"pkg": {
"assets": [
"../.git/HEAD",
"../.git/refs/heads/master",
"../frontend/build",
"../package.json",
"../node_modules/swagger-ui-dist/swagger-ui.css",
"./node_modules/swagger-ui-dist/swagger-ui.css"
]
},
"scripts": {
"start": "node index.js",
"start:dev": "cross-env VALETUDO_CONFIG_PATH=../local/valetudo_config.json npm run start",
"lint": "eslint -c .automated.eslintrc.json .",
"lint_fix": "eslint -c .automated.eslintrc.json . --fix",
"lint_pedantic": "eslint -c .pedantic.eslintrc.json .",
"ts-check": "tsc --noEmit",
"test": "mocha \"test/**/*_spec.js\"",
"prepare_commit": "npm run lint_fix && npm run ts-check && npm run test",
"build": "npm run build_armv7 && npm run build_aarch64 && npm run build_armv7_lowmem",
"build_armv7": "cross-env PKG_CACHE_PATH=../build_dependencies/pkg pkg --targets node20-linuxstatic-armv7 --compress Brotli --no-bytecode --public-packages \"*\" --options \"expose-gc,max-heap-size=42\" . --output ../build/armv7/valetudo",
"build_aarch64": "cross-env PKG_CACHE_PATH=../build_dependencies/pkg pkg --targets node20-linuxstatic-arm64 --compress Brotli --no-bytecode --public-packages \"*\" --options \"expose-gc,max-heap-size=64\" . --output ../build/aarch64/valetudo",
"build_armv7_lowmem": "cross-env PKG_CACHE_PATH=../build_dependencies/pkg pkg --targets node20-linuxstatic-armv7 --compress Brotli --no-bytecode --public-packages \"*\" --options \"expose-gc,max-heap-size=34,optimize-for-size,lite-mode,no-regexp-tier-up,no-expose-wasm\" . --output ../build/armv7/valetudo-lowmem"
},
"author": "",
"dependencies": {
"@destinationstransfers/ntp": "2.0.0",
"ajv": "8.12.0",
"async-mqtt": "2.6.3",
"axios": "0.27.2",
"bonjour-service": "1.1.1",
"compression": "1.7.4",
"crc": "4.3.2",
"express": "4.18.2",
"express-basic-auth": "1.2.1",
"express-dynamic-middleware": "1.0.0",
"express-list-endpoints": "6.0.0",
"express-rate-limit": "7.1.5",
"hashlru": "git+https://npm@github.com/Hypfer/hashlru#3.0.0",
"is-in-subnet": "4.0.1",
"jstoxml": "3.2.10",
"mqtt": "5.5.5",
"nested-object-assign": "1.0.4",
"nested-property": "4.0.0",
"openapi-validator-middleware": "3.2.6",
"semaphore": "1.1.0",
"swagger-ui-express": "5.0.0",
"uuid": "9.0.1",
"zoo-ids": "2.0.7"
},
"devDependencies": {
"@types/compression": "1.7.5",
"@types/express": "4.17.21",
"@types/express-list-endpoints": "6.0.3",
"@types/jstoxml": "2.0.4",
"@types/mocha": "10.0.6",
"@types/node": "18.15.3",
"@types/node-ssdp": "4.0.4",
"@types/semaphore": "1.1.4",
"@types/uuid": "9.0.7",
"cross-env": "7.0.3",
"mocha": "10.2.0",
"@yao-pkg/pkg": "5.11.0",
"should": "13.2.3"
}
}