From 4f9436b21c7d11dcaf8586cba6cf2c74fe67ec09 Mon Sep 17 00:00:00 2001 From: Rising Odegua Date: Mon, 24 May 2021 09:19:00 +0100 Subject: [PATCH] [Package.json][s]: Add react to peer dependency --- examples/dataset-frictionless/package.json | 87 ++++++++++------------ 1 file changed, 40 insertions(+), 47 deletions(-) diff --git a/examples/dataset-frictionless/package.json b/examples/dataset-frictionless/package.json index 6b561b17..eb24f60d 100644 --- a/examples/dataset-frictionless/package.json +++ b/examples/dataset-frictionless/package.json @@ -4,56 +4,49 @@ "author": "Datopian", "license": "MIT", "version": "0.1.0", - "bin": { - "portal": "./bin/portal.js" - }, + "main": "dist/index.cjs.js", + "module": "dist/index.esm.js", + "source": "src/index.js", "scripts": { - "dev": "next dev", - "build": "next build", - "start": "next start", - "export": "yarn build && next export", - "test": "jest --coverage" + "build": "rollup -c", + "build-watch": "rollup -c -w", + "test": "jest --coverage" }, "dependencies": { - "@material-ui/core": "^4.11.3", - "@material-ui/data-grid": "^4.0.0-alpha.20", - "@tailwindcss/typography": "^0.4.0", - "autoprefixer": "^10.0.4", - "chalk": "^4.1.0", - "commander": "^6.2.0", - "cpy": "^8.1.1", - "cross-spawn": "^7.0.3", - "datapackage-render": "git+https://github.com/frictionlessdata/datapackage-render-js.git", - "figlet": "^1.5.0", - "filesize": "^6.1.0", - "frictionless.js": "^0.13.4", - "listr": "^0.14.3", - "next": "latest", - "open": "^8.0.2", - "ora": "^5.1.0", - "plotly.js-basic-dist": "^1.58.4", - "portal": "https://github.com/datopian/portal.js", - "postcss": "^8.2.10", - "prompts": "^2.4.0", - "react": "^17.0.1", - "react-dom": "^17.0.1", - "react-plotly.js": "^2.5.1", - "react-table": "^7.6.3", - "react-vega": "^7.4.2", - "remark": "^13.0.0", - "remark-html": "^13.0.1", - "tailwindcss": "^2.0.2", - "vega": "^5.19.1", - "vega-lite": "^5.0.0" + "@material-ui/core": "^4.11.3", + "@material-ui/data-grid": "^4.0.0-alpha.20", + "filesize": "^6.3.0", + "html-react-parser": "^1.2.6", + "next": "latest", + "plotly.js-basic-dist": "^1.58.4", + "postcss": "^8.1.10", + "react-plotly.js": "^2.5.1", + "react-scripts": "3.4.3", + "tailwindcss": "^2.0.2" + }, + "peerDependencies": { + "react": "^17.0.1", + "react-dom": "^17.0.1" }, "devDependencies": { - "@testing-library/dom": "^7.29.6", - "@testing-library/jest-dom": "^5.11.9", - "@testing-library/react": "^11.2.5", - "babel-jest": "^26.6.3", - "identity-obj-proxy": "^3.0.0", - "jest": "^26.6.3", - "jest-canvas-mock": "^2.3.1", - "jest-dom": "^4.0.0" + "@babel/cli": "^7.13.16", + "@babel/core": "^7.13.16", + "@babel/plugin-proposal-class-properties": "^7.13.0", + "@babel/preset-env": "^7.13.15", + "@babel/preset-react": "^7.13.13", + "@rollup/plugin-babel": "^5.3.0", + "@testing-library/dom": "^7.29.6", + "@testing-library/jest-dom": "^5.11.9", + "@testing-library/react": "^11.2.5", + "babel-jest": "^26.6.3", + "identity-obj-proxy": "^3.0.0", + "jest": "^26.6.3", + "jest-canvas-mock": "^2.3.1", + "jest-dom": "^4.0.0", + "npm-run-all": "^4.1.5", + "rollup": "^2.45.2", + "rollup-plugin-delete": "^2.0.0", + "rollup-plugin-peer-deps-external": "^2.2.4" } -} + } + \ No newline at end of file