2022-10-24 10:46:14 +02:00
|
|
|
{
|
|
|
|
"private": true,
|
2022-11-04 15:50:09 +01:00
|
|
|
"name": "@gnu-taler/merchant-backoffice",
|
2022-10-24 10:46:14 +02:00
|
|
|
"version": "0.0.4",
|
|
|
|
"license": "MIT",
|
2022-12-20 21:45:24 +01:00
|
|
|
"type": "module",
|
2022-10-24 10:46:14 +02:00
|
|
|
"scripts": {
|
2022-12-19 16:11:50 +01:00
|
|
|
"build": "./build.mjs",
|
|
|
|
"check": "tsc",
|
|
|
|
"compile": "tsc && ./build.mjs",
|
2022-10-24 10:46:14 +02:00
|
|
|
"dev": "preact watch --port ${PORT:=8080} --no-sw --no-esm",
|
2022-12-20 21:45:24 +01:00
|
|
|
"test": "pnpm compile && mocha --require source-map-support/register 'dist/**/*.test.js' 'dist/**/test.js'",
|
2022-12-19 16:11:50 +01:00
|
|
|
"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",
|
2022-10-24 10:46:14 +02:00
|
|
|
"typedoc": "typedoc src",
|
2022-12-19 16:11:50 +01:00
|
|
|
"pretty": "prettier --write src"
|
2022-10-24 10:46:14 +02:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"plugins": [
|
|
|
|
"header"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"header/header": [
|
|
|
|
2,
|
|
|
|
"copyleft-header.js"
|
|
|
|
]
|
|
|
|
},
|
2022-12-19 16:11:50 +01:00
|
|
|
"extends": [
|
|
|
|
"prettier"
|
2022-10-24 10:46:14 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@gnu-taler/taler-util": "workspace:*",
|
2022-12-06 15:25:37 +01:00
|
|
|
"@gnu-taler/web-util": "workspace:*",
|
2022-10-24 10:46:14 +02:00
|
|
|
"axios": "^0.21.1",
|
2022-11-04 15:50:09 +01:00
|
|
|
"date-fns": "2.29.3",
|
2022-10-24 10:46:14 +02:00
|
|
|
"history": "4.10.1",
|
2022-11-04 15:50:09 +01:00
|
|
|
"jed": "1.1.1",
|
2022-12-20 21:45:24 +01:00
|
|
|
"preact": "10.11.3",
|
2022-11-04 15:50:09 +01:00
|
|
|
"preact-router": "3.2.1",
|
|
|
|
"qrcode-generator": "1.4.4",
|
|
|
|
"swr": "1.3.0",
|
2022-10-24 10:46:14 +02:00
|
|
|
"yup": "^0.32.9"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@creativebulma/bulma-tooltip": "^1.2.0",
|
|
|
|
"@gnu-taler/pogen": "^0.0.5",
|
|
|
|
"@testing-library/preact": "^2.0.1",
|
|
|
|
"@testing-library/preact-hooks": "^1.1.0",
|
|
|
|
"@types/history": "^4.7.8",
|
|
|
|
"@types/jest": "^26.0.23",
|
2022-12-20 19:42:53 +01:00
|
|
|
"@types/mocha": "^8.2.3",
|
2022-11-04 15:50:09 +01:00
|
|
|
"@types/node": "^18.8.5",
|
2022-10-24 10:46:14 +02:00
|
|
|
"@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",
|
|
|
|
"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",
|
|
|
|
"jest": "^26.6.3",
|
|
|
|
"jest-preset-preact": "^4.0.2",
|
2022-12-20 19:42:53 +01:00
|
|
|
"mocha": "^9.2.0",
|
|
|
|
"preact-render-to-string": "^5.2.6",
|
2022-10-24 10:46:14 +02:00
|
|
|
"rimraf": "^3.0.2",
|
2022-12-19 16:11:50 +01:00
|
|
|
"sass": "1.56.1",
|
2022-10-24 10:46:14 +02:00
|
|
|
"typedoc": "^0.20.36",
|
2022-12-14 19:17:59 +01:00
|
|
|
"typescript": "4.8.4"
|
2022-10-24 10:46:14 +02:00
|
|
|
}
|
2022-12-20 21:45:24 +01:00
|
|
|
}
|