DEV Community

loading...

Discussion on: Converting a Node project to Deno

Collapse
patarapolw profile image
Pacharapol Withayasakpunt • Edited

Do I need Makefile, and cmake or something, instead of package.json script section?

Collapse
jotafeldmann profile image
Jota Feldmann Author

Hi Pacharapol :)

No, you don't need anything, just Deno.

I just use Makefile for convenience in all my projects.

Thanks for the feedback, I will update about it.

Collapse
patarapolw profile image
Pacharapol Withayasakpunt • Edited

But I love scripts section. Otherwise, I often have to write some kind of bash scripts.

*.yaml (like Pubspec.yaml) would be better than package.json, because it supports multi-line shell scripts.

Thread Thread
jotafeldmann profile image
Jota Feldmann Author

Most of the common tasks come "out of the box" with Deno.

But for more custom/specific stuff (e.g. deploy) you need something like this. I'm using a Makefile for this kind of task.

Forem Open with the Forem app