How to install npm dev dependencies?
I try to install
keysely-codegen
using deno add -D npm:kysely-codegen
but everytime it adds the dependency to my regular imports in the deno.json
, which looks like this:
what am I doing wrong here? I still have a hard time how the npm stuff works with deno1 Reply
There is no separation in the imports within deno.json. One isn't needed for Deno as only the dependencies actually used are actually loaded when ran or compiled when built. Etc
The flag only does something if Deno was adding it to a package.json file.