mirror of
https://github.com/joinmarket-webui/jam.git
synced 2026-08-18 13:09:10 +02:00
* chore: update dependencies * fix: prevent browser warning on Onboarding screen use unit 'px' instead of 'rem' to prevent warning 'Unexpected value 8rem parsing width attribute.'
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.5",
|
|
"@testing-library/jest-dom": "^5.16.4",
|
|
"@testing-library/react": "^12.1.4",
|
|
"@testing-library/user-event": "^13.5.0",
|
|
"@types/jest": "^27.4.1",
|
|
"@types/node": "^17.0.26",
|
|
"@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.6",
|
|
"husky": "^7.0.4",
|
|
"i18next": "^21.6.16",
|
|
"i18next-browser-languagedetector": "^6.1.4",
|
|
"jest-watch-typeahead": "^0.6.5",
|
|
"jest-websocket-mock": "^2.3.0",
|
|
"lint-staged": "^12.4.0",
|
|
"moving-letters": "^1.0.1",
|
|
"nth-check": ">=2.0.1",
|
|
"prettier": "^2.6.2",
|
|
"qrcode": "^1.5.0",
|
|
"react": "^17.0.2",
|
|
"react-bootstrap": "^2.3.0",
|
|
"react-dom": "^17.0.2",
|
|
"react-i18next": "^11.16.7",
|
|
"react-router-bootstrap": "^0.26.1",
|
|
"react-router-dom": "^6.3.0",
|
|
"react-scripts": "^5.0.1",
|
|
"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
|
|
}
|
|
}
|