wallet-core/packages/taler-util/package.json

80 lines
1.9 KiB
JSON

{
"name": "@gnu-taler/taler-util",
"version": "0.9.3-dev.13",
"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",
"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"
}
},
"scripts": {
"compile": "tsc --build",
"test": "tsc && ava",
"clean": "rimraf dist lib tsconfig.tsbuildinfo",
"pretty": "prettier --write src"
},
"devDependencies": {
"@types/node": "^18.11.17",
"ava": "^4.3.3",
"esbuild": "^0.17.7",
"prettier": "^2.8.8",
"rimraf": "^3.0.2",
"typescript": "^5.1.3"
},
"dependencies": {
"big-integer": "^1.6.51",
"fflate": "^0.7.4",
"jed": "^1.1.1",
"tslib": "^2.5.3"
},
"ava": {
"files": [
"lib/**/*test.js"
]
}
}