summaryrefslogtreecommitdiff
path: root/packages/taler-util/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-util/package.json')
-rw-r--r--packages/taler-util/package.json99
1 files changed, 70 insertions, 29 deletions
diff --git a/packages/taler-util/package.json b/packages/taler-util/package.json
index 3d92c7610..74b2d6155 100644
--- a/packages/taler-util/package.json
+++ b/packages/taler-util/package.json
@@ -1,52 +1,93 @@
{
"name": "@gnu-taler/taler-util",
- "version": "0.8.3",
+ "version": "0.10.7",
"description": "Generic helper functionality for GNU Taler",
- "exports": {
- ".": "./lib/index.node.js"
- },
- "module": "./lib/index.node.js",
- "main": "./lib/index.node.js",
- "browser": {
- "./lib/index.node.js": "./lib/index.browser.js"
- },
"type": "module",
"types": "./lib/index.node.d.ts",
- "typesVersions": {
- "*": {
- "lib/index.node.d.ts": [
- "lib/index.node.d.ts"
- ],
- "src/*": [],
- "*": []
- }
- },
"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.wasm.js",
+ "deno": "./lib/argon2-impl.wasm.js",
+ "worker": "./lib/argon2-impl.wasm.js",
+ "browser": "./lib/argon2-impl.wasm.js",
+ "webpack": "./lib/argon2-impl.wasm.js",
+ "default": "./lib/argon2-impl.missing.js"
+ }
+ },
"scripts": {
- "prepare": "tsc",
"compile": "tsc",
"test": "tsc && ava",
- "clean": "rimraf dist lib tsconfig.tsbuildinfo",
+ "clean": "rm -rf dist lib tsconfig.tsbuildinfo",
+ "typedoc": "typedoc --out dist/typedoc ./src/",
"pretty": "prettier --write src"
},
"devDependencies": {
- "@types/node": "^14.14.22",
- "ava": "^3.15.0",
- "esbuild": "^0.9.2",
- "prettier": "^2.2.1",
- "rimraf": "^3.0.2",
- "typescript": "^4.2.3"
+ "eslint": "^8.56.0",
+ "@typescript-eslint/eslint-plugin": "^6.19.0",
+ "@typescript-eslint/parser": "^6.19.0",
+ "@types/follow-redirects": "^1.14.4",
+ "@types/node": "^18.11.17",
+ "ava": "^6.0.1",
+ "esbuild": "^0.19.9",
+ "typescript": "^5.3.3"
},
"dependencies": {
- "big-integer": "^1.6.48",
+ "big-integer": "^1.6.52",
+ "fflate": "^0.8.1",
+ "follow-redirects": "^1.15.5",
+ "hash-wasm": "^4.11.0",
"jed": "^1.1.1",
- "tslib": "^2.1.0"
+ "tslib": "^2.6.2"
},
"ava": {
"files": [
- "lib/*test*"
+ "lib/**/*test.js"
]
}
}