In this article, I would like to share basic knowledge for package.json
🍮 Restrict Node version
If you want to keep node.js version in your project, please write following configuration in package.json
:
{ |
If you use nvm and you put .nvmrc
, you can use specific version of node.js.
🚜 License for private product
For preventing publishing the product to npm libraries, please set "license": "UNLICENSED"
and "private": true
:
{ |
🎂 Special Thanks
- https://docs.npmjs.com/files/package.json#engines
- http://blog.pinkumohikan.com/entry/set-unlicensed-to-license-field-when-private-product
🖥 Recommended VPS Service
VULTR provides high performance cloud compute environment for you.
Vultr has 15 data-centers strategically placed around the globe, you can use a VPS with 512 MB memory for just $ 2.5 / month ($ 0.004 / hour).
In addition, Vultr is up to 4 times faster than the competition, so please check it => Check Benchmark Results!!