-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
81 lines (81 loc) · 2.42 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
{
"name": "mhub",
"version": "2.1.0",
"description": "Simple, flexible message hub using websockets",
"main": "./dist/src/index.js",
"bin": {
"mhub-client": "./bin/mhub-client",
"mhub-ping": "./bin/mhub-ping",
"mhub-server": "./bin/mhub-server",
"mclient": "./bin/mhub-client",
"mping": "./bin/mhub-ping",
"mserver": "./bin/mhub-server"
},
"scripts": {
"test": "npm run -s build && npm run -s lint && npm run -s mocha",
"mocha": "mocha",
"cover": "npm run -s build && npm run -s lint && nyc npm -s run mocha",
"start": "node ./bin/mhub-server",
"lint": "tslint --format verbose -p src/ && tslint --format verbose -p test/ && prettier --check '{src,test}/*.ts' '*.json' '*.yml' '.vscode/*.json'",
"format": "prettier --write '{src,test}/*.ts' '*.json' '*.yml' '.vscode/*.json'",
"build:src": "tsc -p src/",
"watch:src": "tsc -p src/ --watch",
"build:test": "tsc -p test/",
"watch:test": "tsc -p test/ --watch",
"build": "npm run -s build:src && npm run -s build:test",
"watch:start": "mkdir -p dist/src/ && touch dist/src/mhub-server.js && nodemon ./bin/mhub-server --delay 1 --watch dist/",
"watch": "parallelshell 'npm run -s watch:src' 'npm run -s watch:test' 'npm run -s watch:start'",
"clean": "rimraf dist",
"prepare": "npm run -s test",
"prepublishOnly": "npm run -s test",
"preversion": "npm install",
"version": "git add package-lock.json"
},
"author": "Martin Poelstra <martin@beryllium.net>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/poelstra/mhub.git"
},
"keywords": [
"mhub",
"iot",
"message",
"bus",
"pubsub",
"publish",
"subscribe"
],
"bugs": {
"url": "https://github.com/poelstra/mhub/issues"
},
"homepage": "https://github.com/poelstra/mhub#readme",
"devDependencies": {
"@types/chai": "^4.2.11",
"@types/micromatch": "^4.0.1",
"@types/mocha": "^7.0.2",
"chai": "^4.2.0",
"coveralls": "^3.0.11",
"mocha": "^7.1.1",
"nyc": "^15.0.0",
"parallelshell": "^3.0.2",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"tslint": "^6.1.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.8.3"
},
"dependencies": {
"@types/mkdirp": "^1.0.0",
"@types/node": "^12.12.31",
"@types/ws": "^7.2.3",
"@types/yargs": "^15.0.4",
"micromatch": "^4.0.2",
"mkdirp": "^1.0.3",
"source-map-support": "^0.5.16",
"ws": "^7.2.3",
"yargs": "^15.3.1"
},
"typings": "./dist/src/index.d.ts",
"tslintConfig": "tslint.json"
}