Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab/package.json
{ | { | ||||
"name": "cashtab", | "name": "cashtab", | ||||
"version": "1.0.0", | "version": "1.0.0", | ||||
"private": true, | "private": true, | ||||
"homepage": "https://cashtabapp.com/", | "homepage": "https://cashtabapp.com/", | ||||
"dependencies": { | "dependencies": { | ||||
"@ant-design/icons": "^4.3.0", | "@ant-design/icons": "^4.3.0", | ||||
"@fortawesome/fontawesome-free": "^5.15.1", | "@fortawesome/fontawesome-free": "^5.15.1", | ||||
"@zxing/library": "0.8.0", | "@zxing/library": "0.8.0", | ||||
"antd": "^4.9.3", | "antd": "^4.9.3", | ||||
"bignumber.js": "^9.0.0", | "bignumber.js": "^9.0.0", | ||||
"cashaddrjs": "^0.3.12", | "cashaddrjs": "^0.3.12", | ||||
"dotenv": "^8.2.0", | "dotenv": "^8.2.0", | ||||
"dotenv-expand": "^5.1.0", | "dotenv-expand": "^5.1.0", | ||||
"ecashaddrjs": "^1.0.1", | "ecashaddrjs": "^1.0.1", | ||||
"ethereum-blockies-base64": "^1.0.2", | "ethereum-blockies-base64": "^1.0.2", | ||||
"fbt": "^0.16.4", | |||||
"localforage": "^1.9.0", | "localforage": "^1.9.0", | ||||
"lodash.isempty": "^4.4.0", | "lodash.isempty": "^4.4.0", | ||||
"lodash.isequal": "^4.5.0", | "lodash.isequal": "^4.5.0", | ||||
"minimal-slp-wallet": "^3.3.1", | "minimal-slp-wallet": "^3.3.1", | ||||
"qrcode.react": "^1.0.0", | "qrcode.react": "^1.0.0", | ||||
"react": "^17.0.1", | "react": "^17.0.1", | ||||
"react-app-polyfill": "^2.0.0", | "react-app-polyfill": "^2.0.0", | ||||
"react-copy-to-clipboard": "^5.0.3", | "react-copy-to-clipboard": "^5.0.3", | ||||
"react-dev-utils": "^11.0.4", | "react-dev-utils": "^11.0.4", | ||||
"react-device-detect": "^1.15.0", | "react-device-detect": "^1.15.0", | ||||
"react-dom": "^17.0.1", | "react-dom": "^17.0.1", | ||||
"react-ga": "^3.3.0", | "react-ga": "^3.3.0", | ||||
"react-image": "^4.0.3", | "react-image": "^4.0.3", | ||||
"react-intl": "^5.20.4", | |||||
"react-router": "^5.2.0", | "react-router": "^5.2.0", | ||||
"react-router-dom": "^5.2.0", | "react-router-dom": "^5.2.0", | ||||
"styled-components": "^4.4.0" | "styled-components": "^4.4.0" | ||||
}, | }, | ||||
"lint-staged": { | "lint-staged": { | ||||
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [ | "src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [ | ||||
"prettier --write", | "prettier --write", | ||||
"git add" | "git add" | ||||
] | ] | ||||
}, | }, | ||||
"scripts": { | "scripts": { | ||||
"manifest-fbts": "NODE_ENV=production node node_modules/babel-plugin-fbt/dist/bin/manifest --src src", | "prestart": "npm run compile", | ||||
"collect-fbts": "NODE_ENV=production node node_modules/babel-plugin-fbt/dist/bin/collectFbt --pretty --manifest < .src_manifest.json > .source_strings.json", | "prebuild": "npm run compile", | ||||
"translate-fbts": "NODE_ENV=production node node_modules/babel-plugin-fbt/dist/bin/translate.js --pretty --translations translations/*.json --jenkins > src/translatedFbts.json", | |||||
"translate-fbts-single-file": "NODE_ENV=production node node_modules/babel-plugin-fbt/dist/bin/translate.js --pretty --jenkins --stdin < translation_input.json > src/translatedFbts.json", | |||||
"clean-fbts": "rm .enum_manifest.json .src_manifest.json .source_strings.json src/translatedFbts.json 2&> /dev/null || exit 0", | |||||
"fbt-generate-translations": "NODE_ENV=production node node_modules/fbt-generate-translations --locales src/i18n/locales.js --multi-files translations", | |||||
"fbt-generate-translations-single-file": "NODE_ENV=production node node_modules/fbt-generate-translations --locales src/i18n/locales.js", | |||||
"prepare-fbts": "NODE_ENV=production npm run manifest-fbts && npm run collect-fbts && npm run fbt-generate-translations && npm run translate-fbts", | |||||
"prestart": "npm run prepare-fbts", | |||||
"prebuild": "npm run prepare-fbts", | |||||
"start": "node scripts/start.js", | "start": "node scripts/start.js", | ||||
"build": "node scripts/build.js", | "build": "node scripts/build.js", | ||||
"extension": "./scripts/extension.sh", | "extension": "./scripts/extension.sh", | ||||
"predeploy": "npm run build", | "predeploy": "npm run build", | ||||
"test": "node scripts/test.js", | "test": "node scripts/test.js", | ||||
"test:coverage": "CI=true npm run test --coverage", | "test:coverage": "CI=true npm run test --coverage", | ||||
"debug": "node --inspect-brk=9229 scripts/start.js" | "debug": "node --inspect-brk=9229 scripts/start.js", | ||||
"extract": "formatjs extract src/**/*.{js,jsx} --out-file lang/en-us.json --id-interpolation-pattern '[sha512:contenthash:base64:6]' --format transifex", | |||||
"compile": "formatjs compile-folder --ast --format transifex lang src/compiled-lang" | |||||
}, | }, | ||||
"eslintConfig": { | "eslintConfig": { | ||||
"extends": "react-app" | "extends": "react-app" | ||||
}, | }, | ||||
"browserslist": { | "browserslist": { | ||||
"production": [ | "production": [ | ||||
">0.2%", | ">0.2%", | ||||
"not dead", | "not dead", | ||||
▲ Show 20 Lines • Show All 66 Lines • ▼ Show 20 Lines | "jest": { | ||||
"watchPlugins": [ | "watchPlugins": [ | ||||
"jest-watch-typeahead/filename", | "jest-watch-typeahead/filename", | ||||
"jest-watch-typeahead/testname" | "jest-watch-typeahead/testname" | ||||
] | ] | ||||
}, | }, | ||||
"babel": { | "babel": { | ||||
"presets": [ | "presets": [ | ||||
"react-app" | "react-app" | ||||
], | |||||
"plugins": [ | |||||
[ | |||||
"formatjs", | |||||
{ | |||||
"idInterpolationPattern": "[sha512:contenthash:base64:6]", | |||||
"ast": true | |||||
} | |||||
] | |||||
] | ] | ||||
}, | }, | ||||
"devDependencies": { | "devDependencies": { | ||||
"@ant-design/dark-theme": "^1.0.3", | "@ant-design/dark-theme": "^1.0.3", | ||||
"@babel/core": "^7.6.0", | "@babel/core": "^7.6.0", | ||||
"@babel/node": "^7.12.6", | "@babel/node": "^7.12.6", | ||||
"@formatjs/cli": "^4.2.27", | |||||
"@psf/bch-js": "^4.16.1", | "@psf/bch-js": "^4.16.1", | ||||
"@svgr/webpack": "^5.5.0", | "@svgr/webpack": "^5.5.0", | ||||
"@testing-library/react": "^11.2.2", | "@testing-library/react": "^11.2.2", | ||||
"@testing-library/react-hooks": "^3.7.0", | "@testing-library/react-hooks": "^3.7.0", | ||||
"babel-eslint": "^10.0.3", | "babel-eslint": "^10.0.3", | ||||
"babel-jest": "^26.6.3", | "babel-jest": "^26.6.3", | ||||
"babel-loader": "^8.0.6", | "babel-loader": "^8.0.6", | ||||
"babel-plugin-fbt": "^0.19.1", | "babel-plugin-formatjs": "^10.3.2", | ||||
"babel-plugin-fbt-runtime": "^0.9.16", | |||||
"babel-plugin-named-asset-import": "^0.3.7", | "babel-plugin-named-asset-import": "^0.3.7", | ||||
"babel-preset-react-app": "^10.0.0", | "babel-preset-react-app": "^10.0.0", | ||||
"camelcase": "^5.3.1", | "camelcase": "^5.3.1", | ||||
"case-sensitive-paths-webpack-plugin": "^2.3.0", | "case-sensitive-paths-webpack-plugin": "^2.3.0", | ||||
"css-loader": "^5.0.1", | "css-loader": "^5.0.1", | ||||
"eslint": "^7.22.0", | "eslint": "^7.22.0", | ||||
"eslint-config-react-app": "^6.0.0", | "eslint-config-react-app": "^6.0.0", | ||||
"eslint-plugin-flowtype": "^5.2.0", | "eslint-plugin-flowtype": "^5.2.0", | ||||
"eslint-plugin-import": "^2.22.1", | "eslint-plugin-import": "^2.22.1", | ||||
"eslint-plugin-jsx-a11y": "^6.4.1", | "eslint-plugin-jsx-a11y": "^6.4.1", | ||||
"eslint-plugin-react": "^7.22.0", | "eslint-plugin-react": "^7.22.0", | ||||
"eslint-plugin-react-hooks": "^4.2.0", | "eslint-plugin-react-hooks": "^4.2.0", | ||||
"eslint-webpack-plugin": "^2.5.4", | "eslint-webpack-plugin": "^2.5.4", | ||||
"extensionizer": "^1.0.1", | "extensionizer": "^1.0.1", | ||||
"fbt-generate-translations": "^0.0.4", | |||||
"file-loader": "^6.2.0", | "file-loader": "^6.2.0", | ||||
"fs-extra": "^7.0.1", | "fs-extra": "^7.0.1", | ||||
"html-webpack-plugin": "^4.5.1", | "html-webpack-plugin": "^4.5.1", | ||||
"is-wsl": "^1.1.0", | "is-wsl": "^1.1.0", | ||||
"jest": "^26.6.3", | "jest": "^26.6.3", | ||||
"jest-environment-jsdom-fifteen": "^1.0.2", | "jest-environment-jsdom-fifteen": "^1.0.2", | ||||
"jest-junit": "^12.0.0", | "jest-junit": "^12.0.0", | ||||
"jest-resolve": "^26.6.2", | "jest-resolve": "^26.6.2", | ||||
Show All 29 Lines |