-
Notifications
You must be signed in to change notification settings - Fork 108
/
package.json
108 lines (108 loc) · 2.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
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
{
"name": "@deepstream/client",
"version": "7.0.3",
"description": "the javascript client for deepstreamIO",
"keywords": [
"deepstream",
"javascript",
"realtime",
"client"
],
"mocha": {
"recursive": true,
"reporter": "dot",
"require": "ts-node/register/transpile-only",
"exit": true
},
"main": "dist/src/deepstream.js",
"types": "dist/src/deepstream-client.d.ts",
"directories": {
"test": "src/test"
},
"scripts": {
"tsc": "rm -rf dist && tsc",
"build": "npm run tsc && npm run build:dev && npm run build:prod",
"build:dev": "webpack --config webpack.dev.js",
"build:prod": "webpack --config webpack.prod.js",
"rebuild": "rimraf dist && webpack",
"clean": "rimraf dist",
"lint": "tslint src/*.ts src/**/*.ts -t verbose",
"lint:fix": "npm run lint -- --fix",
"test": "mocha src/**/*.spec.ts",
"test:coverage": "nyc npm test",
"bundle:analyse": "webpack --config webpack.prod.js --profile --json > ./dist/stats.json && webpack-bundle-analyzer ./dist/stats.json",
"postinstall": "node scripts/postinstall.js"
},
"repository": {
"type": "git",
"url": "https://github.com/deepstreamIO/deepstream.io-client-js.git"
},
"dependencies": {
"@deepstream/protobuf": "^1.0.8",
"protobufjs": "^7.2.6",
"ws": "^7.4.0"
},
"browser": {
"net": false,
"ws": false
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/chai": "^4.2.14",
"@types/mocha": "^8.2.3",
"@types/node": "^14.18.63",
"@types/sinon": "^9.0.11",
"@types/ws": "^7.4.0",
"buffer": "^6.0.3",
"chai": "^4.2.0",
"coveralls": "^3.1.0",
"husky": "^4.3.0",
"mocha": "^10.2.0",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"sinon": "^9.2.1",
"terser-webpack-plugin": "^4.2.3",
"ts-essentials": "^7.0.1",
"ts-loader": "^8.4.0",
"ts-node": "^10.9.2",
"tslint": "^6.1.3",
"typescript": "^4.1.2",
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1"
},
"author": "deepstreamHub GmbH",
"license": "MIT",
"bugs": {
"url": "https://github.com/deepstreamIO/deepstream.io-client-js/issues"
},
"homepage": "http://deepstreamio.github.io",
"eslintConfig": {
"extends": "deepstream"
},
"husky": {
"hooks": {
"pre-commit": "npm t && npm run lint && npm run build",
"pre-publish": "npm t && npm run build"
}
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"include": [
"src/**/*.ts"
],
"exclude": [
"src/**/*.spec.ts"
],
"extension": [
".ts"
],
"require": [
"ts-node/register"
],
"reporter": [
"lcov"
]
}
}