diff options
Diffstat (limited to 'update-core-version.js')
-rw-r--r-- | update-core-version.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/update-core-version.js b/update-core-version.js new file mode 100644 index 0000000..a284e4e --- /dev/null +++ b/update-core-version.js @@ -0,0 +1,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)); |