jam/package.json
Daniel cc168eb49f
feat: i18n (#153)
* Add basic i18n with i18next

* Add transifex config

* Add translation strings for wallets screen

* Delete transifex config for now

* Remove suspension

* Add exemplary german translation

* Add language switcher

* Add link to telegram group for translations

* Update tests

* Fix hook deps

* Add tx config

* Move i18n code to subfolder

* Update i18n usage in tests

* Remove unused call

* Pull de translation from transifex

* Add npm scripts for pushing and pulling

* Put back deps

* Put deps into dev

* Add tx gh config

* Add readme

* test: add empty new lang

* Remove test langs

* Remove cli integration

* Update src/i18n/README.md

Co-authored-by: Thebora Kompanioni <theborakompanioni@users.noreply.github.com>

* Update src/i18n/README.md

Co-authored-by: Thebora Kompanioni <theborakompanioni@users.noreply.github.com>

* Update src/i18n/README.md

Co-authored-by: Thebora Kompanioni <theborakompanioni@users.noreply.github.com>

* Update public/sprite.svg

Co-authored-by: Thebora Kompanioni <theborakompanioni@users.noreply.github.com>

* Change link

* Run npm install

* Update readme

* Update readme again

Co-authored-by: Thebora Kompanioni <theborakompanioni@users.noreply.github.com>
2022-03-09 16:47:17 +01:00

88 lines
2.7 KiB
JSON

{
"name": "jam",
"version": "0.0.3",
"private": true,
"description": "A friendly UI for JoinMarket",
"repository": "git@github.com:joinmarket-webui/joinmarket-webui.git",
"license": "MIT",
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
},
"homepage": ".",
"devDependencies": {
"qrcode": "^1.5.0",
"@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",
"i18next": "^21.6.12",
"i18next-browser-languagedetector": "^6.1.3",
"react-i18next": "^11.15.5"
},
"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
}
}