Pedro
Pedro
DDeno
Created by Pedro on 12/13/2024 in #help
How do I install NPM packages as *development dependencies* in Deno? Is that even possible?
Wow! I had no idea, that's great! Thank you very much for your help! :deno_thankyou:
4 replies
DDeno
Created by Pedro on 12/13/2024 in #help
How do I install NPM packages as *development dependencies* in Deno? Is that even possible?
I might have figured it out, but I am not sure. I found in the docs that there are the --dev and -D options, but I don't know if I used it correctly. I used the following command: deno add -D npm:drizzle-kit and it did install the package, however, in deno.json, the package is shown under imports along with all other installed packages... so my question is, how do I know whether it was installed as a dev dependency? Here are the sections of the documentation page I consulted: - https://docs.deno.com/runtime/reference/cli/install/#options-dev - https://docs.deno.com/runtime/reference/cli/install/#examples
4 replies