package.json 3.16 KB
Newer Older
1
{
2
  "name": "@rocket.chat/sdk",
Diego Sampaio's avatar
Diego Sampaio committed
3
  "version": "1.0.0-alpha.15",
4
  "description": "Node.js SDK for Rocket.Chat. Application interface for server methods and message streams.",
Diego Sampaio's avatar
Diego Sampaio committed
5
  "main": "dist/index.js",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
6
7
  "types": "dist/index.d.ts",
  "sideEffects": false,
8
  "repository": "https://github.com/RocketChat/Rocket.Chat.js.SDK.git",
9
  "author": "Tim Kinnane <tim.kinnane@rocket.chat>",
10
11
12
13
14
15
16
17
  "contributors": [
    "Mikael Mello (https://github.com/mikaelmello)",
    "José Renan (https://github.com/JoseRenan)",
    "Renato Becker (https://github.com/renatobecker)",
    "Guilherme Gazzo (https://github.com/ggazzo)",
    "Sing Li (https://github.com/Sing-Li)",
    "Diego Mello (https://github.com/diegolmello)"
  ],
18
  "license": "MIT",
19
  "private": true,
20
21
22
23
24
25
26
27
28
29
30
31
32
33
  "keywords": [
    "adapter",
    "rocketchat",
    "rocket",
    "chat",
    "messaging",
    "CUI",
    "typescript"
  ],
  "engines": {
    "node": "> 8.0.0",
    "npm": "> 5.0.0"
  },
  "scripts": {
34
    "webpack": "webpack",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
35
36
    "pretest": "tslint --fix -p . && ts-node src/utils/setup.ts",
    "test": "nyc mocha ./src/lib/**/*.spec.ts",
37
38
39
    "test:hook": "mocha './**/*.spec.ts'",
    "test:debug": "mocha  --inspect --debug-brk 'src/**/*.spec.ts'",
    "test:package": "preview && mocha 'src/index.spec.ts'",
40
    "start": "ts-node ./src/utils/start",
41
    "docs": "rimraf ./docs && typedoc --options ./typedoc.json ./src/lib",
42
    "prebuild": "npm run test",
43
    "build": "rimraf ./dist/* && tsc && webpack && npm run test:package",
Diego Sampaio's avatar
Diego Sampaio committed
44
45
    "builddist": "rimraf ./dist/* && tsc",
    "publish:prepare": "node .scripts/release.js"
46
47
48
49
50
51
52
53
54
  },
  "husky": {
    "hooks": {
      "pre-push": "npm run test:hook"
    }
  },
  "devDependencies": {
    "@types/chai": "^4.1.2",
    "@types/mocha": "^2.2.48",
55
    "@types/sinon": "^4.3.0",
56
57
    "@types/ws": "^5.1.2",
    "awesome-typescript-loader": "^5.2.0",
58
59
60
    "chai": "^4.1.2",
    "commitizen": "^2.9.6",
    "cz-conventional-changelog": "^2.1.0",
61
    "dotenv": "^5.0.1",
62
63
64
    "husky": "^0.14.3",
    "mocha": "^5.0.1",
    "nyc": "^11.4.1",
65
    "package-preview": "^1.0.5",
66
    "rimraf": "^2.6.2",
67
    "sinon": "^4.4.2",
68
    "source-map-support": "^0.5.3",
69
    "ts-node": "^5.0.1",
70
71
72
    "tslint": "^5.9.1",
    "tslint-config-standard": "^7.0.0",
    "typedoc": "0.8.0",
73
    "typedoc-plugin-external-module-name": "^1.1.1",
Marcos Defendi's avatar
Marcos Defendi committed
74
    "typescript": "^3.4.3",
75
76
    "webpack": "^4.16.5",
    "webpack-cli": "^3.1.0"
77
78
  },
  "dependencies": {
79
80
    "@types/event-emitter": "^0.3.2",
    "@types/eventemitter3": "^2.0.2",
81
    "@types/lru-cache": "^4.1.0",
82
    "@types/node": "^9.4.6",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
83
    "axios": "^0.18.0",
84
85
    "create-hash": "^1.2.0",
    "crypto-browserify": "^3.12.0",
86
    "eventemitter3": "^3.1.0",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
87
    "js-sha256": "^0.9.0",
Tim Kinnane's avatar
v0.2.0    
Tim Kinnane committed
88
    "lru-cache": "^4.1.1",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
89
    "mem": "^4.0.0",
90
    "mqtt": "^2.18.8",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
91
92
    "msgpack": "^1.0.2",
    "msgpack-lite": "^0.1.26",
93
    "node-fetch": "^2.2.1",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
94
    "node-fetch-polyfill": "^2.0.6",
95
    "paho-mqtt": "eclipse/paho.mqtt.javascript#master",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
96
    "protobufjs": "^6.8.8",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
97
    "sha256": "^0.2.0",
98
    "tiny-events": "^1.0.1",
99
    "universal-websocket-client": "^1.0.2",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
100
    "web-mqtt-client": "^1.3.1",
101
    "ws": "^5.2.0"
102
103
104
105
106
107
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  }
108
}