@iexec/dataprotector
Version:
This product enables users to confidentially store data–such as mail address, documents, personal information ...
97 lines (96 loc) • 4.1 kB
JSON
{
"name": "@iexec/dataprotector",
"version": "2.0.0-beta.21",
"description": "This product enables users to confidentially store data–such as mail address, documents, personal information ...",
"type": "module",
"types": "dist/src/index.d.ts",
"main": "./dist/src/index.js",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"node": "./dist/src/index.js",
"default": "./dist/src/index.js"
}
},
"scripts": {
"codegen": "npm run generate:abi && npm run generate:typechain",
"build": "rimraf dist && tsc --project tsconfig.build.json",
"build:watch": "npm run build -- --watch",
"check-types": "tsc --noEmit",
"test": "NODE_OPTIONS=--experimental-vm-modules jest --testMatch \"**/tests/**/*.test.ts\"",
"test:coverage": "NODE_OPTIONS=--experimental-vm-modules jest --testMatch \"**/tests/**/*.test.ts\" --coverage",
"test:unit": "NODE_OPTIONS=--experimental-vm-modules jest --testMatch \"**/tests/unit/**/*.test.ts\"",
"test:unit:coverage": "NODE_OPTIONS=--experimental-vm-modules jest --testMatch \"**/tests/unit/**/*.test.ts\" --coverage",
"test:e2e": "NODE_OPTIONS=--experimental-vm-modules jest --testMatch \"**/tests/e2e/**/*.test.ts\"",
"test:e2e:coverage": "NODE_OPTIONS=--experimental-vm-modules jest --testMatch \"**/tests/e2e/**/*.test.ts\" --coverage",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write \"(src|tests)/**/*.ts\"",
"check-format": "prettier --check \"(src|tests)/**/*.ts|tests/**/*.ts\"",
"find-unused-exports": "ts-unused-exports ./tsconfig.json --excludeDeclarationFiles",
"generate:typechain": "rimraf generated/typechain && typechain --target=ethers-v6 --out-dir generated/typechain abis/**/*.json --node16-modules",
"generate:abi": "rimraf generated/abis && node tools/generateAbiModules.mjs",
"refresh-abis": "rm -rf abis && mkdir -p abis/core && cp -r ../smart-contract/abis/. ./abis/core/ && mkdir -p abis/sharing && cp -r ../sharing-smart-contract/abis/. ./abis/sharing/",
"stop-test-stack": "cd tests && docker compose --project-name dataprotector-sdk down --volumes --remove-orphans",
"start-test-stack": "cd tests && npm run stop-test-stack && node prepare-test-env.js && docker compose --project-name dataprotector-sdk build && docker compose --project-name dataprotector-sdk up -d"
},
"repository": {
"type": "git",
"url": "git+https://github.com/iExecBlockchainComputing/dataprotector-sdk.git"
},
"keywords": [
"iExec"
],
"author": "iExec",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/iExecBlockchainComputing/dataprotector-sdk/issues"
},
"homepage": "https://github.com/iExecBlockchainComputing/dataprotector-sdk#readme",
"files": [
"src",
"dist"
],
"dependencies": {
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/random": "^5.7.0",
"@multiformats/multiaddr": "^12.1.3",
"@typechain/ethers-v6": "^0.5.1",
"@types/bn.js": "^5.1.6",
"borsh": "^2.0.0",
"debug": "^4.3.4",
"ethers": "^6.13.2",
"graphql-request": "^6.0.0",
"iexec": "^8.22.0",
"jszip": "^3.7.1",
"kubo-rpc-client": "^5.4.1",
"magic-bytes.js": "^1.0.15",
"typechain": "^8.3.2",
"yup": "^1.0.2"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@swc/core": "^1.7.3",
"@swc/jest": "^0.2.36",
"@types/debug": "^4.1.7",
"@types/express": "^5.0.2",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"bn.js": "^5.2.1",
"eslint": "^8.51.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jest": "^27.4.2",
"eslint-plugin-sonarjs": "^0.21.0",
"eslint-plugin-unicorn": "^51.0.1",
"express": "^5.1.0",
"jest": "^29.7.0",
"prettier": "^2.8.4",
"rimraf": "^5.0.5",
"ts-unused-exports": "^10.0.1",
"typescript": "^4.9.5"
}
}