mirror of
https://github.com/iden3/js-crypto.git
synced 2026-01-10 22:38:04 -05:00
60 lines
1.7 KiB
JSON
60 lines
1.7 KiB
JSON
{
|
|
"name": "@iden3/js-crypto",
|
|
"version": "1.3.2",
|
|
"description": "Crypto primitives for iden3",
|
|
"source": "./src/index.ts",
|
|
"exports": {
|
|
".": {
|
|
"node": {
|
|
"import": "./dist/node/esm/index.js",
|
|
"require": "./dist/node/cjs/index.cjs"
|
|
},
|
|
"browser": "./dist/browser/esm/index.js",
|
|
"umd": "./dist/browser/umd/index.js",
|
|
"types": "./dist/types/index.d.ts"
|
|
}
|
|
},
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"types": "dist/types/index.d.ts",
|
|
"files": [
|
|
"dist",
|
|
"src"
|
|
],
|
|
"scripts": {
|
|
"build": "npm run clean && npm run build:node && npm run build:browser && npm run build:types",
|
|
"build:browser": "node ./scripts/browser.js",
|
|
"build:node": "node ./scripts/node.js",
|
|
"build:types": "tsc --declaration --emitDeclarationOnly",
|
|
"clean": "rimraf ./dist",
|
|
"test": "vitest run --globals --coverage",
|
|
"lint": "eslint --fix",
|
|
"lint:check": "eslint",
|
|
"format": "prettier --config .prettierrc './**/*.ts' --write",
|
|
"format:check": "prettier --config .prettierrc './**/*.ts' --check"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/iden3/js-crypto.git"
|
|
},
|
|
"author": "",
|
|
"license": "AGPL-3.0",
|
|
"bugs": {
|
|
"url": "https://github.com/iden3/js-crypto/issues"
|
|
},
|
|
"homepage": "https://github.com/iden3/js-crypto#readme",
|
|
"devDependencies": {
|
|
"@iden3/eslint-config": "https://github.com/iden3/eslint-config",
|
|
"@types/jest": "^29.5.14",
|
|
"@vitest/coverage-v8": "^3.1.4",
|
|
"esbuild": "^0.25.4",
|
|
"rimraf": "^6.0.1",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "5.8.3",
|
|
"vitest": "^3.1.3"
|
|
},
|
|
"dependencies": {
|
|
"@noble/hashes": "^2.0.1"
|
|
}
|
|
}
|