summaryrefslogtreecommitdiffstats
path: root/update-core-version.js
blob: a284e4ec73f7510314d5fa580ca40856937bdf04 (plain)
1
2
3
4
5
6
7
8
var fs = require('fs');
const fileName = './bower.json';
var bowerjson = require(fileName);

const version = require('./package.json').version;
bowerjson.dependencies["vaadin-core"] = version;

fs.writeFileSync(fileName, JSON.stringify(bowerjson, null, 2));