use normalize-package-metadata to normalize pkgs

This commit is contained in:
Hawken Rives 2015-10-26 18:54:04 -05:00
parent ace79e745a
commit 9baeddf712
2 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,7 @@
"lodash": "^3.10.1",
"nerf-dart": "^1.0.0",
"nopt": "^3.0.3",
"normalize-package-data": "^2.3.4",
"npmconf": "^2.1.2",
"npmlog": "^2.0.0",
"parse-github-repo-url": "^1.0.0",

View File

@ -6,10 +6,11 @@ const _ = require('lodash')
const log = require('npmlog')
const nopt = require('nopt')
const npmconf = require('npmconf')
const normalizeData = require('normalize-package-data')
log.heading = 'semantic-release'
const env = process.env
const pkg = JSON.parse(readFileSync('./package.json'))
const pkg = normalizeData(readFileSync('./package.json'))
const knownOptions = {
branch: String,
debug: Boolean,