@iexec/dataprotector-deserializer
Version:
Helper module to deserialize protected data in trusted iApp
71 lines (70 loc) • 2.3 kB
JSON
{
"name": "@iexec/dataprotector-deserializer",
"version": "0.1.1",
"description": "Helper module to deserialize protected data in trusted iApp",
"type": "module",
"types": "dist/types/index.d.ts",
"main": "./dist/esm/index.js",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"default": "./dist/esm/index.js"
}
},
"scripts": {
"format": "prettier --write \"(src|tests)/**/*.ts\"",
"lint": "eslint .",
"check-types": "tsc --noEmit",
"build": "rimraf dist && npm run build:types && npm run build:esm && npm run build:cjs",
"build:esm": "tsc -b tsconfig.esm.json",
"build:cjs": "tsc -b tsconfig.cjs.json && echo '{ \"type\": \"commonjs\" }' > dist/cjs/package.json",
"build:types": "tsc -b tsconfig.types.json",
"test": "npm run test:prepare && NODE_OPTIONS=--experimental-vm-modules jest --coverage",
"test:prepare": "node prepare-legacy-dataprotector.js",
"lint:fix": "eslint . --fix",
"check-format": "prettier --check \"(src|tests)/**/*.ts|tests/**/*.ts\""
},
"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": {
"borsh": "^2.0.0",
"jszip": "^3.10.1"
},
"devDependencies": {
"@iexec/dataprotector": "^0.5.1",
"@jest/globals": "^29.7.0",
"@swc/core": "^1.3.107",
"@swc/jest": "^0.2.34",
"@types/node": "^20.11.13",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.6.3",
"eslint-plugin-sonarjs": "^0.23.0",
"jest": "^29.7.0",
"prettier": "^3.2.4",
"rimraf": "^5.0.5",
"typescript": "^5.3.3"
}
}