wallet-core/packages/taler-util/package.json
2023-09-28 12:30:47 +02:00

85 lines
2.1 KiB
JSON

{
"name": "@gnu-taler/taler-util",
"version": "0.9.3-dev.27",
"description": "Generic helper functionality for GNU Taler",
"type": "module",
"types": "./lib/index.node.d.ts",
"author": "Florian Dold",
"license": "AGPL-3.0-or-later",
"private": false,
"exports": {
".": {
"node": "./lib/index.node.js",
"browser": "./lib/index.browser.js",
"qtart": "./lib/index.qtart.js",
"default": "./lib/index.js"
},
"./twrpc": {
"default": "./lib/twrpc.js"
},
"./compat": {
"types": "./lib/compat.node.js",
"node": "./lib/compat.node.js",
"qtart": "./lib/compat.qtart.js",
"default": "./lib/not-implemented.js"
},
"./clk": {
"default": "./lib/clk.js"
},
"./http": {
"default": "./lib/http.js"
},
"./qtart": {
"types": "./lib/qtart.js",
"qtart": "./lib/qtart.js",
"default": "./lib/not-implemented.js"
}
},
"imports": {
"#twrpc-impl": {
"node": "./lib/twrpc-impl.node.js",
"qtart": "./lib/twrpc-impl.qtart.js"
},
"#compat-impl": {
"node": "./lib/compat.node.js",
"qtart": "./lib/compat.qtart.js",
"type": "./lib/compat.d.ts"
},
"#http-impl": {
"type": "./lib/http-impl.node.js",
"node": "./lib/http-impl.node.js",
"qtart": "./lib/http-impl.qtart.js",
"default": "./lib/http-impl.missing.js"
},
"#argon2-impl": {
"node": "./lib/argon2-impl.node.js",
"default": "./lib/argon2-impl.missing.js"
}
},
"scripts": {
"compile": "tsc",
"test": "tsc && ava",
"clean": "rm -rf dist lib tsconfig.tsbuildinfo",
"typedoc": "typedoc --out dist/typedoc ./src/",
"pretty": "prettier --write src"
},
"devDependencies": {
"@types/node": "^18.11.17",
"ava": "^4.3.3",
"esbuild": "^0.17.7",
"prettier": "^2.8.8",
"typescript": "^5.2.2"
},
"dependencies": {
"big-integer": "^1.6.51",
"fflate": "^0.7.4",
"hash-wasm": "^4.9.0",
"jed": "^1.1.1",
"tslib": "^2.5.3"
},
"ava": {
"files": [
"lib/**/*test.js"
]
}
}