This repository has been archived by the owner on Jul 21, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
/
package.json
143 lines (143 loc) 路 5.22 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
{
"name": "mStable-app",
"version": "1.16.2",
"homepage": "./",
"private": true,
"description": "mStable 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",
"@habx/apollo-multi-endpoint-link": "^1.1.0",
"@sentry/react": "^5.19.0",
"@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": "^25.2.1",
"@types/lodash.assign": "^4.2.6",
"@types/lodash.groupby": "^4.6.6",
"@types/lossless-json": "^1.0.0",
"@types/numeral": "^0.0.28",
"@types/react-dom": "^17.0.0",
"@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.14.0",
"date-fns": "^2.14.0",
"dotenv": "^8.2.0",
"dotenv-expand": "^5.1.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-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": "^4.0.45",
"lossless-json": "^1.0.4",
"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-router-dom": "^5.2.0",
"react-scripts": "^4.0.1",
"react-swipeable": "^5.5.1",
"react-tooltip": "^4.2.7",
"react-transition-group": "^4.4.1",
"react-use": "^15.3.2",
"recharts": "^2.0.0-beta.8",
"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",
"utility-types": "^3.10.0",
"web3-utils": "^1.2.6"
},
"scripts": {
"build": "NODE_OPTIONS=--max_old_space_size=4096 REACT_APP_VERSION=$npm_package_version react-scripts 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": "cp ./node_modules/@mstable/protocol/build/contracts/*.json ./lib/abis/combined && cp ./lib/abis/overrides/*.json ./lib/abis/combined && yarn typechain --target ethers-v4 --outDir src/typechain './lib/abis/combined/*.json'",
"eject": "react-scripts eject",
"lint": "yarn eslint './src/**/*.{ts,tsx}' --fix",
"start": "DISABLE_ESLINT=true react-scripts start",
"test:ropsten": "env-cmd -f .env.example.ropsten react-scripts test",
"test": "react-scripts 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",
"truffle:migrate": "cd ./lib/mStable-subgraph && yarn truffle:migrate",
"truffle:script": "cd ./lib/mStable-subgraph && yarn truffle:script"
},
"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",
"@mstable/protocol": "^1.2.1",
"@testing-library/react-hooks": "^3.2.1",
"@typechain/ethers-v4": "^1.0.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": "^1.19.1",
"react-test-renderer": "^16.13.1",
"ts-node": "^8.10.2",
"typechain": "^2.0.0",
"typescript": "^4.1.3",
"yargs": "^15.4.1"
}
}