Node-Red configuration
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

package.json 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "name": "@flowfuse/node-red-dashboard-2-ui-led",
  3. "version": "1.0.0",
  4. "description": "A simple LED status indicator for the Node-RED Dashboard 2.0",
  5. "keywords": [
  6. "node-red",
  7. "node-red-dashboard-2"
  8. ],
  9. "repository": {
  10. "type": "git",
  11. "url": "https://github.com/flowforge/node-red-dashboard-3rd-party.git"
  12. },
  13. "license": "Apache-2.0",
  14. "author": {
  15. "name": "Joe Pavitt",
  16. "url": "https://github.com/joepavitt"
  17. },
  18. "contributors": [],
  19. "exports": {
  20. "import": "./resources/ui-led.esm.js",
  21. "require": "./resources/ui-led.umd.js"
  22. },
  23. "files": [
  24. "dist/*",
  25. "nodes/*",
  26. "ui/*",
  27. "resources/*"
  28. ],
  29. "scripts": {
  30. "build": "vite build",
  31. "build:dev": "NODE_ENV=development vite build",
  32. "dev": "NODE_ENV=development vite build --watch",
  33. "dev:prod": "vite build --watch",
  34. "lint": "npm run lint:js && npm run lint:package",
  35. "lint:fix": "npm run lint:js:fix && npm run lint:package:fix",
  36. "lint:js": "eslint --ext .js,.vue,.cjs,.mjs .",
  37. "lint:js:fix": "yarn lint:js --fix",
  38. "lint:package": "sort-package-json --check 'package.json'",
  39. "lint:package:fix": "sort-package-json 'package.json'"
  40. },
  41. "dependencies": {
  42. "to-title-case": "^1.0.0",
  43. "vue": "^3.3.8",
  44. "vuex": "^4.1.0"
  45. },
  46. "devDependencies": {
  47. "@vitejs/plugin-vue": "^4.5.0",
  48. "eslint": "^8.53.0",
  49. "eslint-config-standard": "^17.1.0",
  50. "eslint-plugin-import": "^2.29.0",
  51. "eslint-plugin-n": "^16.3.1",
  52. "eslint-plugin-vue": "^9.18.1",
  53. "vite": "^5.0.12",
  54. "vite-plugin-css-injected-by-js": "^3.3.0"
  55. },
  56. "engines": {
  57. "node": ">=14"
  58. },
  59. "node-red": {
  60. "version": ">=3.0.0",
  61. "nodes": {
  62. "ui-led": "nodes/ui-led.js"
  63. }
  64. },
  65. "node-red-dashboard-2": {
  66. "version": "1.0.0",
  67. "widgets": {
  68. "ui-led": {
  69. "output": "ui-led.umd.js",
  70. "component": "UILed"
  71. }
  72. }
  73. }
  74. }