Skip to content

Commit

Permalink
Merge pull request #52 from user-interviews/feature/UIDS-31-peer-depe…
Browse files Browse the repository at this point in the history
…ndencies

RS-31 Move as many dependencies to peerDependencies as possible
  • Loading branch information
Dave Ferris authored Jun 19, 2020
2 parents dae67ef + 924bb2a commit b4019a2
Show file tree
Hide file tree
Showing 6 changed files with 95 additions and 265 deletions.
39 changes: 24 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
{
"name": "ui-design-system",
"version": "1.4.0",
"version": "1.5.0",
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.27",
"@fortawesome/free-regular-svg-icons": "^5.12.1",
"@fortawesome/free-solid-svg-icons": "^5.12.1",
"@fortawesome/react-fontawesome": "^0.1.9",
"bootstrap": "^4.3.1",
"classnames": "^2.2.6",
"node-sass": "^4.13.1",
"polished": "^3.4.2",
"prop-types": "^15.7.2",
"react-bootstrap": "^1.0.0-beta.16",
"react-copy-to-clipboard": "^5.0.2",
"react-popper": "^1.3.7",
"react-select": "^3.0.8",
"react-tracking": "^7.3.0",
"react-transition-group": "^4.3.0",
"uuid": "^7.0.2"
},
Expand Down Expand Up @@ -44,14 +31,29 @@
]
},
"peerDependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.28",
"@fortawesome/free-regular-svg-icons": "^5.13.0",
"@fortawesome/free-solid-svg-icons": "^5.13.0",
"@fortawesome/react-fontawesome": "^0.1.9",
"bootstrap": "^4.3.1",
"classnames": "^2.2.5",
"node-sass": "^4.9.2",
"prop-types": "^15.6.1",
"react": "^16.12.0",
"react-dom": "^16.12.0"
"react-copy-to-clipboard": "^5.0.2",
"react-dom": "^16.12.0",
"react-popper": "^1.3.7",
"react-tracking": "^7.3.0"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.4",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@fortawesome/fontawesome-svg-core": "^1.2.28",
"@fortawesome/free-regular-svg-icons": "^5.13.0",
"@fortawesome/free-solid-svg-icons": "^5.13.0",
"@fortawesome/react-fontawesome": "^0.1.9",
"@storybook/addon-a11y": "^5.3.13",
"@storybook/addon-actions": "^5.3.13",
"@storybook/addon-docs": "^5.3.13",
Expand All @@ -69,6 +71,8 @@
"babel-plugin-module-resolver": "^4.0.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babel-preset-react": "^6.24.1",
"bootstrap": "^4.3.1",
"classnames": "^2.2.5",
"css-loader": "^3.4.2",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1",
Expand All @@ -81,9 +85,14 @@
"eslint-plugin-react": "^7.18.3",
"eslint-plugin-react-hooks": "^2.5.1",
"eslint-utils": "^1.4.3",
"node-sass": "^4.9.2",
"prop-types": "^15.6.1",
"react": "^16.12.0",
"react-copy-to-clipboard": "^5.0.2",
"react-dom": "^16.12.0",
"react-popper": "^1.3.7",
"react-test-renderer": "^16.12.0",
"react-tracking": "^7.3.0",
"sass-loader": "^8.0.2",
"style-loader": "^1.1.3"
},
Expand Down
27 changes: 0 additions & 27 deletions src/Card/Card.jsx

This file was deleted.

1 change: 0 additions & 1 deletion src/Card/index.js

This file was deleted.

2 changes: 0 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import Card from 'src/Card';
import CopyToClipboard from 'src/CopyToClipboard';
import FadeTransition from 'src/FadeTransition';
import {
Expand Down Expand Up @@ -27,7 +26,6 @@ import TrackedButton from 'src/TrackedButton';
export {
AlertMessage,
AsyncSelect,
Card,
CopyToClipboard,
FadeTransition,
Flash,
Expand Down
29 changes: 0 additions & 29 deletions stories/Card.stories.jsx

This file was deleted.

Loading

0 comments on commit b4019a2

Please sign in to comment.