local changes DEV

This commit is contained in:
Dobromir Popov
2024-04-08 12:36:16 +03:00
parent 56644db73f
commit dc2af0386d
10 changed files with 231 additions and 1 deletions

54
dev/node react.md Normal file
View File

@ -0,0 +1,54 @@
copy
# npm remove excessive package dependencies
# 1.Use Dependency Analysis Tools
npm install -g depcheck
depcheck
# or
npm install -g npm-check
npm-check
# 2.Bundle Size Analysis:
npm install --save-dev webpack-bundle-analyzer
# edit webpack to push BundleAnalyzerPlugin to config.plugins
# run #> ANALYZE=true npm run build
npm uninstall yargs-parser
yargs-parser
Unused dependencies
* @date-io/date-fns
* @mui/icons-material
* @react-pdf/renderer
* docx
* docx-templates
* docxtemplater
* excel4node
* fs
* gapi
* gapi-script
* html-to-docx
* module-alias
* node-excel-export
* nodemailer-smtp-transport
* prisma-binding
* react-cookies
* react-file-reader
* react-hook-form
* react-router-dom
* react-table
* sqlite3
* xml-js
Unused devDependencies
* @types/react-table
* autoprefixer
* postcss
* typescript
Missing dependencies
* @fullcalendar/core: ./styles/calendar.scss
* @fullcalendar/daygrid: ./styles/calendar.scss
* @fullcalendar/timegrid: ./styles/calendar.scss
* google-auth-library: ./src/helpers/calendar.js
* open: ./src/helpers/calendar.js
* pages: ./pages/dash.tsx
* src: ./pages/cart/publishers/import.tsx