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,8 +1,9 @@
const execAsync = require('async-child-process').execAsync;
const postpublish_utils = require('../../../scripts/postpublish_utils');
const packageJSON = require('../package.json');
const cwd = __dirname + '/..';
const subPackageName = '0x.js';
const subPackageName = packageJSON.name;
let tag;
let version;