Skip to content

Commit

Permalink
feat: remove unneeded dependencies (jquense#2215)
Browse files Browse the repository at this point in the history
Remove all bootstrap and font-awesome dependencies,
as well as undistributed LESS files and fonts
  • Loading branch information
cutterbl authored Jul 8, 2022
1 parent c98c338 commit fb05151
Show file tree
Hide file tree
Showing 20 changed files with 27 additions and 980 deletions.
22 changes: 11 additions & 11 deletions .size-snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,26 @@
}
},
"react-big-calendar.js": {
"bundled": 1587763,
"minified": 446013,
"gzipped": 137712
"bundled": 1589216,
"minified": 446843,
"gzipped": 137873
},
"react-big-calendar.min.js": {
"bundled": 284200,
"minified": 282747,
"gzipped": 89477
"bundled": 285015,
"minified": 283564,
"gzipped": 89629
},
"react-big-calendar.esm.js": {
"bundled": 200472,
"minified": 93363,
"gzipped": 24285,
"bundled": 200727,
"minified": 93588,
"gzipped": 24341,
"treeshaked": {
"rollup": {
"code": 66845,
"code": 66887,
"import_statements": 1823
},
"webpack": {
"code": 70436
"code": 70478
}
}
}
Expand Down
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,13 @@
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babel-plugin-transform-rename-import": "^2.3.0",
"babel-preset-react-app": "^10.0.1",
"bootstrap": "3.4.1",
"bootstrap-sass": "3.4.3",
"eslint": "^8.19.0",
"eslint-config-jason": "^8.2.2",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-webpack": "^0.13.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"font-awesome": "^4.7.0",
"husky": "^8.0.1",
"is-ci": "^3.0.1",
"jest": "^28.1.2",
Expand All @@ -94,7 +91,6 @@
"postcss-cli": "^10.0.0",
"prettier": "^2.7.1",
"react": "^17.0.2",
"react-bootstrap": "^0.32.4",
"react-dom": "^17.0.2",
"react-tackle-box": "^2.1.0",
"regenerator-runtime": "^0.13.9",
Expand Down
2 changes: 1 addition & 1 deletion src/Calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ class Calendar extends React.Component {
*
* noEventsInRange: 'There are no events in this range.',
*
* showMore: total => `+${total} more`,
* showMore: total => `+ ${total} more`,
* }
*
* <Calendar messages={messages} />
Expand Down
12 changes: 0 additions & 12 deletions src/font/LICENSE.txt

This file was deleted.

Binary file removed src/font/react-big-cal.eot
Binary file not shown.
13 changes: 0 additions & 13 deletions src/font/react-big-cal.svg

This file was deleted.

Binary file removed src/font/react-big-cal.ttf
Binary file not shown.
Binary file removed src/font/react-big-cal.woff
Binary file not shown.
73 changes: 0 additions & 73 deletions src/less/agenda.less

This file was deleted.

49 changes: 0 additions & 49 deletions src/less/event.less

This file was deleted.

126 changes: 0 additions & 126 deletions src/less/month.less

This file was deleted.

21 changes: 0 additions & 21 deletions src/less/reset.less

This file was deleted.

Loading

0 comments on commit fb05151

Please sign in to comment.