mirror of
https://github.com/bemble/node-red-contrib-mi-devices.git
synced 2026-03-16 17:42:44 +01:00
Fix package.json
This commit is contained in:
@@ -1,33 +0,0 @@
|
|||||||
0 info it worked if it ends with ok
|
|
||||||
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'publish' ]
|
|
||||||
2 info using npm@3.10.10
|
|
||||||
3 info using node@v6.11.0
|
|
||||||
4 verbose publish [ '.' ]
|
|
||||||
5 verbose stack Error: Failed to parse json
|
|
||||||
5 verbose stack Unexpected token 'x' at 17:8
|
|
||||||
5 verbose stack "xiaomi-configurator": "node-red-contrib-xiaomi-switch/xiaomi-configurato
|
|
||||||
5 verbose stack ^
|
|
||||||
5 verbose stack at parseError (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:390:11)
|
|
||||||
5 verbose stack at parseJson (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:79:23)
|
|
||||||
5 verbose stack at /usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:48:5
|
|
||||||
5 verbose stack at /usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16
|
|
||||||
5 verbose stack at tryToString (fs.js:456:3)
|
|
||||||
5 verbose stack at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:443:12)
|
|
||||||
6 verbose cwd /Development/codecentric/node-red
|
|
||||||
7 error Darwin 15.6.0
|
|
||||||
8 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "publish"
|
|
||||||
9 error node v6.11.0
|
|
||||||
10 error npm v3.10.10
|
|
||||||
11 error file /Development/codecentric/node-red/package.json
|
|
||||||
12 error code EJSONPARSE
|
|
||||||
13 error Failed to parse json
|
|
||||||
13 error Unexpected token 'x' at 17:8
|
|
||||||
13 error "xiaomi-configurator": "node-red-contrib-xiaomi-switch/xiaomi-configurato
|
|
||||||
13 error ^
|
|
||||||
14 error File: /Development/codecentric/node-red/package.json
|
|
||||||
15 error Failed to parse package.json data.
|
|
||||||
15 error package.json must be actual JSON, not just JavaScript.
|
|
||||||
15 error
|
|
||||||
15 error This is not a bug in npm.
|
|
||||||
15 error Tell the package author to fix their package.json file. JSON.parse
|
|
||||||
16 verbose exit [ 1, true ]
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "node-red-contrib-xiaomi-devices",
|
"name": "node-red-contrib-xiaomi-devices",
|
||||||
"version": "1.0.2",
|
"version": "1.0.3",
|
||||||
"description": "A set of nodes to control some of the popular Xiaomi sensors which are connected to the Xiaomi Gateway.",
|
"description": "A set of nodes to control some of the popular Xiaomi sensors which are connected to the Xiaomi Gateway.",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
"xiaomi-motion": "node-red-contrib-xiaomi-motion/xiaomi-motion.js",
|
"xiaomi-motion": "node-red-contrib-xiaomi-motion/xiaomi-motion.js",
|
||||||
"xiaomi-socket": "node-red-contrib-xiaomi-socket/xiaomi-socket.js",
|
"xiaomi-socket": "node-red-contrib-xiaomi-socket/xiaomi-socket.js",
|
||||||
"xiaomi-switch": "node-red-contrib-xiaomi-switch/xiaomi-switch.js",
|
"xiaomi-switch": "node-red-contrib-xiaomi-switch/xiaomi-switch.js",
|
||||||
"xiaomi-configurator": "node-red-contrib-xiaomi-switch/xiaomi-configurator.js"
|
"xiaomi-configurator": "node-red-contrib-xiaomi-configurator/xiaomi-configurator.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"author": "Harald Rietman",
|
"author": "Harald Rietman",
|
||||||
|
|||||||
Reference in New Issue
Block a user