-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
129 lines (129 loc) Β· 4.48 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
{
"name": "mStable-governance-app",
"homepage": "./",
"version": "1.3.0",
"private": true,
"description": "mStable Governance 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",
"@mstable/components": "^1.0.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/lodash.assign": "^4.2.6",
"@types/lodash.groupby": "^4.6.6",
"@types/react-router": "^5.1.8",
"@types/react-router-dom": "^5.1.6",
"@types/react-table": "^7.0.24",
"@types/styled-components": "^5.1.0",
"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.33.0",
"date-fns": "^2.16.1",
"ethers": "^4.0.45",
"highcharts": "^8.2.0",
"highcharts-react-official": "^3.0.0",
"react": "^16.13.1",
"react-countup": "^4.3.3",
"react-dom": "^16.13.1",
"react-github-btn": "^1.2.0",
"react-loading-skeleton": "^2.0.1",
"react-range": "^1.8.7",
"react-router-dom": "^5.2.0",
"react-scripts": "^4.0.2",
"react-table": "^7.6.0",
"react-tooltip": "^4.2.7",
"react-transition-group": "^4.4.1",
"react-use": "^15.3.2",
"styled-components": "^5.1.0",
"styled-reset": "^4.1.4",
"subscriptions-transport-ws": "^0.9.16",
"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": "REACT_APP_VERSION=$npm_package_version react-scripts --max_old_space_size=4096 build",
"build:ipfs": "cp .env.example.mainnet .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-v4 --outDir src/typechain './node_modules/@mstable/protocol/abis/*.json'",
"eject": "react-scripts eject",
"lint": "yarn eslint './src/**/*.{ts,tsx}' --fix",
"start": "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.21.4",
"@graphql-codegen/fragment-matcher": "^2.0.1",
"@graphql-codegen/schema-ast": "^1.18.2",
"@graphql-codegen/typescript": "^1.22.0",
"@graphql-codegen/typescript-operations": "^1.17.16",
"@graphql-codegen/typescript-react-apollo": "^2.2.4",
"@mstable/protocol": "^2.3.2",
"@testing-library/react-hooks": "^3.2.1",
"@typechain/ethers-v4": "^1.0.0",
"@types/jest": "^25.2.1",
"@types/react-dom": "^17.0.0",
"@types/react-transition-group": "^4.2.4",
"@typescript-eslint/eslint-plugin": "^4.4.1",
"cross-fetch": "^3.0.5",
"dotenv": "^8.2.0",
"env-cmd": "^10.1.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-airbnb-typescript": "^7.0.0",
"eslint-config-prettier": "^6.10.0",
"eslint-config-react-app": "^5.2.1",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.18.3",
"eslint-plugin-react-hooks": "^2.4.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"
}
}