mirror of
https://github.com/selfxyz/self.git
synced 2026-04-27 03:01:15 -04:00
64 lines
1.8 KiB
JSON
64 lines
1.8 KiB
JSON
{
|
|
"name": "@selfxyz/new-common",
|
|
"version": "0.0.1",
|
|
"description": "Restructured constants and utils for self sdks",
|
|
"license": "MIT",
|
|
"author": "@Selfxyz Team",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/esm/index.js",
|
|
"require": "./dist/cjs/index.cjs",
|
|
"types": "./dist/esm/index.d.ts"
|
|
},
|
|
"./src/*": {
|
|
"import": "./dist/esm/src/*.js",
|
|
"require": "./dist/cjs/src/*.cjs",
|
|
"types": "./dist/esm/src/*.d.ts"
|
|
},
|
|
"./src/data/*.json": "./src/data/*.json"
|
|
},
|
|
"main": "./dist/cjs/index.cjs",
|
|
"module": "./dist/esm/index.js",
|
|
"types": "./dist/esm/index.d.ts",
|
|
"scripts": {
|
|
"build": "tsup && yarn build:types",
|
|
"build:types": "tsc -p tsconfig.json --emitDeclarationOnly",
|
|
"format": "npx prettier --write 'src/**/*.ts'",
|
|
"format:check": "npx prettier --check 'src/**/*.ts'",
|
|
"test": "vitest run",
|
|
"types": "tsc -p tsconfig.json --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@anon-aadhaar/core": "npm:@selfxyz/anon-aadhaar-core@^0.0.1",
|
|
"@openpassport/zk-kit-imt": "^0.0.5",
|
|
"@openpassport/zk-kit-lean-imt": "^0.0.6",
|
|
"@openpassport/zk-kit-smt": "^0.0.1",
|
|
"@zk-kit/baby-jubjub": "^1.0.3",
|
|
"@zk-kit/eddsa-poseidon": "^1.1.0",
|
|
"asn1js": "^3.0.7",
|
|
"elliptic": "^6.5.5",
|
|
"ethers": "^6.13.4",
|
|
"hash.js": "^1.1.7",
|
|
"i18n-iso-countries": "^7.13.0",
|
|
"js-sha1": "^0.7.0",
|
|
"js-sha256": "^0.11.0",
|
|
"js-sha512": "^0.9.0",
|
|
"node-forge": "^1.3.1",
|
|
"pkijs": "^3.3.3",
|
|
"poseidon-lite": "^0.3.0",
|
|
"uuid": "^13.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/elliptic": "^6.4.18",
|
|
"@types/node-forge": "^1.3.11",
|
|
"@types/uuid": "^11.0.0",
|
|
"tsup": "^8.5.0",
|
|
"typescript": "^5.9.3",
|
|
"vitest": "^2.1.8"
|
|
},
|
|
"engines": {
|
|
"node": ">=22 <23"
|
|
}
|
|
}
|