use normalize-package-metadata to normalize pkgs
This commit is contained in:
parent
ace79e745a
commit
9baeddf712
@ -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",
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user