简体   繁体   中英

How to create an NPM package with Visual Studio 2017?

I like to create and deploy NPM packages with Visual Studio 2017.

I'm using TypeScript to create the JavaScript files.

What project template should I use for this project?

I don't think you need Visual Studio to create a NPM package (it is a little disproportionate) but if you want to use it, the best is the basic html page template .

For this king of project, for me the best is to use visual studio code and arrange the folders & subfolder as you want. You can look to other NPM project in github as Bootstrap for exemple to know how other users arrange their code.

I did a simple NPM package with TypeScript, you can have a look to my code organisation if you want :

https://github.com/AlexTeixeira/Askmethat-Rating

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM