mtcute/packages/core/package.json
teidesu 8fb099cfeb fix(core): proper browser support
not much really, fixed exports for webpack, fixed binary mode for websocket
2021-07-16 04:31:04 +03:00

33 lines
944 B
JSON

{
"name": "@mtcute/core",
"private": true,
"version": "1.0.0",
"description": "Core functions and base MTProto client",
"author": "Alisa Sireneva <me@tei.su>",
"license": "MIT",
"main": "src/index.ts",
"scripts": {
"test": "mocha -r ts-node/register tests/**/*.spec.ts",
"build": "tsc",
"docs": "npx typedoc"
},
"browser": {
"./utils/platform/crypto.js": "./utils/platform/crypto.web.js",
"./utils/platform/transport.js": "./utils/platform/transport.web.js",
"./storage/json-file.js": false
},
"dependencies": {
"@types/node": "^15.12.1",
"@types/events": "^3.0.0",
"@mtcute/tl": "~1.131.0",
"leemon": "6.2.0",
"pako": "2.0.2",
"big-integer": "1.6.48",
"debug": "^4.3.1",
"events": "3.2.0"
},
"devDependencies": {
"@types/ws": "^7.4.1",
"ws": "^7.4.4"
}
}