aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util/package.json
blob: 1e4ddbe640d7f46de70d7aface4a840ab382b28d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
  "name": "@gnu-taler/taler-util",
  "version": "0.13.2",
  "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.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": {
    "compile": "tsc",
    "test": "tsc && ava",
    "clean": "rm -rf dist lib tsconfig.tsbuildinfo",
    "typedoc": "typedoc --out dist/typedoc ./src/",
    "pretty": "prettier --write src"
  },
  "devDependencies": {
    "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.52",
    "fflate": "^0.8.1",
    "follow-redirects": "^1.15.5",
    "hash-wasm": "^4.11.0",
    "jed": "^1.1.1",
    "tslib": "^2.6.2"
  },
  "ava": {
    "files": [
      "lib/**/*test.js"
    ]
  }
}