50 lines
1.3 KiB
JSON
50 lines
1.3 KiB
JSON
{
|
|
"name": "test_ui",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@material-ui/core": "^4.12.2",
|
|
"@metamask/detect-provider": "^1.2.0",
|
|
"@project-serum/sol-wallet-adapter": "^0.2.5",
|
|
"@solana/wallet-base": "^0.0.1",
|
|
"@solana/web3.js": "^1.22.0",
|
|
"@typechain/ethers-v5": "^7.0.1",
|
|
"ethers": "^5.4.1",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-scripts": "4.0.3"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "npm run build-contracts",
|
|
"start": "react-scripts start",
|
|
"build": "npm run build-contracts && react-scripts build",
|
|
"test": "npm run build-contracts && react-scripts test",
|
|
"eject": "react-scripts eject",
|
|
"build-contracts": "npm run build --prefix ../ethereum && node scripts/copyContracts.js && typechain --target=ethers-v5 --out-dir=src/ethers-contracts contracts/*.json"
|
|
},
|
|
"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": {
|
|
"@openzeppelin/contracts": "^4.2.0",
|
|
"@truffle/hdwallet-provider": "^1.4.1",
|
|
"copy-dir": "^1.3.0",
|
|
"truffle": "^5.4.1"
|
|
}
|
|
}
|