Closed alexjlockwood closed 7 years ago
Yeah bower is deprecated in favor of nom+webpack. For really, really simple projects like this one bower easier to setup IMO and is still better than downloading JS libraries manually.
What I mean though is couldn't you just add the deps declared in bower.json
into package.json
and then reference the libraries under node_modules/
instead of bower_components
?
Then you could use npm-check-updates
and stuff (not sure if there is something similar for bower as well).
Yep there's bower update I believe
On Tue, Aug 1, 2017, 5:53 PM Alex Lockwood notifications@github.com wrote:
Then you could use npm-check-updates and stuff (not sure if there is something similar for bower as well).
— You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/romannurik/SlidesCodeHighlighter/issues/8#issuecomment-319508064, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGHO59e7WTuT9jN_Jo3ozF3NKWn7Et-ks5sT55LgaJpZM4OqVtX .
Hey Roman,
I was trying to learn from your web apps again and I was just wondering what is the purpose of using 'bower' in this web app? Couldn't you just add google-code-prettify, ace-builds, and jquery as npm dependencies in package.json and remove bower from the project entirely? Just wondering...