aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util/package.json
blob: b16698ea45ec2557fe5bfab33d85262801ec8f3d (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
{
  "name": "@gnu-taler/taler-util",
  "version": "0.9.3-dev.34",
  "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": "^6.0.1",
    "esbuild": "^0.19.9",
    "prettier": "^3.1.1",
    "typescript": "^5.3.3"
  },
  "dependencies": {
    "big-integer": "^1.6.52",
    "fflate": "^0.8.1",
    "hash-wasm": "^4.11.0",
    "jed": "^1.1.1",
    "tslib": "^2.6.2"
  },
  "ava": {
    "files": [
      "lib/**/*test.js"
    ]
  }
}