mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
* Remove publish (#1451) * gitignore Next.js stuff * remove publish * remove pricing creation components * Remove Trade (#1453) * Add market version dropdown (#1185) * Add market version dropdown and disable publish Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Remove old tests and forms Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Update dropdown design * roll back Pool button change * new iteration Co-authored-by: Matthias Kretschmann <m@kretschmann.io> * put up announcement banner (#1455) * Migration v3-v4 interface (#1146) * Adding start migration component * Adding styles and updating text * Conditional rendering - only showing start migration to the owner of the asset * Removing unused imports * creating Migration context provider * Importing types from local v4-migration-lib package * Adding migration contract addesses * Setting migration contract address and creating fetchMigrationStatus function * Updating MigrationStatusProvider interface & exports * Updating the statMigration function * Passing token name and symbol to smart contract * creating lockPoolShares component * Adding getUserPoolShareBalance * Showing lockPoolShares component on asset detail page * Adding migration context component * Setting encrypted files * Passing through dtAddress and poolAddress when starting migration * Fixing build issues * fixing type issues * Updating the DT and NFT names / symbols * Removing add / remove liquidity option when the pool migration is in progress * Using useMigrationStatus in pool tab * Lock pool shares not shown for pool owner * Adding i-progress message * Checking if threshold has been met * Fixing approvals on lock pool shares * Adding CreateV4Pool component * Checking if deadline has passed * Creating Cancel Migration component * Updating Migration provider to fetch poolShares for user * First draft migration Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Install test v4-migration-lib Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Fix linting and apollo errors Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Remove test component Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Update v4-migration-lib version Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Cover more emigration cases Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Fix migration message * Update market migration with new workflow Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Update migration contract address * Clean up console.logs * add more networks * Removing migration not started message + updating gitignore * Refactoring to remove the migration not started yet message * Fixing - hide lock poolshares button when shares are already locked * Removing console log * Adjusting message logic to create default message * Removing block counter * Removing threshold met contract call * Updating message content for the migration * Simplifying MigrationAction enum * Removing console.log * fix package-lock * don't use old npm versions as it adds git+ssh all over the place, making Node.js v14 CI runs fail * Simplifying logic for showing message and action * Fixing getMessageAndAction() * Removing unused state variable * Removing unused state variables from Migration context provider * more cleanup, leave only Rinkeby as test network Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com> Co-authored-by: alexcos20 <alex.coseru@gmail.com> Co-authored-by: Matthias Kretschmann <m@kretschmann.io> * Updating locked shares message + ensuring the message changes when the shares are locked (#1457) * Adding start migration component * Adding styles and updating text * Conditional rendering - only showing start migration to the owner of the asset * Removing unused imports * creating Migration context provider * Importing types from local v4-migration-lib package * Adding migration contract addesses * Setting migration contract address and creating fetchMigrationStatus function * Updating MigrationStatusProvider interface & exports * Updating the statMigration function * Passing token name and symbol to smart contract * creating lockPoolShares component * Adding getUserPoolShareBalance * Showing lockPoolShares component on asset detail page * Adding migration context component * Setting encrypted files * Passing through dtAddress and poolAddress when starting migration * Fixing build issues * fixing type issues * Updating the DT and NFT names / symbols * Removing add / remove liquidity option when the pool migration is in progress * Using useMigrationStatus in pool tab * Lock pool shares not shown for pool owner * Adding i-progress message * Checking if threshold has been met * Fixing approvals on lock pool shares * Adding CreateV4Pool component * Checking if deadline has passed * Creating Cancel Migration component * Updating Migration provider to fetch poolShares for user * First draft migration Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Install test v4-migration-lib Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Fix linting and apollo errors Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Remove test component Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Update v4-migration-lib version Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Cover more emigration cases Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Fix migration message * Update market migration with new workflow Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Update migration contract address * Clean up console.logs * add more networks * Removing migration not started message + updating gitignore * Refactoring to remove the migration not started yet message * Fixing - hide lock poolshares button when shares are already locked * Removing console log * Adjusting message logic to create default message * Removing block counter * Removing threshold met contract call * Updating message content for the migration * Simplifying MigrationAction enum * Removing console.log * fix package-lock * don't use old npm versions as it adds git+ssh all over the place, making Node.js v14 CI runs fail * Simplifying logic for showing message and action * Fixing getMessageAndAction() * Removing unused state variable * Removing unused state variables from Migration context provider * Adding startMigration function in for testing + updating refreshMigration function * Updating locked shares message Co-authored-by: Pablo Maldonado <pablo@oceanprotocol.com> Co-authored-by: alexcos20 <alex.coseru@gmail.com> Co-authored-by: Matthias Kretschmann <m@kretschmann.io> * Checking if adding shares is allowed for Asset (#1458) * fix dark mode banner text color (#1459) * Update V4 Migration smartcontract address (#1460) Update V4 Migration smartcontract address on Rinkeby * Removing all code that was in V3 branch for testing (#1461) * Removing all code that was in place for testing * Removing complete migration function * remove unused CSS files (#1462) * remove Add/Remove for good (#1463) * alert color tweaks, effect dependencies (#1464) * V3 fix pool shares rounding (#1466) * Changing UI to show pool shares rounded to 3 decimal places * Fixing NaN shown in the UI when changing account * Displaying locked pool shares to 3 decimals (#1467) * Displaying locked pool shares to 3 decimals * Removing else condition * Updating text - removing mentions of migration (#1468) * V3 fixes (#1469) * Fixing - making sure migration status is not shown after changing accounts * Updating text to remove V4 migration status+ fix typo + renaming data pool to datatoken pool * Fixing typo - Please note * Making title shorter * Update title (#1470) * Update MIGRATION_CONTRACT_ADDRESS for production (#1472) * update banner: (#1474) Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro> Co-authored-by: md0x <pablomaldonadoturci@gmail.com> Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com> Co-authored-by: alexcos20 <alex.coseru@gmail.com> Co-authored-by: Pablo Maldonado <pablo@oceanprotocol.com> Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
152 lines
5.3 KiB
JSON
152 lines
5.3 KiB
JSON
{
|
|
"name": "@oceanprotocol/market",
|
|
"description": "Data marketplace for ocean.",
|
|
"version": "1.0.0",
|
|
"license": "Apache-2.0",
|
|
"homepage": "https://market.oceanprotocol.com",
|
|
"scripts": {
|
|
"start": "gatsby develop --host 0.0.0.0",
|
|
"build": "gatsby build && cp _redirects public/_redirects",
|
|
"serve": "serve -s public/",
|
|
"jest": "NODE_ENV=test jest -c tests/unit/jest.config.js",
|
|
"test-graphql": "npm run graphql:graphTypes && npm run lint && npm run jest",
|
|
"test": "npm run apollo:codegen && npm run lint && npm run jest",
|
|
"test:watch": "npm run lint && npm run jest -- --watch",
|
|
"lint": "npm run write:repoMetadata && eslint --ignore-path .gitignore --ext .js --ext .ts --ext .tsx . && npm run type-check",
|
|
"format": "prettier --ignore-path .gitignore './**/*.{css,yml,js,ts,tsx,json}' --write",
|
|
"type-check": "tsc --noEmit",
|
|
"analyze": "npm run build && source-map-explorer 'public/*.js'",
|
|
"storybook": "start-storybook -p 4000 -c .storybook",
|
|
"storybook:build": "build-storybook -c .storybook -o public/storybook",
|
|
"write:repoMetadata": "node ./scripts/write-repo-metadata > repo-metadata.json",
|
|
"deploy:s3": "./scripts/deploy-s3.sh",
|
|
"postinstall": "husky install",
|
|
"apollo:codegen": "apollo client:codegen --target typescript --tsFileExtension=d.ts --outputFlat src/@types/apollo/",
|
|
"graphql:graphTypes": "graphql-codegen --config codegen.yml"
|
|
},
|
|
"dependencies": {
|
|
"@coingecko/cryptoformat": "^0.4.4",
|
|
"@loadable/component": "^5.15.0",
|
|
"@oceanprotocol/art": "^3.2.0",
|
|
"@oceanprotocol/lib": "^0.20.2",
|
|
"@oceanprotocol/typographies": "^0.1.0",
|
|
"@portis/web3": "^4.1.0",
|
|
"@sindresorhus/slugify": "^2.1.0",
|
|
"@tippyjs/react": "^4.2.5",
|
|
"@urql/introspection": "^0.3.0",
|
|
"@walletconnect/web3-provider": "^1.6.5",
|
|
"axios": "^0.21.1",
|
|
"chart.js": "^2.9.4",
|
|
"classnames": "^2.3.1",
|
|
"cross-fetch": "^3.1.4",
|
|
"date-fns": "^2.23.0",
|
|
"decimal.js": "^10.3.1",
|
|
"dom-confetti": "^0.2.2",
|
|
"dotenv": "^10.0.0",
|
|
"ethereum-address": "0.0.4",
|
|
"ethereum-blockies": "github:MyEtherWallet/blockies",
|
|
"filesize": "^6.3.0",
|
|
"formik": "^2.2.9",
|
|
"gatsby": "^2.32.13",
|
|
"gatsby-image": "^2.9.0",
|
|
"gatsby-plugin-manifest": "^2.10.0",
|
|
"gatsby-plugin-react-helmet": "^3.8.0",
|
|
"gatsby-plugin-remove-trailing-slashes": "^2.8.0",
|
|
"gatsby-plugin-sharp": "^2.14.4",
|
|
"gatsby-plugin-svgr": "^2.1.0",
|
|
"gatsby-plugin-use-dark-mode": "^1.3.0",
|
|
"gatsby-plugin-webpack-size": "^2.0.1",
|
|
"gatsby-remark-autolink-headers": "^4.8.0",
|
|
"gatsby-source-filesystem": "^2.9.0",
|
|
"gatsby-source-graphql": "^2.12.0",
|
|
"gatsby-transformer-json": "^2.9.0",
|
|
"gatsby-transformer-remark": "^2.16.1",
|
|
"gatsby-transformer-sharp": "^2.12.1",
|
|
"graphql": "14.7.0",
|
|
"graphql-schema-typescript": "^1.5.2",
|
|
"is-url-superb": "^6.0.0",
|
|
"js-cookie": "^3.0.0",
|
|
"jwt-decode": "^3.1.2",
|
|
"lodash.debounce": "^4.0.8",
|
|
"lodash.omit": "^4.5.0",
|
|
"query-string": "^7.0.0",
|
|
"react": "^17.0.2",
|
|
"react-chartjs-2": "^2.11.2",
|
|
"react-clipboard.js": "^2.0.16",
|
|
"react-data-table-component": "^6.11.7",
|
|
"react-dom": "^17.0.2",
|
|
"react-dotdotdot": "^1.3.1",
|
|
"react-helmet": "^6.1.0",
|
|
"react-markdown": "^6.0.2",
|
|
"react-modal": "^3.14.2",
|
|
"react-paginate": "^7.1.3",
|
|
"react-spring": "^9.2.1",
|
|
"react-tabs": "^3.2.2",
|
|
"react-toastify": "^7.0.4",
|
|
"remove-markdown": "^0.3.0",
|
|
"shortid": "^2.2.16",
|
|
"slugify": "^1.5.3",
|
|
"swr": "^0.5.6",
|
|
"urql": "^2.0.3",
|
|
"use-dark-mode": "^2.3.1",
|
|
"web3": "^1.5.2",
|
|
"web3modal": "^1.9.4",
|
|
"yup": "^0.32.9"
|
|
},
|
|
"devDependencies": {
|
|
"@graphql-codegen/cli": "1.21.6",
|
|
"@graphql-codegen/introspection": "1.18.2",
|
|
"@graphql-codegen/typescript": "1.22.4",
|
|
"@graphql-codegen/typescript-operations": "^1.18.3",
|
|
"@graphql-codegen/typescript-react-apollo": "2.3.0",
|
|
"@svgr/webpack": "^5.5.0",
|
|
"@testing-library/jest-dom": "^5.12.0",
|
|
"@testing-library/react": "^11.2.7",
|
|
"@types/chart.js": "^2.9.32",
|
|
"@types/jest": "^26.0.23",
|
|
"@types/js-cookie": "^2.2.7",
|
|
"@types/loadable__component": "^5.13.1",
|
|
"@types/lodash.debounce": "^4.0.3",
|
|
"@types/lodash.omit": "^4.5.6",
|
|
"@types/node": "^15.6.1",
|
|
"@types/react": "^17.0.8",
|
|
"@types/react-helmet": "^6.1.1",
|
|
"@types/react-modal": "^3.12.0",
|
|
"@types/react-paginate": "^7.1.0",
|
|
"@types/react-tabs": "^2.3.2",
|
|
"@types/remove-markdown": "^0.3.0",
|
|
"@types/shortid": "0.0.29",
|
|
"@types/yup": "^0.29.11",
|
|
"@typescript-eslint/eslint-plugin": "^4.26.0",
|
|
"@typescript-eslint/parser": "^4.26.0",
|
|
"apollo": "^2.33.4",
|
|
"eslint": "^7.27.0",
|
|
"eslint-config-oceanprotocol": "^1.5.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-prettier": "^3.4.0",
|
|
"eslint-plugin-react": "^7.24.0",
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
"husky": "^6.0.0",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^26.6.3",
|
|
"prettier": "^2.3.0",
|
|
"pretty-quick": "^3.1.0",
|
|
"serve": "^11.3.2",
|
|
"source-map-explorer": "^2.5.2",
|
|
"typescript": "^4.3.2"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/oceanprotocol/market"
|
|
},
|
|
"engines": {
|
|
"node": ">=14"
|
|
},
|
|
"browserslist": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not ie <= 11",
|
|
"not op_mini all"
|
|
]
|
|
}
|