-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 3.95 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "gafi-dashboard",
"private": true,
"version": "0.4.2",
"keywords": [
"substrate",
"substrate-ui",
"polkadot-js"
],
"scripts": {
"dev": "vite --host",
"lint": "eslint src --ext .ts,.tsx",
"build": "vite build",
"preview": "vite preview --host",
"typegen": "yarn get:testnet:metadata && yarn generate:defs && yarn generate:meta",
"mainnet:typegen": "yarn mainnet:generate:defs && yarn mainnet:generate:meta",
"get:testnet:metadata": "rm -rf ./edgeware.json && curl -H \"Content-Type: application/json\" -d '{\"id\":\"1\", \"jsonrpc\":\"2.0\", \"method\": \"state_getMetadata\", \"params\":[]}' https://rpc-test.gafi.network >> edgeware.json",
"generate:defs": "ts-node --skip-project node_modules/.bin/polkadot-types-from-defs --package gafi-dashboard/interfaces --input ./src/interfaces --endpoint ./edgeware.json",
"generate:meta": "ts-node --skip-project node_modules/.bin/polkadot-types-from-chain --package gafi-dashboard/interfaces --endpoint ./edgeware.json --output ./src/interfaces",
"test": "jest"
},
"dependencies": {
"@chakra-ui/react": "^2.4.5",
"@emotion/react": "^11",
"@emotion/styled": "^11",
"@ethersproject/bignumber": "^5.6.0",
"@fontsource-variable/lexend": "^5.0.3",
"@graphql-codegen/cli": "^2.6.2",
"@graphql-codegen/typescript": "^2.4.11",
"@graphql-codegen/typescript-operations": "^2.4.0",
"@graphql-codegen/typescript-react-query": "^4.0.6",
"@polkadot/api": "^10.6.1",
"@polkadot/extension-dapp": "^0.46.2",
"@polkadot/keyring": "^12.1.2",
"@polkadot/networks": "^12.1.2",
"@polkadot/typegen": "^10.9.1",
"@polkadot/types": "^10.6.1",
"@polkadot/ui-keyring": "^3.3.1",
"@polkadot/ui-settings": "^3.3.1",
"@polkadot/util": "^12.1.2",
"@polkadot/util-crypto": "^12.1.2",
"@reduxjs/toolkit": "^1.9.5",
"@rehooks/local-storage": "^2.4.4",
"@tanstack/react-query": "^4.29.14",
"@tanstack/react-query-devtools": "^4.29.15",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.4.3",
"axios": "^1.1.2",
"date-fns": "^2.30.0",
"framer-motion": "^6.5.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"react": "^18.2.0",
"react-cropper": "^2.3.3",
"react-devtools": "^4.28.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.44.3",
"react-i18next": "^12.3.1",
"react-jazzicon": "^1.0.4",
"react-json-view": "^1.21.3",
"react-redux": "^8.1.1",
"react-router-dom": "^6.13.0",
"swiper": "^9.4.1",
"ts-jest": "^29.1.0",
"vite-tsconfig-paths": "^4.2.0",
"web3": "^4.0.1"
},
"devDependencies": {
"@types/jest": "^29.5.2",
"@types/node": "^20.2.6",
"@types/react": "^18.2.11",
"@types/react-dom": "^18.2.4",
"@types/react-router-dom": "^5.2.2",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"@vitejs/plugin-react-swc": "^3.0.0",
"eslint": "^8.42.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-refresh": "^0.3.4",
"prettier": "^2.8.8",
"ts-node": "^10.9.1",
"typescript": "^5.1.0",
"vite": "^4.3.9",
"vite-plugin-svgr": "^3.2.0"
},
"resolutions": {
"eslint-plugin-jsx-a11y": "6.5.1"
},
"eslintConfig": {
"extends": [
"react-app",
"eslint:recommended",
"prettier"
]
},
"engines": {
"node": ">=16",
"npm": ">=8"
},
"browserslist": {
"production": [
">0.2%",
"not ie <= 99",
"not android <= 4.4.4",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"packageManager": "[email protected]"
}