aboutsummaryrefslogtreecommitdiff
path: root/packages/merchant-backend-ui/package.json
blob: 23e5007e97d28d62f940d079996cbb7ff7be9528 (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
{
  "private": true,
  "name": "@gnu-taler/merchant-backend",
  "version": "0.0.5",
  "license": "AGPL-3.0-or-later",
  "scripts": {
    "compile": "tsc && ./build.mjs",
    "build": "pnpm compile",
    "render-examples": "ts-node -O '{\"module\": \"commonjs\"}' -T render-examples.ts dist/pages dist/examples",
    "lint-check": "eslint '{src,tests}/**/*.{js,jsx,ts,tsx}'",
    "lint-fix": "eslint --fix '{src,tests}/**/*.{js,jsx,ts,tsx}'",
    "typedoc": "typedoc src",
    "clean": "rimraf dist",
    "serve-dist": "sirv --port ${PORT:=8080} --cors --single dist"
  },
  "engines": {
    "node": ">=12",
    "pnpm": ">=5"
  },
  "eslintConfig": {
    "parser": "@typescript-eslint/parser",
    "extends": [
      "preact",
      "plugin:@typescript-eslint/recommended"
    ],
    "plugins": [
      "header"
    ],
    "rules": {
      "header/header": [
        2,
        "copyleft-header.js"
      ]
    },
    "ignorePatterns": [
      "build/"
    ]
  },
  "dependencies": {
    "date-fns": "^2.21.1",
    "preact": "10.11.3",
    "qrcode-generator": "^1.4.4"
  },
  "devDependencies": {
    "@babel/core": "7.18.9",
    "@gnu-taler/pogen": "^0.0.5",
    "@linaria/babel-preset": "3.0.0-beta.22",
    "@linaria/core": "3.0.0-beta.22",
    "@linaria/react": "3.0.0-beta.22",
    "@linaria/shaker": "3.0.0-beta.22",
    "@linaria/webpack-loader": "3.0.0-beta.22",
    "@types/mocha": "^8.2.2",
    "@types/mustache": "^4.1.2",
    "@typescript-eslint/eslint-plugin": "^4.22.0",
    "@typescript-eslint/parser": "^4.22.0",
    "babel-loader": "^8.2.2",
    "base64-inline-loader": "^1.1.1",
    "eslint": "^7.25.0",
    "eslint-config-preact": "^1.1.4",
    "eslint-plugin-header": "^3.1.1",
    "mustache": "^4.2.0",
    "po2json": "^0.4.5",
    "preact-render-to-string": "^5.1.19",
    "rimraf": "^3.0.2",
    "sirv-cli": "^1.0.11",
    "ts-node": "^10.9.1",
    "tslib": "2.5.3",
    "typescript": "5.1.3"
  }
}