{
  "name": "@victronenergy/node-red-contrib-victron",
  "description": "Custom Node-RED Nodes for Victron Energy",
  "version": "1.7.22",
  "dependencies": {
    "dbus-native-victron": "^0.4.11",
    "dbus-victron-virtual": "^0.1.37",
    "debug": "^4.4.0",
    "lodash": "^4.18.1",
    "promise-retry": "^2.0.1"
  },
  "files": [
    "examples",
    "src",
    "resources",
    "LICENSE"
  ],
  "node-red": {
    "nodes": {
      "victron-client": "./src/nodes/config-client.js",
      "victron-event": "./src/nodes/victron-event.js",
      "victron-nodes": "./src/nodes/victron-nodes.js",
      "victron-virtual": "./src/nodes/victron-virtual.js",
      "victron-virtual-switch": "./src/nodes/victron-virtual-switch.js",
      "victron-virtual-indicator": "./src/nodes/victron-virtual-indicator.js",
      "victron-inject": "./src/nodes/victron-inject.js"
    },
    "version": ">=3.0.2"
  },
  "devDependencies": {
    "@babel/eslint-parser": "^7.29.7",
    "@rollup/plugin-commonjs": "^28.0.6",
    "@rollup/plugin-node-resolve": "^16.0.2",
    "csv-parse": "^5.6.0",
    "eslint": "^9.26.0",
    "eslint-config-google": "^0.14.0",
    "gar": "^1.0.4",
    "husky": "^9.1.7",
    "jest": "^29.7.0",
    "lint-staged": "^16.2.7",
    "mqtt": "^5.15.1",
    "rollup": "^4.61.1",
    "standard": "^17.1.2",
    "testcafe": "^3.7.4",
    "yargs": "^17.7.2"
  },
  "keywords": [
    "node-red"
  ],
  "scripts": {
    "build": "rollup -c",
    "build:test": "rollup -c rollup.test.config.mjs",
    "test": "npm run lint && npm run build && npm run build:test && npm run test:unit",
    "test:unit": "jest",
    "test:e2e": "testcafe",
    "test:coverage": "jest --coverage",
    "lint": "standard --fix src/ scripts/",
    "verify": "npm test",
    "prerelease": "npm run verify",
    "release": "git tag -d v$npm_package_version; git tag v$npm_package_version && git push --tags && git push && npm run create-release",
    "documentation": "bash -c '( sed \"/^<!--/q\" src/nodes/config-client.html && node scripts/service2doc.js -s src/services/services.json -r src/nodes/victron-nodes.html -o nodered ) | sponge src/nodes/config-client.html'",
    "wiki": "bash -c 'S=\"src/services/services.json\" R=\"src/nodes/victron-nodes.html\"; node scripts/service2doc.js -s $S -r $R -o md --page index   | sponge ../node-red-contrib-victron.wiki/Available-nodes.md && node scripts/service2doc.js -s $S -r $R -o md --page input   | sponge ../node-red-contrib-victron.wiki/Input-nodes.md && node scripts/service2doc.js -s $S -r $R -o md --page output  | sponge ../node-red-contrib-victron.wiki/Output-nodes.md && node scripts/service2doc.js -s $S -r $R -o md --page virtual | sponge ../node-red-contrib-victron.wiki/Virtual-devices.md && node scripts/service2doc.js -s $S -r $R -o md --page sidebar | sponge ../node-red-contrib-victron.wiki/_Sidebar.md'",
    "prepare": "husky || echo \"WARNING: husky not available, proceeding\""
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/victronenergy/node-red-contrib-victron"
  },
  "engines": {
    "node": ">=14.17.4"
  },
  "license": "MIT",
  "standard": {
    "env": [
      "jest"
    ]
  },
  "jest": {
    "testEnvironment": "node",
    "testMatch": [
      "**/test/**/*.test.js"
    ],
    "collectCoverage": true,
    "coverageDirectory": "coverage",
    "coverageReporters": [
      "text",
      "lcov"
    ]
  }
}
