-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
150 lines (150 loc) · 5.25 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
{
"name": "mstable-earn-app",
"version": "1.0.0",
"homepage": "./",
"private": true,
"description": "mStable Earn App",
"author": "Stability Labs Pty. Ltd. <hello@stabilitylabs.co>",
"license": "LGPL-3.0-or-later",
"dependencies": {
"@apollo/client": "^3.1.1",
"@apollo/react-common": "^3.2.0-beta.1",
"@apollo/react-hooks": "^3.2.0-beta.1",
"@ethersproject/abi": "^5.0.12",
"@ethersproject/abstract-provider": "^5.0.9",
"@ethersproject/logger": "^5.0.9",
"@ethersproject/providers": "^5.0.23",
"@gnosis.pm/safe-apps-onboard": "^0.2.2",
"@habx/apollo-multi-endpoint-link": "^1.1.0",
"@mstable/protocol": "2.1.0",
"@rescripts/cli": "0.0.16",
"@testing-library/jest-dom": "^5.7.0",
"@testing-library/react": "^10.0.4",
"@testing-library/user-event": "^10.1.2",
"@types/date-fns": "^2.6.0",
"@types/jest": "^26.0.20",
"@types/lodash.assign": "^4.2.6",
"@types/lodash.groupby": "^4.6.6",
"@types/lossless-json": "^1.0.0",
"@types/node": "^14.14.31",
"@types/numeral": "^0.0.28",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.1",
"@types/react-router-dom": "^5.1.6",
"@types/react-transition-group": "^4.2.4",
"@types/recharts": "^1.8.16",
"@types/styled-components": "^5.1.0",
"@typescript-eslint/eslint-plugin": "^4.11.0",
"@typescript-eslint/parser": "^4.5.0",
"apollo-boost": "^0.4.9",
"apollo-cache-persist": "^0.1.1",
"apollo-link": "^1.2.14",
"apollo-link-error": "^1.1.13",
"apollo-utilities": "^1.3.4",
"bignumber.js": "^9.0.0",
"bnc-onboard": "^1.35.2",
"date-fns": "^2.14.0",
"dotenv": "^8.2.0",
"dotenv-expand": "^5.1.0",
"emojisplosion": "^2.5.0",
"eslint": "^7.11.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-testing-library": "^3.9.2",
"eslint-webpack-plugin": "^2.1.0",
"ethereumjs-util": "^7.0.4",
"ethers": "^5.0.31",
"numeral": "^2.0.6",
"react": "^16.13.1",
"react-countup": "^4.3.3",
"react-dom": "^16.13.1",
"react-github-btn": "^1.2.0",
"react-is": "^16.13.1",
"react-loading-skeleton": "^2.0.1",
"react-modal-hook": "^3.0.0",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"react-tooltip": "^4.2.7",
"react-transition-group": "^4.4.1",
"react-use": "^15.3.2",
"recharts": "1.8.5",
"styled-components": "^5.1.0",
"styled-reset": "^4.1.4",
"ts-pipe-compose": "^0.2.0",
"use-clipboard-copy": "^0.1.2",
"use-onclickoutside": "^0.3.1",
"web3-utils": "^1.2.6"
},
"scripts": {
"build": "NODE_OPTIONS=--max_old_space_size=4096 REACT_APP_VERSION=$npm_package_version rescripts build",
"build:ipfs": "cp .env.example.mainnet .env && yarn && yarn run codegen && yarn run build",
"build:ipfs:kovan": "cp .env.example.kovan .env && yarn && yarn run codegen && yarn run build",
"build:ipfs:ropsten": "cp .env.example.ropsten .env && yarn && yarn run codegen && yarn run build",
"codegen": "yarn codegen:typechain && yarn codegen:graphql",
"codegen:graphql": "graphql-codegen --config ./codegen.yml -r dotenv/config",
"codegen:typechain": "yarn typechain --target ethers-v5 --outDir src/typechain './lib/abis/*.json'",
"eject": "rescripts eject",
"lint": "yarn eslint './src/**/*.{ts,tsx}' --fix",
"start": "DISABLE_ESLINT=true rescripts start",
"test:ropsten": "env-cmd -f .env.example.ropsten rescripts test",
"test": "rescripts test",
"script": "yarn ts-node --project ./scripts/tsconfig.json ./scripts/run.ts",
"vault-breakdown": "yarn run script vault-breakdown",
"platform-rewards": "yarn run script platform-rewards",
"merkle-root-hash": "yarn run script merkle-root-hash"
},
"eslintConfig": {
"extends": "react-app"
},
"husky": {
"hooks": {
"pre-push": "yarn lint"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@graphql-codegen/cli": "1.13.5",
"@graphql-codegen/fragment-matcher": "1.13.5",
"@graphql-codegen/schema-ast": "1.17.3",
"@graphql-codegen/typescript": "1.13.5",
"@graphql-codegen/typescript-operations": "1.13.5",
"@graphql-codegen/typescript-react-apollo": "1.13.5",
"@testing-library/react-hooks": "^3.2.1",
"@typechain/ethers-v5": "^6.0.0",
"babel-eslint": "^10.1.0",
"cross-fetch": "^3.0.5",
"env-cmd": "^10.1.0",
"eslint-config-airbnb-typescript": "^12.0.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"graphql": "^14.6.0",
"graphql-tag": "^2.10.3",
"husky": "^4.2.5",
"prettier": "^2.2.1",
"react-test-renderer": "^16.13.1",
"terser-webpack-plugin": "^5.2.4",
"ts-node": "^8.10.2",
"typechain": "^4.0.2",
"typescript": "4.2.2",
"yargs": "^15.4.1"
}
}