-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
75 lines (75 loc) · 2.6 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
{
"name": "signer",
"version": "0.1.2",
"private": true,
"dependencies": {
"@rainbow-me/rainbowkit": "^1.3.3",
"boring-avatars": "^1.10.1",
"ethers": "^5.7.2",
"firebase": "^9.23.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-qr-code": "^2.0.12",
"react-router-dom": "^6.21.3",
"styled-components": "^5.3.11",
"use-debounce": "^9.0.4",
"viem": "^1.21.4",
"wagmi": "^1.4.13"
},
"scripts": {
"start": "vite",
"start:functions": "cd functions && npm run serve &> /dev/null",
"build": "vite build",
"cypress": "NODE_ENV=development cypress open --e2e --browser chrome",
"test:ci": "NODE_ENV=production CI=true server-test 'npm start' 3000 \" cypress run --browser chrome --config 60000\"",
"test:ci:with_emulator": "NODE_ENV=production server-test 'start' 3000 'start:functions' 4000 'bash scripts/cy_parallel.sh'",
"test:ci:parallel": "npm run scy:director && NODE_ENV=production server-test 'start' '1234|3000' 'start:functions' 4000 'bash scripts/cy_parallel.sh'",
"test:ci:with_scy": "NODE_ENV=production server-test 'npm start' 3000 'bash scripts/cy_parallel.sh'",
"test:scy": "CYPRESS_API_URL='http://localhost:1234' cy2 run --parallel --record --key irrelevant --ci-build-id static --browser chrome'",
"scy:director": "docker stop sorry_cypress; docker rm sorry_cypress; docker run --name sorry_cypress -d -p 1234:1234 agoldis/sorry-cypress-director; docker ps",
"prepare": "husky install",
"lint": "eslint --fix src",
"upgrade:browserlist": "npx browserslist@latest --update-db",
"upgrade": "npm run upgrade:browserlist && ncu && npm outdated"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"rules": {
"import/no-anonymous-default-export": 0
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/eslint-parser": "^7.23.3",
"@babel/preset-react": "^7.23.3",
"@depay/web3-mock": "^13.26.0",
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@poap/skunk-linter": "^0.0.3",
"@vitejs/plugin-react": "^4.2.1",
"cy2": "^4.0.9",
"cypress": "^12.17.4",
"cypress-fail-fast": "^7.1.0",
"dotenv": "^16.3.1",
"eslint": "^8.56.0",
"eslint-plugin-react": "^7.33.2",
"husky": "^8.0.3",
"start-server-and-test": "^1.15.4",
"vite": "^5.0.11",
"vite-plugin-pwa": "^0.17.4",
"vite-plugin-svgr": "^4.2.0"
}
}