mirror of
https://github.com/joinmarket-webui/jam.git
synced 2026-08-15 12:50:48 +02:00
* test: add basic test for App component * test: add basic test for Wallets component * Debug log only in dev env (spare test environment) * ci: enable tests in GitHub build workflow Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
85 lines
2.6 KiB
JSON
85 lines
2.6 KiB
JSON
{
|
|
"name": "joinmarket-webui",
|
|
"version": "0.0.3",
|
|
"private": true,
|
|
"description": "JoinMarket Web UI",
|
|
"repository": "git@github.com:joinmarket-webui/joinmarket-webui.git",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=16.0.0",
|
|
"npm": ">=7.0.0"
|
|
},
|
|
"homepage": ".",
|
|
"devDependencies": {
|
|
"@ibunker/bitcoin-react": "^0.1.13-cd",
|
|
"@popperjs/core": "^2.11.2",
|
|
"@testing-library/jest-dom": "^5.16.1",
|
|
"@testing-library/react": "^12.1.2",
|
|
"@testing-library/user-event": "^13.5.0",
|
|
"bootstrap": "^5.1.3",
|
|
"buffer": "^6.0.3",
|
|
"conventional-changelog": "^3.1.25",
|
|
"http-proxy-middleware": "^2.0.1",
|
|
"husky": "^7.0.4",
|
|
"jest-watch-typeahead": "^0.6.5",
|
|
"jest-websocket-mock": "^2.3.0",
|
|
"lint-staged": "^12.3.1",
|
|
"moving-letters": "^1.0.1",
|
|
"nth-check": ">=2.0.1",
|
|
"prettier": "^2.5.1",
|
|
"react": "^17.0.2",
|
|
"react-bootstrap": "^2.1.1",
|
|
"react-dom": "^17.0.2",
|
|
"react-router-bootstrap": "^0.26.0",
|
|
"react-router-dom": "^6.2.1",
|
|
"react-scripts": "^5.0.0",
|
|
"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,json,css,md}",
|
|
"format": "prettier --write --no-error-on-unmatched-pattern src/**/*.{js,jsx,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"
|
|
},
|
|
"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,json,css,md}": "prettier --no-error-on-unmatched-pattern --write"
|
|
},
|
|
"jest": {
|
|
"extraGlobals": [
|
|
"Math",
|
|
"localStorage"
|
|
],
|
|
"clearMocks": true
|
|
}
|
|
}
|