We're going to use the Node Package Manager (or NPM) to get more tools to make the process of building our project easier.
Visit https://nodejs.org/.
Download the version with "LTS" next to the number and install it. (LTS stands for Long Term Support, if you're curious.) You do not need to install any additional tools for Native compilation.
Visit the Visual Studio Code website and install Visual Studio Code.
To setup local deployment for development:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
npm run local-deploy -- --watchTo run a lint operation (that is, scan your code for errors) use this shortcut command:
npm run lintTo auto-fix lint issues, you can use this:
npm run lint -- --fixTo create an addon file you can share, run:
npm run mcaddonTo create a production version of your code (i.e. with dev: labels stripped), run:
npm run build:production
To create a production (i.e. with dev: labels stripped) addon file you can share, run:
npm run mcaddon:production