aboutsummaryrefslogtreecommitdiff
path: root/packages/merchant-backend-ui/package.json
blob: bd16317f5f13ccaf8fb850f3d750b4c3026cb1ae (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
{
  "private": true,
  "name": "@gnu-taler/merchant-backend-ui",
  "version": "0.10.7",
  "license": "AGPL-3.0-or-later",
  "scripts": {
    "compile": "tsc && ./build.mjs",
    "build": "pnpm compile",
    "render-examples": "node dist/test/render-examples.js dist/pages dist/examples",
    "lint-check": "eslint '{src,tests}/**/*.{js,jsx,ts,tsx}'",
    "lint-fix": "eslint --fix '{src,tests}/**/*.{js,jsx,ts,tsx}'",
    "clean": "rm -rf dist lib tsconfig.tsbuildinfo",
    "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": "workspace:*",
    "@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",
    "@types/node": "^20.11.13",
    "@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",
    "sirv-cli": "^1.0.11",
    "ts-node": "^10.9.1",
    "tslib": "2.6.2",
    "typescript": "5.3.3"
  }
}