Skip to content
New issue

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

Support managing development dependencies (?) #298

Open
rdw-software opened this issue Oct 3, 2021 · 0 comments
Open

Support managing development dependencies (?) #298

rdw-software opened this issue Oct 3, 2021 · 0 comments

Comments

@rdw-software
Copy link
Contributor

From what I can tell (going by the source), lit doesn't appear to support something akin to npm's devDependencies field.

I would love to have a way of installing development tools, like my own testing framework, and allow developers to automatically install them with lit, but not as part of the regular dependencies that are deployed to end users. This would be equivalent to npm install --save-dev, where development dependencies are managed normally but separately from the regular ones.

The only way I can think of possibly achieving that would be adding them as regular dependencies, and then excluding the files. This should in theory lead to them not being added when using lit make, but it seems like a hack and there's probably cases where it won't work as expected if it was never designed for this purpose.

Is there a "proper" way of accomplishing this? If there isn't, is this a feature that would be useful and worth adding?

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

No branches or pull requests

1 participant