-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 2.03 KB
/
Copy pathpackage.json
File metadata and controls
65 lines (65 loc) · 2.03 KB
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
{
"name": "atomic-swap-frontend",
"version": "0.1.0",
"private": true,
"dependencies": {
"@bitauth/libauth": "^2.0.0-alpha.8",
"@mainnet-cash/contract": "^1.1.30",
"@metamask/detect-provider": "^2.0.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^16.18.37",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"antd": "^5.6.3",
"bchaddrjs": "^0.5.2",
"bignumber.js": "^9.1.1",
"cashscript": "^0.8.1",
"ethers": "5.7.x",
"mainnet-js": "^1.1.30",
"react": "^18.2.0",
"react-app-rewired": "^2.2.1",
"react-dom": "^18.2.0",
"react-router-dom": "^6.14.0",
"react-scripts": "5.0.1",
"typescript": "^4.9.5",
"vue-buffer": "^0.0.1",
"web-vitals": "^2.1.4",
"zustand": "^4.3.8",
"algo-msgpack-with-bigint": "^2.1.1",
"libcrc721": "^0.1.1",
"dexie": "^3.2.4"
},
"scripts": {
"start": "cross-env REACT_APP_MAINNET=true react-app-rewired start",
"start:testnet": "cross-env REACT_APP_MAINNET=false react-app-rewired start",
"build": "rm -rf dist && mkdir dist && npm run build-testnet && mv build dist/chipnet && npm run build-mainnet && mv build/* dist && mv dist/* build",
"build-mainnet": "cross-env REACT_APP_MAINNET=true GENERATE_SOURCEMAP=false react-app-rewired build && cp build/index.html build/404.html",
"build-testnet": "cross-env PUBLIC_URL=. REACT_APP_MAINNET=false GENERATE_SOURCEMAP=false react-app-rewired build && cp build/index.html build/404.html",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"cross-env": "^7.0.3"
}
}