DEV Community

loading...

Discussion on: Add Destroy Script 🔥💻 To package.json

Collapse
subztep profile image
Andras Serfozo

Nice one! I was using a bash file for it but this looks better, thanks. :)

Collapse
deadlybyte profile image
Carl Saunders Author

No worries, better to have it as a script in the package.json, then it's not dependant on the OS and it's also version controlled.

Collapse
subztep profile image
Andras Serfozo

Except the script doesn't work on Windows.

Thread Thread
projectmagenta profile image
Project-Magenta

it does. ive tested it

Thread Thread
subztep profile image
Andras Serfozo

Yeah that's what I meant, bash is not working with win cli. I also updated:) Cheers