Running cross-platform tasks via npm package scripts

The npm package manager lets us define small shell scripts for tasks and execute them via npm run. In this blog post, we explore how that works and how we can write them in a way that works across platforms (Unixes and Windows).


This content originally appeared on 2ality – JavaScript and more and was authored by Dr. Axel Rauschmayer

The npm package manager lets us define small shell scripts for tasks and execute them via npm run. In this blog post, we explore how that works and how we can write them in a way that works across platforms (Unixes and Windows).


This content originally appeared on 2ality – JavaScript and more and was authored by Dr. Axel Rauschmayer


Print Share Comment Cite Upload Translate Updates
APA

Dr. Axel Rauschmayer | Sciencx (2022-08-31T00:00:00+00:00) Running cross-platform tasks via npm package scripts. Retrieved from https://www.scien.cx/2022/08/31/running-cross-platform-tasks-via-npm-package-scripts/

MLA
" » Running cross-platform tasks via npm package scripts." Dr. Axel Rauschmayer | Sciencx - Wednesday August 31, 2022, https://www.scien.cx/2022/08/31/running-cross-platform-tasks-via-npm-package-scripts/
HARVARD
Dr. Axel Rauschmayer | Sciencx Wednesday August 31, 2022 » Running cross-platform tasks via npm package scripts., viewed ,<https://www.scien.cx/2022/08/31/running-cross-platform-tasks-via-npm-package-scripts/>
VANCOUVER
Dr. Axel Rauschmayer | Sciencx - » Running cross-platform tasks via npm package scripts. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/08/31/running-cross-platform-tasks-via-npm-package-scripts/
CHICAGO
" » Running cross-platform tasks via npm package scripts." Dr. Axel Rauschmayer | Sciencx - Accessed . https://www.scien.cx/2022/08/31/running-cross-platform-tasks-via-npm-package-scripts/
IEEE
" » Running cross-platform tasks via npm package scripts." Dr. Axel Rauschmayer | Sciencx [Online]. Available: https://www.scien.cx/2022/08/31/running-cross-platform-tasks-via-npm-package-scripts/. [Accessed: ]
rf:citation
» Running cross-platform tasks via npm package scripts | Dr. Axel Rauschmayer | Sciencx | https://www.scien.cx/2022/08/31/running-cross-platform-tasks-via-npm-package-scripts/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.