-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
135 lines (135 loc) · 4.62 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
{
"name": "api3-dao-dashboard",
"version": "0.1.0",
"private": true,
"homepage": ".",
"scripts": {
"build": "react-app-rewired build",
"ci:cypress": "yarn start-test \"yarn concurrently 'yarn eth:node' 'yarn ci:start'\" '8545|3000' 'yarn eth:deploy-dao-contracts-on-hardhat && yarn cypress:run'",
"ci:start": "FORCE_COLOR=true yarn start | cat",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"eject": "react-scripts eject",
"eth:deploy-dao-contracts-on-hardhat": "node dev-scripts/deploy-dao-contracts-on-hardhat.js",
"eth:node": "cd hardhat && npx hardhat node --network hardhat",
"eth:prepare-dao-contracts-for-hardhat": "node dev-scripts/prepare-dao-contracts-for-hardhat.js",
"eth:run-script": "cd hardhat && npx hardhat run",
"fix-dev-issues": "node dev-scripts/copy-localhost-data.js && node dev-scripts/generate-typechain-artifacts.js && node dev-scripts/scss-ts-hack.js",
"lint:fix": "eslint --fix --ext js,ts,tsx src dev-scripts",
"lint": "yarn prettier:check && eslint --ext js,ts,tsx src dev-scripts",
"prettier:check": "prettier --check ./**/*.{js,jsx,ts,tsx,json,css,scss,md}",
"prettier": "prettier --write ./**/*.{js,jsx,ts,tsx,json,css,scss,md}",
"postinstall": "yarn fix-dev-issues",
"postuninstall": "yarn fix-dev-issues",
"prepare": "husky install",
"send-to-account": "cd hardhat && npx hardhat send-to-account --address",
"create-proposal": "cd hardhat && npx hardhat create-proposal",
"start": "BROWSER=none react-app-rewired start",
"test:watch": "react-app-rewired test",
"test": "react-app-rewired test --watchAll=false",
"tsc:watch": "tsc --project tsconfig.json --watch",
"tsc": "tsc --project tsconfig.json"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn lint && yarn tsc"
}
},
"lint-staged": {
"./**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
]
},
"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"
]
},
"dependencies": {
"@sentry/react": "^6.19.7",
"@web3modal/wagmi": "^3.3.2",
"classnames": "^2.3.2",
"date-fns": "^2.30.0",
"ethers": "^5.7.2",
"immer": "^9.0.21",
"lodash": "^4.17.21",
"rc-tooltip": "^5.3.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-focus-lock": "^2.9.6",
"react-helmet-async": "^1.3.0",
"react-input-autosize": "^3.0.0",
"react-number-format": "^4.9.4",
"react-router-dom": "^5.3.4",
"react-toastify": "^7.0.4",
"viem": "^1.19.1",
"wagmi": "^1.4.6"
},
"devDependencies": {
"@api3/promise-utils": "^0.4.0",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@percy/cli": "1.18.0",
"@percy/cypress": "^3.1.2",
"@testing-library/cypress": "^9.0.0",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.5.2",
"@typechain/ethers-v5": "^11.1.2",
"@types/chai": "^4.3.11",
"@types/jest": "^27.5.2",
"@types/lodash": "^4.14.202",
"@types/mocha": "^10.0.6",
"@types/node": "^16.11.7",
"@types/react": "^18.2.46",
"@types/react-dom": "^18.2.18",
"@types/react-input-autosize": "^2.2.4",
"@types/react-router-dom": "^5.3.3",
"api3-dao": "git+https://github.com/api3dao/api3-dao.git#0b8bb17fbda0161d5d9fff00ed4562b91cc27af6",
"assert": "^2.1.0",
"chai": "^4.3.10",
"chalk": "^4.1.2",
"concurrently": "^7.6.0",
"cypress": "^13.15.2",
"cypress-plugin-tab": "^1.0.5",
"dotenv": "^16.3.1",
"hardhat": "^2.19.4",
"http-browserify": "^1.7.0",
"https-browserify": "^1.0.0",
"husky": "^8.0.3",
"lint-staged": "^13.3.0",
"os-browserify": "^0.3.0",
"prettier": "^3.3.3",
"react-app-rewired": "^2.2.1",
"react-scripts": "5.0.1",
"replace-in-file": "^6.3.5",
"sass": "^1.69.7",
"start-server-and-test": "^2.0.8",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"ts-node": "^10.9.2",
"typechain": "^8.3.2",
"typescript": "5.3.3",
"typescript-plugin-css-modules": "^5.0.2",
"url": "^0.11.3"
},
"resolutions": {
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@types/jest": "^27.5.2",
"@types/react": "^18.3.12",
"jest-regex-util": "^27.5.1",
"jest-watcher": "^27.5.1",
"jest-worker": "^27.5.1"
}
}