mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
dependencies cleanup and updates
This commit is contained in:
parent
023ddafd13
commit
ff36e07a45
@ -3,7 +3,9 @@ exports.onCreateWebpackConfig = ({ actions }) => {
|
||||
node: {
|
||||
// 'fs' fix for squid.js
|
||||
fs: 'empty'
|
||||
}
|
||||
},
|
||||
// fix for 'got'/'swarm-js' dependency
|
||||
externals: ['got']
|
||||
})
|
||||
}
|
||||
|
||||
|
989
package-lock.json
generated
989
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -22,13 +22,11 @@
|
||||
"@loadable/component": "^5.13.1",
|
||||
"@now/node": "^1.7.2",
|
||||
"@oceanprotocol/art": "^3.0.0",
|
||||
"@oceanprotocol/lib": "^0.1.4",
|
||||
"@oceanprotocol/react": "^0.0.12",
|
||||
"@oceanprotocol/react": "^0.0.13",
|
||||
"@oceanprotocol/typographies": "^0.1.0",
|
||||
"@sindresorhus/slugify": "^1.0.0",
|
||||
"@tippyjs/react": "^4.1.0",
|
||||
"@types/classnames": "^2.2.10",
|
||||
"@walletconnect/web3-provider": "^1.0.15",
|
||||
"axios": "^0.19.2",
|
||||
"classnames": "^2.2.6",
|
||||
"date-fns": "^2.14.0",
|
||||
@ -69,7 +67,6 @@
|
||||
"shortid": "^2.2.15",
|
||||
"slugify": "^1.4.4",
|
||||
"swr": "^0.2.3",
|
||||
"web3connect": "^1.0.0-beta.33",
|
||||
"yup": "^0.29.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
@ -96,7 +93,6 @@
|
||||
"@typescript-eslint/parser": "^3.6.1",
|
||||
"babel-loader": "^8.1.0",
|
||||
"babel-preset-react-app": "^9.1.2",
|
||||
"electron": "^9.1.0",
|
||||
"eslint": "^7.4.0",
|
||||
"eslint-config-oceanprotocol": "^1.5.0",
|
||||
"eslint-config-prettier": "^6.11.0",
|
||||
@ -106,7 +102,6 @@
|
||||
"jest": "^26.1.0",
|
||||
"node-mocks-http": "^1.8.1",
|
||||
"prettier": "^2.0.5",
|
||||
"react-test-renderer": "^16.13.1",
|
||||
"serve": "^11.3.2",
|
||||
"source-map-explorer": "^2.4.2",
|
||||
"typescript": "^3.9.6"
|
||||
|
@ -1,22 +0,0 @@
|
||||
import web3Mock from './web3'
|
||||
import React from 'react'
|
||||
import { Web3ProviderValue } from '@oceanprotocol/react'
|
||||
|
||||
export const context = React.createContext<Web3ProviderValue | undefined>({
|
||||
web3: web3Mock,
|
||||
ethProviderStatus: -1,
|
||||
account: '0x0000',
|
||||
balance: '',
|
||||
chainId: 1,
|
||||
web3Connect: {} as any,
|
||||
enable: () => null as any
|
||||
})
|
||||
export default {
|
||||
web3: web3Mock,
|
||||
ethProviderStatus: -1,
|
||||
account: '0x0000',
|
||||
balance: '',
|
||||
chainId: 1,
|
||||
web3Connect: {} as any,
|
||||
enable: () => null as any
|
||||
}
|
Loading…
Reference in New Issue
Block a user