UNPKG

2.62 kBJSONView Raw
1{
2 "description": "Telegram MTProto library",
3 "name": "telegram-mtproto",
4 "license": "MIT",
5 "main": "lib/index.js",
6 "jsnext:main": "es/index.js",
7 "module": "es/index.js",
8 "browser": "dist/mtproto2-browser.js",
9 "typings": "index.d.ts",
10 "scripts": {
11 "build": "npm run build:cjs && npm run build:es",
12 "watch:node": "npm run build:cjs -- --watch",
13 "watch:web": "webpack --watch --config config/webogram/webpack.config.js",
14 "build:webogram:vendor": "webpack --config config/webogram/webpack.vendor.config.js",
15 "build:webogram": "webpack --config config/webogram/webpack.config.js",
16 "rebuild:webogram": "npm run build:webogram:vendor && npm run build:webogram",
17 "rebuild:cjs": "npm run clean:cjs & npm run build:cjs",
18 "build:cjs": "cross-env BABEL_ENV=commonjs babel source/ -d lib -s",
19 "clean:cjs": "rimraf lib/",
20 "rebuild:es": "npm run clean:es & npm run build:es",
21 "build:es": "babel source/ -d es -s",
22 "clean:es": "rimraf es/",
23 "test": "node --harmony test/node.test.js",
24 "prepublish": "npm run rebuild:es && npm run rebuild:cjs"
25 },
26 "author": "Zero Bias",
27 "dependencies": {
28 "@goodmind/node-cryptojs-aes": "^0.5.0",
29 "axios": "^0.15.3",
30 "bluebird": "^3.4.7",
31 "detect-node": "^2.0.3",
32 "eventemitter2": "^3.0.0",
33 "jsbn": "^1.1.0",
34 "pako": "^1.0.4",
35 "ramda": "^0.23.0",
36 "rusha": "^0.8.5",
37 "setimmediate": "^1.0.5",
38 "worker-loader": "^0.7.1"
39 },
40 "devDependencies": {
41 "babel-cli": "^6.23.0",
42 "babel-core": "^6.23.1",
43 "babel-eslint": "^7.1.1",
44 "babel-loader": "^6.3.2",
45 "babel-plugin-transform-class-properties": "^6.23.0",
46 "babel-plugin-transform-es2015-modules-commonjs": "^6.23.0",
47 "babel-plugin-transform-object-rest-spread": "^6.23.0",
48 "cross-env": "^3.1.4",
49 "eslint": "^3.15.0",
50 "eslint-plugin-babel": "^4.0.1",
51 "eslint-plugin-promise": "^3.4.2",
52 "nightmare": "^2.9.1",
53 "rimraf": "^2.5.4",
54 "tap": "^10.1.1",
55 "webpack": "^2.2.1"
56 },
57 "engines": {
58 "node": ">0.10.30"
59 },
60 "files": [
61 "lib",
62 "test",
63 "dist",
64 "schema",
65 "source",
66 "es",
67 "index.d.ts"
68 ],
69 "keywords": [
70 "telegram",
71 "mt",
72 "mtproto",
73 "mobile",
74 "protocol",
75 "library"
76 ],
77 "maintainers": [
78 {
79 "name": "Zero Bias",
80 "email": "ribkatt@gmail.com"
81 }
82 ],
83 "readme": "README.md",
84 "repository": {
85 "type": "git",
86 "url": "git+https://github.com/zerobias/telegram-mtproto.git"
87 },
88 "version": "2.0.0"
89}