2021-10-11 10:58:55 +02:00
|
|
|
{
|
|
|
|
"private": true,
|
|
|
|
"name": "anastasis-webui",
|
|
|
|
"version": "0.0.0",
|
|
|
|
"license": "MIT",
|
|
|
|
"scripts": {
|
2021-11-03 21:30:11 +01:00
|
|
|
"build": "preact build --no-sw --no-esm",
|
2021-11-10 14:20:52 +01:00
|
|
|
"serve": "sirv build --port ${PORT:=8080} --cors --single",
|
|
|
|
"dev": "preact watch --port ${PORT:=8080} --no-sw --no-esm",
|
2021-10-11 10:58:55 +02:00
|
|
|
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
|
2021-10-22 06:31:46 +02:00
|
|
|
"test": "jest ./tests",
|
|
|
|
"build-storybook": "build-storybook",
|
2021-11-10 14:20:52 +01:00
|
|
|
"build-single": "preact build --no-sw --no-esm -c preact.single-config.js --dest single && sh remove-link-stylesheet.sh",
|
|
|
|
"serve-single": "sirv single --port ${PORT:=8080} --cors --single",
|
|
|
|
"pretty": "prettier --write src",
|
2021-10-22 06:31:46 +02:00
|
|
|
"storybook": "start-storybook -p 6006"
|
2021-10-11 10:58:55 +02:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"extends": [
|
|
|
|
"preact",
|
|
|
|
"plugin:@typescript-eslint/recommended"
|
|
|
|
],
|
|
|
|
"ignorePatterns": [
|
|
|
|
"build/"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-10-13 10:48:25 +02:00
|
|
|
"@gnu-taler/taler-util": "workspace:^0.8.3",
|
2021-10-18 19:19:20 +02:00
|
|
|
"anastasis-core": "workspace:^0.0.1",
|
2021-11-10 14:20:52 +01:00
|
|
|
"base64-inline-loader": "1.1.1",
|
2021-11-04 17:02:56 +01:00
|
|
|
"date-fns": "2.25.0",
|
2021-10-19 15:56:52 +02:00
|
|
|
"jed": "1.1.1",
|
2021-11-04 17:02:56 +01:00
|
|
|
"preact": "^10.5.15",
|
|
|
|
"preact-render-to-string": "^5.1.19",
|
2021-11-01 20:10:49 +01:00
|
|
|
"preact-router": "^3.2.1",
|
|
|
|
"qrcode-generator": "^1.4.4"
|
2021-10-11 10:58:55 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-10-19 15:56:52 +02:00
|
|
|
"@creativebulma/bulma-tooltip": "^1.2.0",
|
2021-11-04 17:02:56 +01:00
|
|
|
"@storybook/addon-a11y": "^6.3.12",
|
|
|
|
"@storybook/addon-actions": "^6.3.12",
|
|
|
|
"@storybook/addon-essentials": "^6.3.12",
|
|
|
|
"@storybook/addon-links": "^6.3.12",
|
|
|
|
"@storybook/preact": "^6.3.12",
|
2021-10-22 06:31:46 +02:00
|
|
|
"@storybook/preset-scss": "^1.0.3",
|
2021-11-04 17:02:56 +01:00
|
|
|
"@types/enzyme": "^3.10.10",
|
|
|
|
"@types/jest": "^27.0.2",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.3.0",
|
|
|
|
"@typescript-eslint/parser": "^5.3.0",
|
2021-10-19 15:56:52 +02:00
|
|
|
"bulma": "^0.9.3",
|
|
|
|
"bulma-checkbox": "^1.1.1",
|
|
|
|
"bulma-radio": "^1.1.1",
|
2021-10-11 10:58:55 +02:00
|
|
|
"enzyme": "^3.11.0",
|
2021-11-04 17:02:56 +01:00
|
|
|
"enzyme-adapter-preact-pure": "^3.2.0",
|
|
|
|
"eslint": "^8.1.0",
|
|
|
|
"eslint-config-preact": "^1.2.0",
|
|
|
|
"jest": "^27.3.1",
|
|
|
|
"jest-preset-preact": "^4.0.5",
|
2021-11-02 14:12:52 +01:00
|
|
|
"jssha": "^3.2.0",
|
2021-11-04 17:02:56 +01:00
|
|
|
"preact-cli": "^3.3.1",
|
2021-11-04 17:09:17 +01:00
|
|
|
"sass": "1.32.13",
|
2021-11-04 17:02:56 +01:00
|
|
|
"sass-loader": "^10",
|
|
|
|
"sirv-cli": "^1.0.14",
|
|
|
|
"typescript": "^4.4.4"
|
2021-10-11 10:58:55 +02:00
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"preset": "jest-preset-preact",
|
|
|
|
"setupFiles": [
|
|
|
|
"<rootDir>/tests/__mocks__/browserMocks.ts",
|
|
|
|
"<rootDir>/tests/__mocks__/setupTests.ts"
|
|
|
|
]
|
|
|
|
}
|
2021-10-19 15:56:52 +02:00
|
|
|
}
|