Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

Set packager automatically in existing projects #12

Open
3 tasks
jlegrone opened this issue Dec 13, 2017 · 0 comments
Open
3 tasks

Set packager automatically in existing projects #12

jlegrone opened this issue Dec 13, 2017 · 0 comments

Comments

@jlegrone
Copy link
Owner

jlegrone commented Dec 13, 2017

  • If package-lock.json or shrinkwrap.json exists, set packager to npm

  • If yarn.lock exists, set packager to yarn

  • Else, prompt for packager

If you want to get extra smart, never prompt for packager unless yarn is in the user's path.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant