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 | "typings": "index.d.ts",
|
9 | "scripts": {
|
10 | "build": "npm run build:cjs && npm run build:es",
|
11 | "watch:node": "npm run build:cjs -- --watch",
|
12 | "watch:web": "webpack --watch --config config/webogram/webpack.config.js",
|
13 | "build:webogram:vendor": "webpack --config config/webogram/webpack.vendor.config.js",
|
14 | "build:webogram": "webpack --config config/webogram/webpack.config.js",
|
15 | "rebuild:webogram": "npm run build:webogram:vendor && npm run build:webogram",
|
16 | "rebuild:cjs": "npm run clean:cjs & npm run build:cjs",
|
17 | "build:cjs": "cross-env BABEL_ENV=commonjs babel src/ -d lib -s",
|
18 | "build:async": "cross-env BABEL_ENV=commonjs babel src/ -d lib -s --no-babelrc --plugins=transform-flow-strip-types,transform-es2015-modules-commonjs,transform-class-properties,transform-object-rest-spread,closure-elimination",
|
19 | "clean:cjs": "rimraf lib/",
|
20 | "rebuild:es": "npm run clean:es & npm run build:es",
|
21 | "build:es": "babel src/ -d es -s",
|
22 | "clean:es": "rimraf es/",
|
23 | "test": "node --harmony test/node.test.js",
|
24 | "test:esnext": "node test/node.test.js",
|
25 | "prepublish": "npm run rebuild:es && npm run rebuild:cjs"
|
26 | },
|
27 | "author": "Zero Bias",
|
28 | "dependencies": {
|
29 | "@goodmind/node-cryptojs-aes": "^0.5.0",
|
30 | "ajv": "^4.11.5",
|
31 | "ajv-keywords": "^1.5.1",
|
32 | "axios": "^0.16.0",
|
33 | "bluebird": "^3.5.0",
|
34 | "debug": "^2.6.3",
|
35 | "detect-node": "^2.0.3",
|
36 | "eventemitter2": "^4.1.0",
|
37 | "memoizee": "^0.4.4",
|
38 | "pako": "^1.0.5",
|
39 | "ramda": "^0.23.0",
|
40 | "randombytes": "^2.0.3",
|
41 | "rusha": "^0.8.5",
|
42 | "worker-loader": "^0.8.0"
|
43 | },
|
44 | "devDependencies": {
|
45 | "@types/debug": "0.0.29",
|
46 | "@types/memoizee": "^0.4.1",
|
47 | "babel-cli": "^6.24.1",
|
48 | "babel-core": "^6.24.1",
|
49 | "babel-eslint": "^7.2.1",
|
50 | "babel-loader": "^6.4.1",
|
51 | "babel-plugin-closure-elimination": "^1.1.14",
|
52 | "babel-plugin-transform-async-to-generator": "^6.24.1",
|
53 | "babel-plugin-transform-class-properties": "^6.24.1",
|
54 | "babel-plugin-transform-es2015-block-scoping": "^6.24.1",
|
55 | "babel-plugin-transform-es2015-for-of": "^6.23.0",
|
56 | "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
|
57 | "babel-plugin-transform-exponentiation-operator": "^6.24.1",
|
58 | "babel-plugin-transform-flow-strip-types": "^6.22.0",
|
59 | "babel-plugin-transform-object-rest-spread": "^6.23.0",
|
60 | "cross-env": "^4.0.0",
|
61 | "eslint": "^3.19.0",
|
62 | "eslint-plugin-babel": "^4.1.1",
|
63 | "eslint-plugin-flowtype": "^2.30.4",
|
64 | "eslint-plugin-promise": "^3.5.0",
|
65 | "flow-bin": "^0.43.1",
|
66 | "hirestime": "^3.1.0",
|
67 | "nightmare": "^2.10.0",
|
68 | "prompt": "^1.0.0",
|
69 | "rimraf": "^2.6.1",
|
70 | "tap": "^10.3.1",
|
71 | "tslint": "^5.0.0",
|
72 | "typescript": "^2.2.2",
|
73 | "webpack": "^2.3.3"
|
74 | },
|
75 | "engines": {
|
76 | "node": ">=6.0"
|
77 | },
|
78 | "bugs": {
|
79 | "url": "https://github.com/zerobias/telegram-mtproto/issues"
|
80 | },
|
81 | "files": [
|
82 | "lib",
|
83 | "test",
|
84 | "examples",
|
85 | "schema",
|
86 | "src",
|
87 | "es",
|
88 | "index.d.ts"
|
89 | ],
|
90 | "keywords": [
|
91 | "telegram",
|
92 | "mt",
|
93 | "mtproto",
|
94 | "mobile",
|
95 | "protocol",
|
96 | "library"
|
97 | ],
|
98 | "maintainers": [
|
99 | {
|
100 | "name": "Zero Bias",
|
101 | "email": "ribkatt@gmail.com"
|
102 | }, {
|
103 | "name": "goodmind",
|
104 | "email": "andwebar@gmail.com"
|
105 | }
|
106 | ],
|
107 | "readme": "README.md",
|
108 | "repository": {
|
109 | "type": "git",
|
110 | "url": "git+https://github.com/zerobias/telegram-mtproto.git"
|
111 | },
|
112 | "version": "2.2.3"
|
113 | }
|