mirror of
https://github.com/joinmarket-webui/jam.git
synced 2026-08-17 13:07:34 +02:00
* feat: add password confirmation on create screen * fix: labels and feedback in create form according to figma * test: verify password confirm validation message * fix: remove unnecessary escape character * fix: do not escape '-' * refactor: comments and better name for escape function * deps: add Formik form validation library * refactor: use Formik for CreateWallet form validation * refactor: remove 'isCreating' flag in favor of 'onFinished' callback * test: adapt tests to be compatible with Formik see https://github.com/jaredpalmer/formik/issues/1543
99 lines
3.4 KiB
JSON
99 lines
3.4 KiB
JSON
{
|
|
"name": "jam",
|
|
"version": "0.0.5",
|
|
"private": true,
|
|
"description": "A friendly UI for JoinMarket",
|
|
"repository": "git@github.com:joinmarket-webui/joinmarket-webui.git",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=16.11.0",
|
|
"npm": ">=8.0.0"
|
|
},
|
|
"homepage": ".",
|
|
"devDependencies": {
|
|
"@popperjs/core": "^2.11.4",
|
|
"@testing-library/jest-dom": "^5.16.3",
|
|
"@testing-library/react": "^12.1.4",
|
|
"@testing-library/user-event": "^13.5.0",
|
|
"@types/jest": "^27.4.1",
|
|
"@types/node": "^17.0.23",
|
|
"@types/react": "^17.0.43",
|
|
"@types/react-dom": "^17.0.14",
|
|
"bootstrap": "^5.1.3",
|
|
"buffer": "^6.0.3",
|
|
"conventional-changelog": "^3.1.25",
|
|
"formik": "^2.2.9",
|
|
"http-proxy-middleware": "^2.0.4",
|
|
"husky": "^7.0.4",
|
|
"i18next": "^21.6.14",
|
|
"i18next-browser-languagedetector": "^6.1.4",
|
|
"jest-watch-typeahead": "^0.6.5",
|
|
"jest-websocket-mock": "^2.3.0",
|
|
"lint-staged": "^12.3.7",
|
|
"moving-letters": "^1.0.1",
|
|
"nth-check": ">=2.0.1",
|
|
"prettier": "^2.6.1",
|
|
"qrcode": "^1.5.0",
|
|
"react": "^17.0.2",
|
|
"react-bootstrap": "^2.2.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-i18next": "^11.16.2",
|
|
"react-router-bootstrap": "^0.26.1",
|
|
"react-router-dom": "^6.2.2",
|
|
"react-scripts": "^5.0.0",
|
|
"typescript": "^4.6.3",
|
|
"web-vitals": "^2.1.4"
|
|
},
|
|
"dependencies": {
|
|
"serve": "13.0.2"
|
|
},
|
|
"scripts": {
|
|
"start": "react-scripts start",
|
|
"build": "react-scripts build",
|
|
"test": "react-scripts test",
|
|
"eject": "react-scripts eject",
|
|
"postinstall": "husky install",
|
|
"lint": "prettier --check --no-error-on-unmatched-pattern 'src/**/*.{js,jsx,ts,tsx,json,css,md}'",
|
|
"format": "prettier --write --no-error-on-unmatched-pattern 'src/**/*.{js,jsx,ts,tsx,json,css,md}'",
|
|
"version": "node scripts/changelog.mjs && git checkout -b \"prepare-v${npm_package_version}-$(date +%s)\" && git add --all && git commit --message \"chore(release): prepare v${npm_package_version}\" && git push --set-upstream origin $(git branch --show-current)",
|
|
"postversion": "which gh && gh pr create --title \"chore(release): prepare v${npm_package_version}\" --body \"Prepares the v${npm_package_version} release.\" --assignee @me --label release --repo joinmarket-webui/joinmarket-webui --draft",
|
|
"regtest:rebuild": "npm run regtest:clear && docker-compose --file docker/regtest/docker-compose.yml build --pull --no-cache",
|
|
"regtest:clear": "docker-compose --file docker/regtest/docker-compose.yml down --volumes --remove-orphans",
|
|
"regtest:up": "docker-compose --file docker/regtest/docker-compose.yml up",
|
|
"regtest:down": "docker-compose --file docker/regtest/docker-compose.yml down",
|
|
"regtest:logs:jmwalletd": "docker exec -t jm_regtest_joinmarket tail -f /root/.joinmarket/logs/jmwalletd_stdout.log"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"react-app",
|
|
"react-app/jest"
|
|
]
|
|
},
|
|
"prettier": {
|
|
"printWidth": 120,
|
|
"semi": false,
|
|
"singleQuote": true
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.{js,jsx,ts,tsx,json,css,md}": "prettier --no-error-on-unmatched-pattern --write"
|
|
},
|
|
"jest": {
|
|
"extraGlobals": [
|
|
"Math",
|
|
"localStorage"
|
|
],
|
|
"clearMocks": true
|
|
}
|
|
}
|