Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

npm update package.json version field by code

# From 1.0.0 -> 1.0.1
npm version patch 

# From 1.0.1 -> 1.1.0
npm version minor

# From 1.1.0 -> 2.0.0
npm version major
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #npm #update #version #field #code
ADD COMMENT
Topic
Name
4+9 =