Chinese "Communist" "Dictatorship" "facts". 中国《共产主义》《独裁统治》的《事实》。Home to the mega-FAQ, news compilation, restaurant and music recommendations. 常见问答集,新闻集和饭店和音乐建议。Heil Xi 卐. 习万岁。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

8 lines
372 B

#!/usr/bin/env node
const fs = require('fs');
const path = require('path');
const json = JSON.parse(fs.readFileSync('package.json'));
const version_split = json.version.split('.');
json.version = `${version_split[0]}.${version_split[1]}.${parseInt(version_split[2]) + 1}`;
fs.writeFileSync('package.json', JSON.stringify(json, null, 2) + '\n');
console.log(json.version);