-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
enhancementNew feature or requestNew feature or request
Description
A great number of npm packages are either referenced once or twice, or not used at all. These can either be removed completely and/or replaced with own implementations. There is also no react project template ( build dev or run ) for the latest node version. Using Vite solves that issue, but all the deprecated packages need to be replaced/removed.
These include but are not limited to :
Example packages:
- es6-promise ( native promise, polyfill and ecma-script compatibility can be changed through build options )
- babel-runtime (remove or move to devDependencies , using vite should make it obsolete )
- typescript ( remove or move to devDependencies )
- handlebars
- moment/moment-duration-format (why ?)
- proptypes ( instead of ts ? why ? )
- superagent ( native fetch/request ? )
- swagger-client ( not referenced anywhere )
- isomorphic-form-data ( not referenced anywhere )
- @babel/plugin-proposal-private-property-in-object ( is now part of ecma-script )
- replace react-fullscreenable ( see Switch from react-fullscreenable to react-full-screen package #277 )
Optional:
- xstate: Can easily be replaced by a native js implementation
- classnames: This implementation is literally a one liner: take in one object with type {[key:string]:bool}, and reduce with entry callback [k,v] => +=
${k}if v.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request