@i3m/cloud-vault-client
Version:
A TypeScript/JavaScript implementation of a client for the i3M-Wallet Cloud-Vault server
181 lines (180 loc) • 5.64 kB
JSON
{
"name": "@i3m/cloud-vault-client",
"version": "2.6.2",
"description": "A TypeScript/JavaScript implementation of a client for the i3M-Wallet Cloud-Vault server",
"keywords": [
"vault",
"wallet",
"cloud",
"i3M-Wallet",
"i3-MARKET"
],
"contributors": [
"Fernando Román García <fernando.roman@upc.edu>",
"Juan Hernández Serrno <j.hernandez@upc.edu>"
],
"author": {
"name": "Juan Hernández Serrano",
"email": "j.hernandez@upc.edu",
"url": "https://github.com/juanelas"
},
"repository": {
"type": "git",
"url": "https://github.com/i3-Market-V2-Public-Repository/SP3-SCGBSSW-I3mWalletMonorepo.git",
"directory": "packages/cloud-vault-client"
},
"bugs": {
"url": "https://github.com/i3-Market-V2-Public-Repository/SP3-SCGBSSW-I3mWalletMonorepo/issues"
},
"homepage": "https://github.com/i3-Market-V2-Public-Repository/SP3-SCGBSSW-I3mWalletMonorepo/tree/public/packages/cloud-vault-client#readme",
"license": "EUPL-1.2",
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "./dist/index.node.cjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"node": {
"module": {
"types": "./dist/index.d.ts",
"default": "./dist/index.node.esm.js"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.node.esm.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.node.cjs"
}
},
"default": {
"types": "./dist/index.d.ts",
"default": "./dist/index.node.esm.js"
}
},
"./dist/cjs/index.node": "./dist/index.node.cjs",
"./dist/esm/index.node": "./dist/index.node.esm.js",
"./dist/index.node": "./dist/index.node.cjs",
"./dist/index.node.esm": "./dist/index.node.esm.js",
"./types": "./dist/index.d.ts"
},
"imports": {
"#pkg": {
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.node.cjs"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.node.esm.js"
},
"default": {
"types": "./dist/index.d.ts",
"default": "./dist/index.node.esm.js"
}
}
},
"directories": {
"build": "./build",
"dist": "./dist",
"docs": "./docs",
"src": "./src",
"test": "./test",
"benchmark": "./benchmark",
"mocha-ts": "./.mocha-ts"
},
"scripts": {
"build": "npm run lint:src && npm run build:js && npm run lint:test && npm run docs",
"build:js": "rollup -c build/rollup.config.js",
"postbuild:js": "rimraf .types",
"clean": "rimraf .mocha-ts coverage dist types .types docs",
"coverage": "c8 --clean --check-coverage --exclude \"{src/ts/**/*.spec.ts,test,test-vectors,build}\" --exclude-after-remap --reporter=text --reporter=lcov node ./build/bin/mocha-ts.cjs --commonjs ",
"docs": "node build/build.docs.cjs",
"git:add": "git add -A",
"lint": "ts-standard --fix",
"lint:src": "ts-standard --fix \"src/**/!(*.spec).ts\"",
"lint:test": "ts-standard --fix \"{test/**/*.ts,src/**/*.spec.ts}\"",
"mocha-ts": "node --experimental-modules --experimental-json-modules --es-module-specifier-resolution=node ./build/bin/mocha-ts.cjs ",
"mocha-ts:cjs": "node ./build/bin/mocha-ts.cjs --commonjs ",
"mocha-ts:watch": "npm run mocha-ts:cjs -- --watch ",
"mocha-ts:browser": "node build/testing/browser/index.cjs ",
"mocha-ts:browser-headless": "node build/testing/browser/index.cjs headless ",
"preversion": "npm run build && npm test",
"version": "npm run docs && git add -A",
"test": "echo \"In order to test you need a running instance of cloud-vault-server. Set it up and run npm run test:node\"",
"test:node": "npm run test:node-cjs && npm run test:node-esm",
"test:node-cjs": "npm run mocha-ts:cjs ",
"test:node-esm": "npm run mocha-ts ",
"watch": "npm run mocha-ts:watch "
},
"ts-standard": {
"project": "tsconfig.json",
"env": [
"mocha"
],
"globals": [
"IS_BROWSER",
"browser",
"page",
"chai"
],
"ignore": [
"dist/**/*",
"examples/**/*",
"types/**/*",
"benchmark/**/*"
]
},
"nodeBrowserSkel": {
"badges": {
"workflow": true,
"coveralls": true
},
"git": {
"branch": "public"
}
},
"devDependencies": {
"@i3m/cloud-vault-server": "^2.6.2",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-inject": "^5.0.3",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-multi-entry": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.1",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^11.1.0",
"@types/chai": "^4.2.22",
"@types/eventsource": "^1.1.11",
"@types/mocha": "^10.0.0",
"@types/prompt-sync": "^4.2.0",
"@types/uuid": "^9.0.1",
"c8": "^7.12.0",
"chai": "^4.3.3",
"glob": "^10.0.0",
"json5": "^2.2.0",
"minimatch": "^9.0.0",
"mocha": "^10.0.0",
"pirates": "^4.0.1",
"prompt-sync": "^4.2.0",
"puppeteer": "^19.1.2",
"rimraf": "^5.0.0",
"rollup": "^3.20.2",
"rollup-plugin-dts": "^5.3.0",
"ts-standard": "^12.0.2",
"tslib": "^2.3.1",
"typedoc": "~0.23.0",
"typedoc-plugin-markdown": "~3.14.0",
"typescript": "^4.9.0"
},
"dependencies": {
"@i3m/non-repudiation-library": "^2.5.7",
"axios": "^1.2.5",
"axios-retry": "^3.4.0",
"dotenv": "^16.0.3",
"eventsource": "^2.0.2"
}
}