f5976a2d74
* feat: moved tl-runtime to esm and native ArrayBuffers * feat: migration to esm * fix(core): web-related fixes * test: finally, some good fucking e2e * chore: fixed linters etc * ci: added e2e to ci * build(tl): fixed gen-code on node 20 * fix: codegen Uint8Array, not Buffer never `git reset --hard` kids * build: only do type-aware linting for `packages/*` * build: ignore no-unresolved in ci for e2e * fix: node 16 doesn't have subtle crypto apparently? * fix(tests): use Uint8Array for gods sake please can i just merge this already * ci: don't parallel tasks in ci because machines are utter garbage and it may just randomly break * ci: pass secrets to e2e tests * ci: separate cli command for ci apparently im retarded * fix: run codegen in e2e im actually retarded * ci: more fixes for e2e * ci: debugging stuff * ci: still debugging * ci: hopefully fix ci???
40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
{
|
|
"name": "@mtcute/tl-runtime",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"description": "Runtime for TL",
|
|
"author": "Alina Sireneva <alina@tei.su>",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"scripts": {
|
|
"test": "mocha \"tests/**/*.spec.ts\"",
|
|
"docs": "typedoc",
|
|
"build": "pnpm run -w build-package tl-runtime"
|
|
},
|
|
"browser": {
|
|
"./cjs/encodings/base64.js": "./cjs/encodings/base64.web.js",
|
|
"./esm/encodings/base64.js": "./esm/encodings/base64.web.js",
|
|
"./cjs/encodings/hex.js": "./cjs/encodings/hex.web.js",
|
|
"./esm/encodings/hex.js": "./esm/encodings/hex.web.js",
|
|
"./cjs/encodings/utf8.js": "./cjs/encodings/utf8.web.js",
|
|
"./esm/encodings/utf8.js": "./esm/encodings/utf8.web.js",
|
|
"./cjs/encodings/gzip.js": "./cjs/encodings/gzip.web.js",
|
|
"./esm/encodings/gzip.js": "./esm/encodings/gzip.web.js"
|
|
},
|
|
"distOnlyFields": {
|
|
"exports": {
|
|
".": {
|
|
"import": "./esm/index.js",
|
|
"require": "./cjs/index.js"
|
|
}
|
|
}
|
|
},
|
|
"main": "src/index.ts",
|
|
"dependencies": {
|
|
"long": "5.2.3",
|
|
"pako": "2.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/pako": "2.0.0"
|
|
}
|
|
}
|