aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util/package.json
blob: 6ac9a268905ceebb36f0773b431a5423350fe57b (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.17",
  "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": "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",
    "hash-wasm": "^4.9.0"
  },
  "ava": {
    "files": [
      "lib/**/*test.js"
    ]
  }
}