generated from atorber/http2mqtt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
83 lines (83 loc) · 2.41 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "hrio",
"version": "0.4.1",
"description": "Using HTTP requests to publish mqtt messages",
"type": "module",
"exports": {
".": {
"import": "./dist/esm/src/mod.js",
"require": "./dist/cjs/src/mod.js"
}
},
"typings": "./dist/esm/src/mod.d.ts",
"engines": {
"node": ">=16",
"npm": ">=7"
},
"dependencies": {
"axios": "^1.7.2",
"crypto": "^1.0.1",
"dotenv": "^16.4.5",
"mqtt": "^3.0.0",
"koa": "^2.14.2",
"koa-bodyparser": "^4.4.1",
"koa-router": "^12.0.0",
"uuid": "^9.0.1"
},
"devDependencies": {
"@chatie/eslint-config": "^1.0.4",
"@chatie/git-scripts": "^0.6.2",
"@chatie/semver": "^0.4.7",
"@chatie/tsconfig": "^4.6.2",
"@types/axios": "^0.14.0",
"@types/koa": "^2.13.8",
"@types/koa-bodyparser": "^4.3.10",
"@types/koa-router": "^7.4.4",
"@types/mqtt": "^2.5.0",
"@types/node": "^20.6.5",
"@types/uuid": "^9.0.8",
"cross-env": "^7.0.3",
"eslint": "^8.48.0"
},
"scripts": {
"build": "tsc && tsc -p tsconfig.cjs.json",
"clean": "shx rm -fr dist/*",
"dist": "npm-run-all clean build dist:commonjs",
"dist:commonjs": "jq -n \"{ type: \\\"commonjs\\\" }\" > dist/cjs/package.json",
"lint": "npm-run-all lint:es lint:ts lint:md",
"lint:md": "markdownlint README.md",
"lint:ts": "tsc --isolatedModules --noEmit",
"local": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node local-server/index.ts",
"remote": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node remote-server/index.ts",
"test": "npm-run-all lint",
"test-test": "npm-run-all lint test:unit",
"test:pack": "bash -x scripts/npm-pack-testing.sh",
"test:unit": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" tap \"src/**/*.spec.ts\" \"tests/**/*.spec.ts\"",
"lint:es": "eslint --ignore-pattern tests/fixtures/ '{bin,examples,scripts,src,tests}/**/*.ts'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/atorber/http2mqtt.git"
},
"keywords": [
"mqtt",
"http2mqtt"
],
"author": "atorber <[email protected]> (超哥)",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/atorber/http2mqtt/issues"
},
"homepage": "https://github.com/atorber/http2mqtt#readme",
"files": [
"bin/",
"dist/",
"src/"
],
"tap": {
"check-coverage": false
},
"publishConfig": {
"tag": "next"
}
}