From 0d7bbcaa293a5b871a9fca267f6b660d0b877c7f Mon Sep 17 00:00:00 2001 From: sanlike Date: Tue, 7 Jun 2022 09:02:07 +0900 Subject: [PATCH] fix: issue #17 Node Red Fails to Start after Upgrade to 0.3.2 --- package.json | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 59c34d4..13c6e7a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "node-red-contrib-tplink-tapo-connect-api", - "version": "0.3.2", - "description": "Unofficial node-RED node for connecting to TP-Link Tapo devices. Currently limited to the P100 & P105 smart plugs and L510E smart bulbs.", + "version": "0.3.3", + "description": "Unofficial node-RED node for connecting to TP-Link Tapo devices. Currently limited to the P100 & P105 & P110 smart plugs and L510E smart bulbs.", "author": "sanlike", "license": "Apache", "keywords": [ @@ -17,11 +17,15 @@ "test": "mocha \"src/nodes/test/*_spec.js\"", "clean": "rimraf dist/*", "tsc": "tsc", - "build": "npm-run-all clean tsc && npm run build:copy-nodes && npm run build:copy-dist && npm run build:copy-package && npm run build:install-node", - "build:copy-nodes": "cpx \"./src/nodes/**/*\" \"./data/my-node/nodes\"", - "build:copy-dist": "cpx \"./dist/**/*\" \"./data/my-node/nodes\"", - "build:copy-package": "cpx \"./package.json\" \"./data/my-node\"", - "build:install-node": "npm install ./data/my-node --prefix ./data", + "build": "npm-run-all clean tsc && npm run copy && npm run install:my-node", + "copy": "npm run copy:html && npm run copy:icons && npm run copy:locales && npm run copy:dist && npm run copy:nodes && npm run copy:package", + "copy:html": "cpx \"./src/nodes/*.html\" \"./dist\"", + "copy:icons": "cpx \"./src/nodes/icons/**/*\" \"./dist/icons\"", + "copy:locales": "cpx \"./src/nodes/locales/**/*\" \"./dist/locales\"", + "copy:dist": "cpx \"./dist/**/*\" \"./data/my-node/nodes\"", + "copy:nodes": "cpx \"./dist/**/*\" \"./nodes\"", + "copy:package": "cpx \"./package.json\" \"./data/my-node\"", + "install:my-node": "npm install ./data/my-node --prefix ./data", "start": "node ./node_modules/node-red/red.js --port 1880 --userDir ./data", "start:debug": "node --inspect-brk=0.0.0.0:9229 ./node_modules/node-red/red.js --userDir ./data" }, @@ -48,9 +52,9 @@ "node-red-node-test-helper": "^0.2.7", "npm-run-all": "^4.1.5", "rimraf": "^3.0.2", - "ts-node": "^10.8.0", + "ts-node": "^10.8.1", "ts-node-dev": "^2.0.0", - "typescript": "^4.7.2" + "typescript": "^4.7.3" }, "repository": { "type": "git",