-
Notifications
You must be signed in to change notification settings - Fork 383
/
package.json
145 lines (145 loc) · 4.75 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"name": "@deepstream/server",
"version": "7.0.10",
"description": "a scalable server for realtime webapps",
"main": "./dist/src/deepstream.io.js",
"bin": {
"deepstream": "./dist/bin/deepstream"
},
"engines": {
"node": ">=18.0.0"
},
"directories": {
"test": "test"
},
"pkg": {
"scripts": "./dist/src/config/*.js",
"assets": "./dist/ascii-logo.txt"
},
"mocha": {
"reporter": "dot",
"require": [
"ts-node/register/transpile-only",
"./src/test/common.ts"
],
"exit": true
},
"scripts": {
"start:inspect": "npm run tsc && node --inspect dist/bin/deepstream",
"start": "ts-node --transpile-only --project tsconfig.json --files ./bin/deepstream.ts start",
"tsc": "sh scripts/tsc.sh",
"license": "mkdir -p build && node scripts/license-aggregator > build/LICENSE && cat scripts/resources/missing-licenses.txt >> build/LICENSE",
"lint": "tslint --project .",
"lint:fix": "npm run lint -- --fix",
"test": "mocha 'src/**/*.spec.ts'",
"test:coverage": "nyc mocha 'src/**/*.spec.ts' && npm run test:coverage:combine",
"test:http-server": "node test/test-helper/start-test-server.js",
"e2e": "ts-node --transpile-only --project tsconfig.json --files ./node_modules/.bin/cucumber-js test-e2e --require './test-e2e/steps/**/*.ts' --exit",
"e2e:v3": "V3=true npm run e2e -- --tags \"not @V4\"",
"e2e:uws": "uws=true npm run e2e",
"e2e:uws:v3": "uws=true V3=true npm run e2e -- --tags \"not @V4\"",
"e2e:rpc": "npm run e2e -- --tags \"@rpcs\"",
"e2e:event": "npm run e2e -- --tags \"@events\"",
"e2e:record": "npm run e2e -- --tags \"@records\"",
"e2e:login": "npm run e2e -- --tags \"@login\"",
"e2e:presence": "npm run e2e -- --tags \"@presence\"",
"e2e:http": "npm run e2e -- --tags \"@http\"",
"e2e:coverage": "nyc cucumber-js test-e2e --require './test-e2e/steps/**/*.ts' --exit && npm run test:coverage:combine",
"test:all:coverage": "rm -rf .nyc_combined_coverage .nyc_output && npm run test:coverage && npm run e2e:coverage && nyc report --reporter=lcov -t .nyc_combined_coverage",
"test:coverage:combine": "rm -rf .nyc_output/processinfo && mkdir -p .nyc_combined_coverage && mv -f .nyc_output/* .nyc_combined_coverage/"
},
"repository": {
"type": "git",
"url": "https://github.com/deepstreamIO/deepstream.io.git"
},
"dependencies": {
"@deepstream/protobuf": "^1.0.8",
"@deepstream/types": "^2.3.2",
"ajv": "^6.12.6",
"better-ajv-errors": "^1.2.0",
"body-parser": "^1.20.2",
"chalk": "^4.1.2",
"commander": "^11.1.0",
"content-type": "^1.0.5",
"glob": "^8.1.0",
"http-shutdown": "^1.2.2",
"http-status": "^1.7.0",
"js-yaml": "^4.1.0",
"mqtt-connection": "^4.1.0",
"needle": "^3.2.0",
"pino": "^8.16.0",
"source-map-support": "^0.5.21",
"uuid": "^8.3.2",
"uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.32.0",
"ws": "^7.5.9"
},
"devDependencies": {
"@deepstream/client": "^6.0.5",
"@types/body-parser": "^1.19.3",
"@types/content-type": "^1.1.6",
"@types/cucumber": "^6.0.1",
"@types/glob": "^8.1.0",
"@types/js-yaml": "^4.0.7",
"@types/mkdirp": "^1.0.1",
"@types/mocha": "^8.0.4",
"@types/needle": "^3.2.1",
"@types/node": "^14.14.10",
"@types/sinon": "^10.0.19",
"@types/sinon-chai": "^3.2.10",
"@types/uuid": "^8.3.4",
"@types/ws": "^7.4.7",
"async": "^3.2.4",
"chai": "^4.3.10",
"coveralls": "^3.1.1",
"cucumber": "^6.0.7",
"deepstream.io-client-js": "^2.3.4",
"husky": "^4.3.8",
"istanbul": "^0.4.5",
"mocha": "^10.2.0",
"n0p3": "^1.0.2",
"nyc": "^15.1.0",
"pkg": "^5.8.1",
"proxyquire": "^2.1.3",
"sinon": "^16.1.0",
"sinon-chai": "^3.7.0",
"ts-essentials": "^9.4.1",
"ts-node": "^10.9.1",
"tslint": "^6.1.3",
"typescript": "^4.9.5"
},
"author": "deepstreamHub GmbH",
"license": "MIT",
"bugs": {
"url": "https://github.com/deepstreamIO/deepstream.io/issues"
},
"homepage": "https://deepstreamio.github.io/",
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm run tsc",
"pre-push": "npm run tsc && npm t && npm run e2e -- --fail-fast && npm run e2e:uws -- --fail-fast && bash scripts/package.sh true true && node scripts/node-test.js && node scripts/executable-test.js",
"pre-publish": "npm run tsc"
}
},
"nyc": {
"include": [
"src/**/*.ts"
],
"exclude": [
"src/**/*.spec.ts",
"src/connection-endpoint/json/*",
"src/connection-endpoint/mqtt/*",
"src/connection-endpoint/text/*"
],
"extension": [
".ts"
],
"require": [
"ts-node/register/transpile-only"
],
"reporter": [
"lcov"
],
"sourceMap": true,
"instrument": true
}
}