mtcute/packages/crypto-node/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

33 lines
1.1 KiB
JSON

{
"name": "@mtcute/crypto-node",
"version": "1.0.0",
"description": "Native crypto implementation for NodeJS",
"author": "Alina Sireneva <alina@tei.su>",
"main": "src/index.ts",
"private": true,
"license": "MIT",
"type": "module",
"scripts": {
"build:bin": "node-gyp configure && node-gyp -j 16 build ",
"build:dev": "node-gyp -j 16 build --debug",
"build": "pnpm run -w build-package crypto-node",
"install": "node-gyp configure && node-gyp -j 16 build",
"rebuild:dev": "node-gyp configure --debug && node-gyp -j 16 rebuild --debug",
"rebuild": "node-gyp configure && node-gyp -j 16 rebuild",
"clean": "node-gyp clean",
"test": "mocha \"tests/**/*.spec.ts\"",
"docs": "typedoc"
},
"keepScripts": ["install"],
"distOnlyFields": {
"exports": {
".": {
"import": "./esm/index.js",
"require": "./cjs/index.js"
}
}
},
"dependencies": {
"@mtcute/core": "workspace:^1.0.0"
}
}