Update the json file to include two scripts, getNPMVersion, getNodeVersion and updateNPMVersion.After you have clicked install you should see a package.json file, which doesn’t have much in it.Select NPM and type TypeScript in the next box, can leave Latest Version and click Install.The project and select Quick Install Package… We add some commands to the Scripts section, and run them in the task runner. We are going to create a project, and add a package using the Quick Install Package, this will create us a package.json file. Checking Visual Studio Version and Updating. We will use these extensions in a moment. When clicked, you can select and install a package from the following package managers To do this, select View > Other Windows > Task Runner Explorer or press Ctrl + Alt + BkspaceĪfter you have installed the “Package Installer”, when you right click on your project you will see a new link under Add I recommend getting the following extensions for Visual StudioĬlick download in both links and install the extensions into Visual Studio.Īfter you have installed the “NPM Task Runner”, you might need to make it visible in your Visual Studio. Then type npm -v to get the npm version number.Should match the version you downloaded from the website. Open up the node.js command prompt and type node -v to get the node version.
0 Comments
Leave a Reply. |