forked from ChainSafe/chainbridge-ui
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
executable file
·95 lines (95 loc) · 3.38 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
{
"name": "@chainsafe/chainbridge-ui",
"version": "1.0.0",
"private": true,
"dependencies": {
"@babel/core": "^7.12.3",
"@babel/runtime": "^7.12.1",
"@celo-tools/celo-ethers-wrapper": "^0.0.5",
"@chainsafe/chainbridge-contracts": "1.0.5",
"@chainsafe/common-components": "1.0.26",
"@chainsafe/common-theme": "1.0.10",
"@chainsafe/web3-context": "1.2.0",
"@material-ui/styles": "4.10.0",
"@polkadot/api": "3.11.1",
"@polkadot/extension-dapp": "0.37.1",
"@polkadot/keyring": "5.6.3",
"@polkadot/networks": "5.6.3",
"@polkadot/types": "3.9.3",
"@polkadot/ui-keyring": "0.69.1",
"@polkadot/ui-settings": "0.69.1",
"@polkadot/util": "5.6.3",
"@polkadot/util-crypto": "5.6.3",
"@sentry/react": "^5.26.0",
"@types/history": "^4.7.8",
"bnc-onboard": "1.26.1",
"clsx": "^1.1.1",
"dayjs": "^1.9.1",
"ethers": "^5.4.5",
"formik": "^2.2.0",
"history": "^5.0.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.3",
"react-toast-notifications": "2.4.0",
"yup": "^0.29.3"
},
"devDependencies": {
"@polkadot/typegen": "^4.11.2",
"@sentry/cli": "1.58.0",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.0.4",
"@testing-library/user-event": "^12.1.7",
"@types/jest": "^26.0.14",
"@types/node": "^14.11.8",
"@types/react": "^16.9.52",
"@types/react-dom": "^16.9.0",
"@types/yup": "^0.29.9",
"chalk": "^4.1.0",
"craco": "^0.0.3",
"husky": "4.3.0",
"prettier": "2.1.2",
"pretty-quick": "3.0.2",
"typescript": "^4.0.3"
},
"scripts": {
"start": "yarn setup:copy-dev-config && craco --max_old_space_size=4096 start",
"build": "craco --max_old_space_size=4096 build",
"sentry": "(export REACT_APP_SENTRY_RELEASE=$(sentry-cli releases propose-version); node scripts/sentry.js)",
"release": "(export REACT_APP_SENTRY_RELEASE=$(sentry-cli releases propose-version); yarn build && node scripts/sentry.js)",
"test": "react-scripts test",
"analyze": "source-map-explorer 'build/static/js/*.js'",
"clean:dependencies": "rm -rf ./node_modules && rm -rf ./*/**/node_modules",
"clean:dist": "rm -rf ./*/**/dist && rm -rf ./*/**/build && rm -rf ./*/**/storybook-static",
"clean": "yarn clean:dependencies && yarn clean:dist",
"prettier": "prettier --config .prettierrc 'packages/**/src/**/*.{ts,tsx,js,jsx,md}' --write",
"start:tunnel": "./ngrok http https://localhost:3000",
"start:substrate": "docker-compose -f ./docker-compose-substrate.yml up -V",
"start:centrifuge": "docker-compose -f ./docker-compose-centrifuge.yml up -V",
"start:evm-example": "docker-compose -f ./docker-compose-node.yml up -V",
"setup:example": "./scripts/setup-eth-example.sh && node --experimental-json-modules ./scripts/setup-sub-example.mjs",
"setup:centrifuge": "./scripts/setup-eth-centrifuge.sh",
"setup:copy-dev-config": "./scripts/copy-dev-config.sh"
},
"cracoConfig": "./craco.config.cjs",
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick 'packages/**/src/**/*.{ts,tsx,js,jsx,md}' --staged"
}
}
}