-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 1.74 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"name": "node-red-contrib-gpio-dht-sensor",
"version": "0.1.0",
"description": "Node-RED node to read temperature and humidity from GPIO connected DHT11, DHT22, and AM2302 sensors",
"main": "dist/index.js",
"scripts": {
"prebuild": "rm -rf dist",
"build": "tsc -p tsconfig.json",
"postbuild": "cp src/*.html ./dist",
"lint": "eslint -c .eslintrc.js --ext .ts ./src",
"pretest": "npm run lint",
"test": "jest --coverage",
"prepublishOnly": "npm run build",
"dev": "node ./node_modules/node-red/red.js --userDir ./data",
"dev:watch": "nodemon -e ts,html --watch src --exec 'npm run build && npm run dev'"
},
"homepage": "https://github.com/mjwwit/node-red-contrib-gpio-dht-sensor",
"repository": "github:mjwwit/node-red-contrib-gpio-dht-sensor",
"author": "Michael de Wit <[email protected]>",
"license": "ISC",
"engines": {
"node": ">=10"
},
"dependencies": {
"node-dht-sensor": "^0.4.3"
},
"devDependencies": {
"@types/jest": "^26.0.23",
"@types/node": "^10",
"@types/node-dht-sensor": "^0.4.0",
"@types/node-red": "^1.1.1",
"@types/node-red-node-test-helper": "^0.2.1",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"eslint": "^7.29.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-prettier": "^3.4.0",
"jest": "^27.0.5",
"node-red": "^1.3.5",
"node-red-node-test-helper": "^0.2.7",
"nodemon": "^2.0.7",
"prettier": "^2.3.1",
"ts-jest": "^27.0.3",
"typescript": "^4.3.4"
},
"keywords": [
"node-red",
"dht11",
"dht22",
"am2302",
"gpio"
],
"node-red": {
"nodes": {
"dht-sensor": "dist/dht-sensor.js"
}
}
}