70 lines
1.8 KiB
JSON
70 lines
1.8 KiB
JSON
{
|
|
"private": true,
|
|
"name": "@gnu-taler/demobank-ui",
|
|
"version": "0.1.0",
|
|
"license": "AGPL-3.0-OR-LATER",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "./build.mjs",
|
|
"check": "tsc",
|
|
"compile": "tsc && ./build.mjs",
|
|
"test": "pnpm compile && 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",
|
|
"pretty": "prettier --write src"
|
|
},
|
|
"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": "1.3.0"
|
|
},
|
|
"eslintConfig": {
|
|
"plugins": [
|
|
"header"
|
|
],
|
|
"rules": {
|
|
"header/header": [
|
|
2,
|
|
"copyleft-header.js"
|
|
]
|
|
},
|
|
"extends": [
|
|
"prettier"
|
|
]
|
|
},
|
|
"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": "^10.0.1",
|
|
"@types/node": "^18.11.14",
|
|
"@typescript-eslint/eslint-plugin": "^5.41.0",
|
|
"@typescript-eslint/parser": "^5.41.0",
|
|
"async_hooks": "^1.0.0",
|
|
"bulma": "^0.9.4",
|
|
"bulma-checkbox": "^1.1.1",
|
|
"bulma-radio": "^1.1.1",
|
|
"chai": "^4.3.6",
|
|
"esbuild": "^0.15.12",
|
|
"eslint-config-preact": "^1.2.0",
|
|
"mocha": "^9.2.0",
|
|
"po2json": "^0.4.5",
|
|
"preact-render-to-string": "^5.2.6",
|
|
"sass": "1.56.1",
|
|
"typescript": "4.8.4"
|
|
},
|
|
"pogen": {
|
|
"domain": "bank"
|
|
}
|
|
}
|