43 lines
1.2 KiB
JSON
43 lines
1.2 KiB
JSON
{
|
|
"name": "@near-js/crypto",
|
|
"version": "1.4.2",
|
|
"description": "Abstractions around NEAR-compatible elliptical curves and cryptographic keys",
|
|
"main": "lib/esm/index.js",
|
|
"type": "module",
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"@noble/curves": "1.8.1",
|
|
"borsh": "1.0.0",
|
|
"randombytes": "2.1.0",
|
|
"secp256k1": "5.0.1",
|
|
"@near-js/types": "0.3.1",
|
|
"@near-js/utils": "1.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@jest/globals": "^29.7.0",
|
|
"@noble/hashes": "^1.4.0",
|
|
"@types/node": "20.0.0",
|
|
"jest": "29.7.0",
|
|
"ts-jest": "29.2.5",
|
|
"typescript": "5.4.5",
|
|
"build": "0.0.0",
|
|
"tsconfig": "0.0.0"
|
|
},
|
|
"files": [
|
|
"lib"
|
|
],
|
|
"exports": {
|
|
"require": "./lib/commonjs/index.cjs",
|
|
"import": "./lib/esm/index.js"
|
|
},
|
|
"scripts": {
|
|
"build": "pnpm compile:esm && pnpm compile:cjs",
|
|
"compile:esm": "tsc -p tsconfig.json",
|
|
"compile:cjs": "tsc -p tsconfig.cjs.json && cjsify ./lib/commonjs",
|
|
"lint": "eslint -c ../../.eslintrc.ts.yml src/**/*.ts test/**/*.ts --no-eslintrc",
|
|
"lint:fix": "eslint -c ../../.eslintrc.ts.yml src/**/*.ts test/**/*.ts --no-eslintrc --fix",
|
|
"test": "jest"
|
|
}
|
|
} |