2020-10-20 21:46:44 +08:00
|
|
|
{
|
|
|
|
"name": "web",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"private": true,
|
|
|
|
"dependencies": {
|
2023-08-04 01:22:57 +08:00
|
|
|
"@ant-design/cssinjs": "1.16.1",
|
2022-08-28 23:14:04 +08:00
|
|
|
"@ant-design/icons": "^4.7.0",
|
2022-08-29 13:45:31 +08:00
|
|
|
"@craco/craco": "^6.4.5",
|
|
|
|
"@crowdin/cli": "^3.7.10",
|
2023-02-01 22:06:40 +08:00
|
|
|
"@ctrl/tinycolor": "^3.5.0",
|
|
|
|
"@emotion/react": "^11.10.5",
|
2023-07-20 17:51:36 +08:00
|
|
|
"@metamask/eth-sig-util": "^6.0.0",
|
2023-08-13 23:58:57 +08:00
|
|
|
"@web3-onboard/coinbase": "^2.2.5",
|
|
|
|
"@web3-onboard/core": "^2.20.5",
|
|
|
|
"@web3-onboard/frontier": "^2.0.4",
|
|
|
|
"@web3-onboard/gnosis": "^2.1.10",
|
|
|
|
"@web3-onboard/infinity-wallet": "^2.0.4",
|
|
|
|
"@web3-onboard/injected-wallets": "^2.10.4",
|
|
|
|
"@web3-onboard/react": "^2.8.10",
|
|
|
|
"@web3-onboard/sequence": "^2.0.8",
|
|
|
|
"@web3-onboard/taho": "^2.0.5",
|
|
|
|
"@web3-onboard/trust": "^2.0.4",
|
2023-05-22 22:21:56 +08:00
|
|
|
"antd": "5.2.3",
|
2023-02-01 22:06:40 +08:00
|
|
|
"antd-token-previewer": "^1.1.0-22",
|
2023-07-20 17:51:36 +08:00
|
|
|
"buffer": "^6.0.3",
|
2021-05-30 18:35:05 +08:00
|
|
|
"codemirror": "^5.61.1",
|
2021-03-14 23:08:08 +08:00
|
|
|
"copy-to-clipboard": "^3.3.1",
|
2022-08-28 23:14:04 +08:00
|
|
|
"core-js": "^3.25.0",
|
2022-08-29 13:45:31 +08:00
|
|
|
"craco-less": "^2.0.0",
|
2023-08-14 14:32:12 +08:00
|
|
|
"echarts": "^5.4.3",
|
2023-08-13 23:58:57 +08:00
|
|
|
"ethers": "5.6.9",
|
2021-12-31 00:36:36 +08:00
|
|
|
"file-saver": "^2.0.5",
|
2021-11-10 22:27:58 +08:00
|
|
|
"i18n-iso-countries": "^7.0.0",
|
2021-02-19 23:23:59 +08:00
|
|
|
"i18next": "^19.8.9",
|
2023-02-16 22:53:28 +08:00
|
|
|
"libphonenumber-js": "^1.10.19",
|
2020-10-20 23:14:03 +08:00
|
|
|
"moment": "^2.29.1",
|
2022-08-28 23:14:04 +08:00
|
|
|
"react": "^18.2.0",
|
2022-08-07 11:51:53 +08:00
|
|
|
"react-app-polyfill": "^3.0.0",
|
2021-05-30 18:35:05 +08:00
|
|
|
"react-codemirror2": "^7.2.1",
|
2021-03-14 15:50:36 +08:00
|
|
|
"react-cropper": "^2.1.7",
|
2022-08-28 23:14:04 +08:00
|
|
|
"react-device-detect": "^2.2.2",
|
|
|
|
"react-dom": "^18.2.0",
|
2021-02-13 14:22:49 +08:00
|
|
|
"react-github-corner": "^2.5.0",
|
2023-07-25 15:49:15 +08:00
|
|
|
"react-google-one-tap-login": "^0.1.1",
|
2021-04-29 19:51:03 +08:00
|
|
|
"react-helmet": "^6.1.0",
|
2022-08-28 23:14:04 +08:00
|
|
|
"react-highlight-words": "^0.18.0",
|
2021-02-19 23:23:59 +08:00
|
|
|
"react-i18next": "^11.8.7",
|
2023-07-20 17:51:36 +08:00
|
|
|
"react-metamask-avatar": "^1.2.1",
|
2022-08-28 23:14:04 +08:00
|
|
|
"react-router-dom": "^5.3.3",
|
2022-08-29 13:45:31 +08:00
|
|
|
"react-scripts": "5.0.1",
|
2022-08-07 11:51:53 +08:00
|
|
|
"react-social-login-buttons": "^3.4.0"
|
2020-10-20 21:46:44 +08:00
|
|
|
},
|
|
|
|
"scripts": {
|
2021-04-29 15:42:59 +08:00
|
|
|
"start": "cross-env PORT=7001 craco start",
|
2023-08-27 11:17:18 +08:00
|
|
|
"build": "craco build",
|
2021-03-26 23:18:24 +08:00
|
|
|
"test": "craco test",
|
2021-07-03 10:09:29 +08:00
|
|
|
"eject": "craco eject",
|
2021-09-17 17:07:31 +08:00
|
|
|
"crowdin:sync": "crowdin upload && crowdin download",
|
2022-08-05 23:40:04 +08:00
|
|
|
"preinstall": "node -e \"if (process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('Use yarn for installing: https://yarnpkg.com/en/docs/install')\"",
|
2022-08-31 23:26:58 +08:00
|
|
|
"fix": "eslint --fix src/**/*.{js,jsx,ts,tsx}",
|
|
|
|
"lint:css": "stylelint src/**/*.{css,less} --fix"
|
2020-10-20 21:46:44 +08:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"extends": "react-app"
|
|
|
|
},
|
|
|
|
"browserslist": {
|
|
|
|
"production": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
2022-03-05 16:32:37 +08:00
|
|
|
"not op_mini all",
|
|
|
|
"ie > 8"
|
2020-10-20 21:46:44 +08:00
|
|
|
],
|
|
|
|
"development": [
|
|
|
|
"last 1 chrome version",
|
|
|
|
"last 1 firefox version",
|
2022-03-05 16:32:37 +08:00
|
|
|
"last 1 safari version",
|
|
|
|
"ie > 8"
|
2020-10-20 21:46:44 +08:00
|
|
|
]
|
2021-04-29 15:42:59 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-08-29 13:45:31 +08:00
|
|
|
"@babel/core": "^7.18.13",
|
|
|
|
"@babel/eslint-parser": "^7.18.9",
|
2023-08-18 21:25:57 +08:00
|
|
|
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
2022-08-29 13:45:31 +08:00
|
|
|
"@babel/preset-react": "^7.18.6",
|
2022-07-10 15:45:55 +08:00
|
|
|
"cross-env": "^7.0.3",
|
2023-02-03 19:59:28 +08:00
|
|
|
"cypress": "^12.5.1",
|
2022-08-29 15:23:51 +08:00
|
|
|
"eslint": "8.22.0",
|
2022-08-29 13:45:31 +08:00
|
|
|
"eslint-plugin-react": "^7.31.1",
|
2023-08-18 22:17:16 +08:00
|
|
|
"eslint-plugin-unused-imports": "^2.0.0",
|
2022-08-08 00:10:31 +08:00
|
|
|
"husky": "^4.3.8",
|
2022-08-31 23:26:58 +08:00
|
|
|
"lint-staged": "^13.0.3",
|
|
|
|
"stylelint": "^14.11.0",
|
|
|
|
"stylelint-config-recommended-less": "^1.0.4",
|
2023-08-18 22:17:16 +08:00
|
|
|
"stylelint-config-standard": "^28.0.0",
|
|
|
|
"@testing-library/jest-dom": "^4.2.4",
|
|
|
|
"@testing-library/react": "^9.3.2",
|
|
|
|
"@testing-library/user-event": "^7.1.2"
|
2022-08-08 00:10:31 +08:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
2022-08-31 23:26:58 +08:00
|
|
|
"src/**/*.{css,less}": [
|
|
|
|
"stylelint --fix"
|
|
|
|
],
|
|
|
|
"src/**/*.{js,jsx,ts,tsx}": [
|
|
|
|
"eslint --fix"
|
2022-08-08 00:10:31 +08:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
2020-10-20 21:46:44 +08:00
|
|
|
}
|
|
|
|
}
|