40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
{
|
|
"name": "@mtcute/crypto-node",
|
|
"version": "0.1.2",
|
|
"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"
|
|
},
|
|
"keepScripts": [
|
|
"install"
|
|
],
|
|
"distOnlyFields": {
|
|
"exports": {
|
|
".": {
|
|
"import": "./esm/index.js",
|
|
"require": "./cjs/index.js"
|
|
},
|
|
"./native": {
|
|
"import": "./esm/native.cjs",
|
|
"require": "./cjs/native.cjs"
|
|
}
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@mtcute/core": "workspace:^"
|
|
},
|
|
"devDependencies": {
|
|
"@mtcute/test": "workspace:^"
|
|
}
|
|
}
|