aboutsummaryrefslogtreecommitdiff
path: root/packages/merchant-backoffice-ui/package.json
blob: 66e03a65ccbc00b4221b3233fac270ee6ee6a0f4 (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
{
  "private": true,
  "name": "@gnu-taler/merchant-backoffice-ui",
  "version": "0.1.0",
  "license": "AGPL-3.0-or-later",
  "type": "module",
  "scripts": {
    "build": "./build.mjs",
    "check": "tsc",
    "compile": "tsc && ./build.mjs",
    "dev": "preact watch --port ${PORT:=8080} --no-sw --no-esm",
    "test": "./test.mjs && mocha --require source-map-support/register 'dist/**/*.test.js' 'dist/**/test.js'",
    "lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
    "i18n:extract": "pogen extract",
    "i18n:merge": "pogen merge",
    "i18n:emit": "pogen emit",
    "i18n": "pnpm i18n:extract && pnpm i18n:merge && pnpm i18n:emit",
    "typedoc": "typedoc --out dist/typedoc ./src/",
    "pretty": "prettier --write src"
  },
  "eslintConfig": {
    "plugins": [
      "header"
    ],
    "rules": {
      "header/header": [
        2,
        "copyleft-header.js"
      ]
    },
    "extends": [
      "prettier"
    ]
  },
  "dependencies": {
    "@gnu-taler/taler-util": "workspace:*",
    "@gnu-taler/web-util": "workspace:*",
    "date-fns": "2.29.3",
    "history": "4.10.1",
    "jed": "1.1.1",
    "preact": "10.11.3",
    "preact-router": "3.2.1",
    "qrcode-generator": "1.4.4",
    "swr": "2.2.2",
    "yup": "^0.32.9"
  },
  "devDependencies": {
    "@creativebulma/bulma-tooltip": "^1.2.0",
    "@gnu-taler/pogen": "^0.0.5",
    "@types/chai": "^4.3.0",
    "@types/history": "^4.7.8",
    "@types/mocha": "^8.2.3",
    "@types/node": "^18.11.17",
    "@typescript-eslint/eslint-plugin": "^4.22.0",
    "@typescript-eslint/parser": "^4.22.0",
    "base64-inline-loader": "^1.1.1",
    "bulma": "^0.9.2",
    "bulma-checkbox": "^1.1.1",
    "bulma-radio": "^1.1.1",
    "bulma-responsive-tables": "^1.2.3",
    "bulma-switch-control": "^1.1.1",
    "bulma-timeline": "^3.0.4",
    "bulma-upload-control": "^1.2.0",
    "chai": "^4.3.6",
    "dotenv": "^8.2.0",
    "eslint": "^7.25.0",
    "eslint-config-preact": "^1.1.4",
    "eslint-plugin-header": "^3.1.1",
    "html-webpack-inline-chunk-plugin": "^1.1.1",
    "html-webpack-inline-source-plugin": "0.0.10",
    "html-webpack-skip-assets-plugin": "^1.0.1",
    "inline-chunk-html-plugin": "^1.1.1",
    "mocha": "^9.2.0",
    "preact-render-to-string": "^5.2.6",
    "sass": "1.56.1",
    "source-map-support": "^0.5.21",
    "typedoc": "^0.25.1",
    "typescript": "5.2.2"
  },
  "pogen": {
    "domain": "taler-merchant-backoffice"
  }
}