mirror of
https://github.com/selfxyz/self.git
synced 2026-01-15 01:28:18 -05:00
86 lines
2.4 KiB
JSON
86 lines
2.4 KiB
JSON
{
|
|
"name": "@openpassport/sdk",
|
|
"version": "0.1.8",
|
|
"main": "dist/bundle.node.js",
|
|
"browser": "dist/bundle.web.js",
|
|
"types": "dist/sdk/src/index.d.ts",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/zk-passport/openpassport"
|
|
},
|
|
"author": "turnoffthiscomputer",
|
|
"dependencies": {
|
|
"@types/react": "^18.3.4",
|
|
"@types/react-dom": "^18.3.0",
|
|
"@types/uuid": "^10.0.0",
|
|
"fs": "^0.0.1-security",
|
|
"js-sha1": "^0.7.0",
|
|
"js-sha256": "^0.11.0",
|
|
"js-sha512": "^0.9.0",
|
|
"lottie-react": "^2.4.0",
|
|
"next": "^14.2.8",
|
|
"pkijs": "^3.2.4",
|
|
"poseidon-lite": "^0.2.0",
|
|
"qrcode.react": "^4.0.1",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-spinners": "^0.14.1",
|
|
"snarkjs": "^0.7.4",
|
|
"socket.io-client": "^4.7.5",
|
|
"uuid": "^10.0.0",
|
|
"node-forge": "https://github.com/remicolin/forge"
|
|
},
|
|
"devDependencies": {
|
|
"@types/chai": "^4.3.6",
|
|
"@types/chai-as-promised": "^7.1.8",
|
|
"@types/circomlibjs": "^0.1.6",
|
|
"@types/expect": "^24.3.0",
|
|
"@types/mocha": "^10.0.6",
|
|
"@types/node": "^20.11.19",
|
|
"@types/node-forge": "^1.3.5",
|
|
"@types/snarkjs": "^0.7.8",
|
|
"chai": "^4.3.8",
|
|
"chai-as-promised": "^7.1.1",
|
|
"dotenv": "^16.4.5",
|
|
"mocha": "^10.3.0",
|
|
"prettier": "^3.3.3",
|
|
"ts-loader": "^9.5.1",
|
|
"ts-mocha": "^10.0.0",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.4.5",
|
|
"webpack": "^5.94.0",
|
|
"webpack-cli": "^5.1.4",
|
|
"@zk-kit/imt": "^2.0.0-beta.5",
|
|
"@zk-kit/lean-imt": "^2.0.1",
|
|
"asn1js": "^3.0.5",
|
|
"axios": "^1.7.2",
|
|
"ethers": "^6.13.0"
|
|
},
|
|
"scripts": {
|
|
"build:ts": "tsc && tsc -p tsconfig.react.json",
|
|
"build:web": "webpack --config webpack.web.config.js",
|
|
"build:node": "webpack --config webpack.node.config.js",
|
|
"build": "npm run build:ts && npm run build:web && npm run build:node",
|
|
"prepublishOnly": "npm run build",
|
|
"test": "yarn ts-mocha -p ./tsconfig.json tests/openPassport1Step.test.ts --exit",
|
|
"install-sdk": "cd ../common && yarn && cd ../sdk && yarn",
|
|
"download-circuits": "cd ../circuits && ./scripts/download_circuits_from_aws.sh && cd ../sdk",
|
|
"format": "prettier --write .",
|
|
"lint": "prettier --check ."
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"common",
|
|
"circuits/**/*.json",
|
|
"src/QRcode"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"peerDependencies": {
|
|
"lottie-react": "^2.4.0",
|
|
"react": "^18.0.0",
|
|
"react-dom": "^18.0.0"
|
|
}
|
|
} |