1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-07-01 06:11:43 +02:00
market/package.json

143 lines
4.9 KiB
JSON
Raw Normal View History

2020-05-07 08:03:30 +02:00
{
"name": "@oceanprotocol/market",
2021-10-18 13:43:34 +02:00
"description": "🧜‍♀️ THE Data Market for Ocean Protocol.",
2020-10-27 16:08:42 +01:00
"version": "1.0.0",
2020-05-07 08:03:30 +02:00
"license": "Apache-2.0",
2020-10-27 09:13:11 +01:00
"homepage": "https://market.oceanprotocol.com",
2020-05-07 08:03:30 +02:00
"scripts": {
2020-08-05 10:14:50 +02:00
"start": "gatsby develop --host 0.0.0.0",
"build": "gatsby build && cp _redirects public/_redirects",
"serve": "serve -s public/",
2021-10-13 18:48:59 +02:00
"test-graphql": "npm run graphql:graphTypes && npm run lint",
"test": "npm run apollo:codegen && npm run lint",
"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'",
"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"
2020-05-07 08:03:30 +02:00
},
"dependencies": {
"@coingecko/cryptoformat": "^0.4.4",
2021-05-20 00:44:22 +02:00
"@loadable/component": "^5.15.0",
"@oceanprotocol/art": "^3.2.0",
"@oceanprotocol/lib": "^0.19.2",
"@oceanprotocol/typographies": "^0.1.0",
"@portis/web3": "^4.1.0",
2021-05-20 00:44:22 +02:00
"@sindresorhus/slugify": "^2.1.0",
"@tippyjs/react": "^4.2.5",
"@urql/introspection": "^0.3.0",
2021-10-18 13:43:34 +02:00
"@walletconnect/web3-provider": "^1.6.6",
"axios": "^0.23.0",
"chart.js": "^2.9.4",
2021-05-20 00:44:22 +02:00
"classnames": "^2.3.1",
2021-10-18 13:43:34 +02:00
"date-fns": "^2.25.0",
"decimal.js": "^10.3.1",
2020-10-05 15:03:21 +02:00
"dom-confetti": "^0.2.2",
2021-05-25 08:44:00 +02:00
"dotenv": "^10.0.0",
"ethereum-address": "0.0.4",
2020-07-08 00:06:48 +02:00
"ethereum-blockies": "github:MyEtherWallet/blockies",
2021-10-18 13:43:34 +02:00
"filesize": "^8.0.3",
2021-05-25 08:44:00 +02:00
"formik": "^2.2.9",
2021-05-20 00:44:22 +02:00
"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",
2021-05-20 00:44:22 +02:00
"gatsby-plugin-sharp": "^2.14.4",
"gatsby-plugin-svgr": "^2.1.0",
2021-05-20 00:44:22 +02:00
"gatsby-plugin-use-dark-mode": "^1.3.0",
2021-05-25 08:44:00 +02:00
"gatsby-plugin-webpack-size": "^2.0.1",
GDPR Compliance (#796) * add cookie utils * add gdpr metadata for ppc * add graphql typeDefs for GDPR metadata * add ppc variable to app config * add ppc user preference * add switch component * add ppc components * add cookie consent provider * add consent provider to wrapRootElement * add ppc to app component * add cookie button to footer component * add ppc to site metadata query * add styles for buttons in footer * add switch component unit tests * renewed siteMetadata json for testing * add gdpr metadata for testing * add cookie module unit test * add cookie module tests * add customizable format to time component * add english privacy policy * add privacy policy slugs to user preferences and appConfig * add privacy policy components * add autolink for policy md navigation * only show language select for multiple policies * add gatsby policy page creation * use new privacy slug user preference * add to top button styling for markdown pages * add policies for de, es & fr * add pointer events to toTop buttons css * add privacy policy basic unit test * outsource scroll button component * import cleanup * add customizable delay for debounce * add scroll button unit tests * add disclaimer component * add disclaimer fields as optional fields in PublishJsonData * add acces type disclaimer * adjusted help for desc and author fields * add disclaimer unit tests * minor adjustment to test * add print button to history page * naming changes for better readability * add cookies hash to policies * ppc disabled per default * fix react unknown prop for disclaimer * minor adjustments to cookie utils * add gdpr example file * change exposed gdpr metadata scope by useConsent * update README * readme fixes * emoji fix * added imprint * adjustments to gdpr.json structure and related graphql type * add default values for ppc * Update app.config.js Fixed typo. * change variable name for consistency, remove console logs * readability * adjust css selector order to be consistent * Update fr.md updated policy * Update es.md updated policy * Update en.md updated policy * Update de.md * fix type issue * replace language select input with links * remove scroll button from codebase * change privacy policy route to /privacy * remove Do Not Track detection * add size to checkbox / radio inputs * replace switch component with checkbox inputs * fix plain text links * remove console log * refactor privacy policy pages to use PageMarkdown template * setup useUserPreferences mock for unit tests * unit tests forprivacy policy components * setup discalimer to use alert component * Apply .env suggestions from code review Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com> * move gdpr example to gdpr.json * adjustments to address .env approach for appConfig.privacyPreferenceCenter * update readme * add small styling option to ppc * update README * add ppc unit tests * update comments * Update README.md Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com> * Merge print into profile history * add inifiniteApproval to UserPreference fixture * changed default styling of PPC to small Co-authored-by: Frederic Schwill <41265505+fr-3deric@users.noreply.github.com> Co-authored-by: MeikeMolitor <88214332+MeikeMolitor@users.noreply.github.com> Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
2021-10-12 10:00:57 +02:00
"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",
2021-05-20 00:44:22 +02:00
"gatsby-transformer-sharp": "^2.12.1",
"graphql": "14.7.0",
"graphql-schema-typescript": "^1.5.2",
2021-05-20 00:44:22 +02:00
"is-url-superb": "^6.0.0",
2021-10-18 13:43:34 +02:00
"js-cookie": "^3.0.1",
"jwt-decode": "^3.1.2",
2020-08-27 12:30:36 +02:00
"lodash.debounce": "^4.0.8",
"lodash.omit": "^4.5.0",
2021-10-18 13:43:34 +02:00
"query-string": "^7.0.1",
2021-05-20 00:44:22 +02:00
"react": "^17.0.2",
"react-chartjs-2": "^2.11.2",
Account metadata header (#776) * get all neded data for the header from 3box, aqua and subgraph * fix tvl display error * WIP metadata header styling * added more styling for the header * make page title optional so we can remove it on account page * stroke change for svg images and default values * more styling added to the header * fixed linter * added ocean balance to tvl * update styling for statistcs * fixed eror for go to my account from another account page * updated styling for mobile use * wip show more on explorer links and description * properly display read more for explorer links and description * replaced show more with 3box redirect on description * change accounts default picture and check links length before display element * use optional on links * grid cleanup, new number unit, split up stats * rename all the things, more profile header styling * visual hierarchy, improve image loading experience * layout flow & visual tweaks * more description * replaced account route with profile when accesing a profile by the eth address * use account id from url if exists when fetching data * bump @oceanprotocol/art to v3.2.0 * styling, fallbacks, edge case fixes * clean up Publisher atom, link to profile page * fixed issue when switching to my profile from another profile * output accountId, make it copyable, remove stats icons * render tweaks, markup cleanup * add 3box reference * mobile tabs spacing tweaks * text flow and spacing tweaks Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-09-01 13:56:34 +02:00
"react-clipboard.js": "^2.0.16",
2021-05-20 00:44:22 +02:00
"react-data-table-component": "^6.11.7",
"react-dom": "^17.0.2",
2020-05-07 08:03:30 +02:00
"react-dotdotdot": "^1.3.1",
"react-helmet": "^6.1.0",
2021-05-20 00:44:22 +02:00
"react-markdown": "^6.0.2",
2021-10-18 13:43:34 +02:00
"react-modal": "^3.14.3",
2021-05-25 08:44:00 +02:00
"react-paginate": "^7.1.3",
2021-10-18 13:43:34 +02:00
"react-spring": "^9.3.0",
2021-05-20 00:44:22 +02:00
"react-tabs": "^3.2.2",
"react-toastify": "^7.0.4",
2020-10-05 16:14:59 +02:00
"remove-markdown": "^0.3.0",
2020-10-22 11:13:25 +02:00
"shortid": "^2.2.16",
2021-10-18 13:43:34 +02:00
"slugify": "^1.6.1",
2021-05-20 00:44:22 +02:00
"swr": "^0.5.6",
2021-10-18 13:43:34 +02:00
"urql": "^2.0.5",
"use-dark-mode": "^2.3.1",
2021-10-18 13:43:34 +02:00
"web3": "^1.6.0",
"web3modal": "^1.9.4",
2021-10-18 13:43:34 +02:00
"yup": "^0.32.11"
2020-05-07 08:03:30 +02:00
},
"devDependencies": {
"@graphql-codegen/cli": "1.21.6",
"@graphql-codegen/introspection": "1.18.2",
"@graphql-codegen/typescript": "1.22.4",
2021-07-06 00:21:35 +02:00
"@graphql-codegen/typescript-operations": "^1.18.3",
"@graphql-codegen/typescript-react-apollo": "2.3.0",
"@svgr/webpack": "^5.5.0",
2021-05-20 00:44:22 +02:00
"@types/chart.js": "^2.9.32",
"@types/jest": "^26.0.23",
GDPR Compliance (#796) * add cookie utils * add gdpr metadata for ppc * add graphql typeDefs for GDPR metadata * add ppc variable to app config * add ppc user preference * add switch component * add ppc components * add cookie consent provider * add consent provider to wrapRootElement * add ppc to app component * add cookie button to footer component * add ppc to site metadata query * add styles for buttons in footer * add switch component unit tests * renewed siteMetadata json for testing * add gdpr metadata for testing * add cookie module unit test * add cookie module tests * add customizable format to time component * add english privacy policy * add privacy policy slugs to user preferences and appConfig * add privacy policy components * add autolink for policy md navigation * only show language select for multiple policies * add gatsby policy page creation * use new privacy slug user preference * add to top button styling for markdown pages * add policies for de, es & fr * add pointer events to toTop buttons css * add privacy policy basic unit test * outsource scroll button component * import cleanup * add customizable delay for debounce * add scroll button unit tests * add disclaimer component * add disclaimer fields as optional fields in PublishJsonData * add acces type disclaimer * adjusted help for desc and author fields * add disclaimer unit tests * minor adjustment to test * add print button to history page * naming changes for better readability * add cookies hash to policies * ppc disabled per default * fix react unknown prop for disclaimer * minor adjustments to cookie utils * add gdpr example file * change exposed gdpr metadata scope by useConsent * update README * readme fixes * emoji fix * added imprint * adjustments to gdpr.json structure and related graphql type * add default values for ppc * Update app.config.js Fixed typo. * change variable name for consistency, remove console logs * readability * adjust css selector order to be consistent * Update fr.md updated policy * Update es.md updated policy * Update en.md updated policy * Update de.md * fix type issue * replace language select input with links * remove scroll button from codebase * change privacy policy route to /privacy * remove Do Not Track detection * add size to checkbox / radio inputs * replace switch component with checkbox inputs * fix plain text links * remove console log * refactor privacy policy pages to use PageMarkdown template * setup useUserPreferences mock for unit tests * unit tests forprivacy policy components * setup discalimer to use alert component * Apply .env suggestions from code review Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com> * move gdpr example to gdpr.json * adjustments to address .env approach for appConfig.privacyPreferenceCenter * update readme * add small styling option to ppc * update README * add ppc unit tests * update comments * Update README.md Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com> * Merge print into profile history * add inifiniteApproval to UserPreference fixture * changed default styling of PPC to small Co-authored-by: Frederic Schwill <41265505+fr-3deric@users.noreply.github.com> Co-authored-by: MeikeMolitor <88214332+MeikeMolitor@users.noreply.github.com> Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
2021-10-12 10:00:57 +02:00
"@types/js-cookie": "^2.2.7",
2020-09-29 13:46:03 +02:00
"@types/loadable__component": "^5.13.1",
2020-08-28 18:53:09 +02:00
"@types/lodash.debounce": "^4.0.3",
"@types/lodash.omit": "^4.5.6",
2021-05-25 08:44:00 +02:00
"@types/node": "^15.6.1",
"@types/react": "^17.0.8",
2021-05-20 00:44:22 +02:00
"@types/react-helmet": "^6.1.1",
"@types/react-modal": "^3.12.0",
"@types/react-paginate": "^7.1.0",
2020-07-08 17:57:53 +02:00
"@types/react-tabs": "^2.3.2",
"@types/remove-markdown": "^0.3.0",
2020-05-07 08:03:30 +02:00
"@types/shortid": "0.0.29",
"@types/yup": "^0.29.11",
2021-05-25 08:44:00 +02:00
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"apollo": "^2.33.4",
2021-05-25 08:44:00 +02:00
"eslint": "^7.27.0",
2020-05-07 08:03:30 +02:00
"eslint-config-oceanprotocol": "^1.5.0",
2021-05-20 00:44:22 +02:00
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
2021-05-25 08:44:00 +02:00
"eslint-plugin-react": "^7.24.0",
2020-10-21 14:37:18 +02:00
"eslint-plugin-react-hooks": "^4.2.0",
2021-10-18 13:43:34 +02:00
"husky": "^7.0.2",
"prettier": "^2.4.1",
"pretty-quick": "^3.1.1",
"serve": "^12.0.1",
"source-map-explorer": "^2.5.2",
2021-10-18 13:43:34 +02:00
"typescript": "^4.4.4"
2020-05-07 08:03:30 +02:00
},
"repository": {
"type": "git",
2020-05-19 12:57:07 +02:00
"url": "https://github.com/oceanprotocol/market"
2020-05-07 08:03:30 +02:00
},
"engines": {
2021-05-20 00:44:22 +02:00
"node": ">=14"
2020-05-07 08:03:30 +02:00
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}