mtcute/packages/tl/package.json
Alina Tumanova f5976a2d74
ESM + end-to-end tests (#11)
* 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???
2023-10-16 19:23:53 +03:00

34 lines
No EOL
1.2 KiB
JSON

{
"name": "@mtcute/tl",
"version": "165.0.0",
"description": "TL schema used for mtcute",
"main": "index.js",
"author": "Alina Sireneva <alina@tei.su>",
"license": "MIT",
"scripts": {
"test": "tsc --noEmit --esModuleInterop tests/types.ts",
"fetch-mtp": "node --loader ts-node/esm scripts/fetch-mtp.ts",
"fetch-api": "node --loader ts-node/esm scripts/fetch-api.ts",
"fetch-errors": "node --loader ts-node/esm scripts/fetch-errors.ts",
"docs-cli": "node --loader ts-node/esm scripts/documentation.ts",
"gen-code": "node --loader ts-node/esm scripts/gen-code.ts",
"gen-rsa": "node --loader ts-node/esm scripts/gen-rsa-keys.ts",
"fetch-and-gen": "pnpm run fetch-api && pnpm run gen-code",
"build": "pnpm run -w build-package tl"
},
"dependencies": {
"long": "5.2.3",
"ts-node": "10.9.1"
},
"devDependencies": {
"@mtcute/core": "workspace:^1.0.0",
"@mtcute/tl-utils": "workspace:^1.0.0",
"@types/js-yaml": "^4.0.5",
"cheerio": "1.0.0-rc.12",
"csv-parse": "^5.5.0",
"js-yaml": "4.1.0"
},
"typedoc": {
"entryPoint": "index.d.ts"
}
}