Install (or update) macOS package manager. Npm install electron -g yarn global add electron-packager|. * doesn't listed in package.json becouse I doesn't use js builder yet (which will exclude unused dependencies from application installation package) Run app in dev mode: yarn start|. Is it possible to install devDependencies and dependencies together with yarn? For exmaple, if I want to install react and webpack.React is a dependency and webpack is a dev dependency.
Join GitHub today![]()
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking âSign up for GitHubâ, you agree to our terms of service and privacy statement. Weâll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Commentscommented Feb 21, 2017
commented Feb 22, 2017â¢
edited
commented Feb 22, 2017
commented Feb 23, 2017
commented Apr 30, 2017
commented Jul 24, 2017
commented Aug 22, 2017commented Aug 22, 2017
Closed
commented Jun 7, 2018â¢
edited
commented Jun 12, 2018
commented Dec 10, 2018
commented Mar 18, 2019
commented Mar 21, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
If I'm getting this right @kyleholzinger / @gaastonsr, you're not looking to install
peerDependencies in development mode (cd -ed into the repo / package which has peerDependencies , fresh clone, need to develop on those peer deps) but add them to the target project once you install the package which has peer deps?
Yarn Not Installing Dev Dependencies
To clarify: You install
eslint-find-rules which complains that you need eslint as a dependency (it's a peerDependency of eslint-find-rules ), so now you want an easy way of adding those dependencies in the peer you're working on (current project which depends on eslint-find-rules )? Something like 'Resolve and add as new dependencies (modify package.json and yarn.lock ) best matched peer dependencies my current dependencies require'?
Yarn Install Local Package
If this is your point it could be super useful, I thought that you were referring to auto-installing them when developing.
The feature could be introduced for more then pure convenience, for example: multiple dependencies could depend on the same package from the peer target, but require different versions of it - this feature could make the best of it by trying to resolve to a single best-matching target (if possible).
Yarn List Packages Installed
Something to think about definitely.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2020
Categories |