DEV Community

loading...

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

Collapse
deadlybyte profile image
Carl Saunders Author

I usually have a "clean" script that deletes just the build artifacts. Hence the reasoning behind the name "destroy", as hopefully devs will know it applies to destroying all artifacts and dependencies.

Collapse
elabftw profile image
eLabFTW

then go with "cleanall", as destroy implies removing something that cannot be recuperated easily. My 2 cents ;)