Get package name from package.json

This commit is contained in:
Fabio Berger
2017-11-17 14:33:43 -06:00
parent cd0f6716e8
commit 70f4453e3e
5 changed files with 10 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
const postpublish_utils = require('../../../scripts/postpublish_utils');
const packageJSON = require('../package.json');
const subPackageName = '0xproject/connect';
const subPackageName = packageJSON.name;
postpublish_utils.getLatestTagAndVersionAsync(subPackageName)
.then(function(result) {