Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <[email protected]>
63 lines
1.8 KiB
JSON
63 lines
1.8 KiB
JSON
{
|
|
"name": "@thirdweb-dev/crypto",
|
|
"version": "0.2.1",
|
|
"main": "dist/thirdweb-dev-crypto.cjs.js",
|
|
"module": "dist/thirdweb-dev-crypto.esm.js",
|
|
"exports": {
|
|
".": {
|
|
"module": "./dist/thirdweb-dev-crypto.esm.js",
|
|
"default": "./dist/thirdweb-dev-crypto.cjs.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/utils",
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/thirdweb-dev/js/issues"
|
|
},
|
|
"author": "thirdweb eng <[email protected]>",
|
|
"files": [
|
|
"dist/"
|
|
],
|
|
"preconstruct": {
|
|
"entrypoints": [
|
|
"index.ts"
|
|
],
|
|
"exports": true
|
|
},
|
|
"sideEffects": false,
|
|
"dependencies": {
|
|
"@noble/hashes": "^1.3.2",
|
|
"js-sha3": "^0.9.2"
|
|
},
|
|
"devDependencies": {
|
|
"@preconstruct/cli": "2.7.0",
|
|
"@thirdweb-dev/tsconfig": "workspace:*",
|
|
"@types/crypto-js": "^4.2.2",
|
|
"crypto-js": "^4.2.0",
|
|
"eslint-config-thirdweb": "workspace:*",
|
|
"ethers": "^5.7.2",
|
|
"js-awe": "^1.0.62",
|
|
"tinybench": "^2.5.1",
|
|
"typescript": "^5.3.3",
|
|
"viem": "^1.19.1"
|
|
},
|
|
"scripts": {
|
|
"format": "prettier --write 'src/**/*'",
|
|
"lint": "eslint src/ && bunx publint --strict --level warning",
|
|
"fix": "eslint src/ --fix",
|
|
"clean": "rm -rf dist/",
|
|
"build": "tsc && preconstruct build",
|
|
"push": "yalc push",
|
|
"test": "bun test",
|
|
"benchmark:aes-encrypt": "bun benchmark/aes-encrypt.ts",
|
|
"benchmark:aes-decrypt": "bun benchmark/aes-decrypt.ts",
|
|
"benchmark:sha256": "bun benchmark/sha256.ts",
|
|
"benchmark:keccak256": "bun benchmark/keccak256.ts",
|
|
"benchmark": "bun run benchmark:aes-encrypt && bun run benchmark:aes-decrypt && bun run benchmark:sha256 && bun run benchmark:keccak256"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
}
|