1.0.0 • Published 7 years ago

package-json-versioner v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

package-json-versioner

Takes package.json and copies to given directory. Of package.json version ends with snapshot appends dot and timestamp. For example, version 1.0-SNAPSHOT becomes 1.0-SNAPSHOT.1494248012112.

Usage: package-json-versioner <destination-dir>

Can be used with npm build script like this:

...
"scripts": {
  "build": "babel ./src --out-dir ./dist && package-json-versioner ./dist",
  "publish": "npm publish dist"
},
...
1.0.0

7 years ago

0.1.0

7 years ago