chore(npm): correct generated package json files.
This commit is contained in:
parent
c4e10ea9ac
commit
0f7dd62f16
|
@ -13,5 +13,5 @@
|
|||
"rx": "<%= packageJson.dependencies['rx'] %>",
|
||||
"zone.js": "<%= packageJson.dependencies['zone.js'] %>"
|
||||
},
|
||||
"devDependencies": <%= JSON.stringify(packageJson.devDependencies) %>
|
||||
"devDependencies": <%= JSON.stringify(packageJson.defaultDevDependencies) %>
|
||||
}
|
||||
|
|
|
@ -13,5 +13,5 @@
|
|||
"rx": "<%= packageJson.dependencies['rx'] %>",
|
||||
"zone.js": "<%= packageJson.dependencies['zone.js'] %>"
|
||||
},
|
||||
"devDependencies": <%= JSON.stringify(packageJson.devDependencies) %>
|
||||
"devDependencies": <%= JSON.stringify(packageJson.defaultDevDependencies) %>
|
||||
}
|
||||
|
|
|
@ -9,11 +9,12 @@
|
|||
"license": "<%= packageJson.license %>",
|
||||
"dependencies": {
|
||||
"angular2": "<%= packageJson.version %>",
|
||||
"firefox-profile": "<%= packageJson.devDependencies['firefox-profile'] %>",
|
||||
"jpm": "<%= packageJson.devDependencies.jpm %>",
|
||||
"traceur": "<%= packageJson.dependencies.traceur %>",
|
||||
"selenium-webdriver": "<%= packageJson.dependencies['selenium-webdriver'] %>",
|
||||
"reflect-metadata": "<%= packageJson.dependencies['reflect-metadata'] %>"
|
||||
},
|
||||
"devDependencies": <%= JSON.stringify(packageJson.devDependencies) %>
|
||||
"optionalDependencies": {
|
||||
"jpm": "<%= packageJson.devDependencies.jpm %>",
|
||||
"firefox-profile": "<%= packageJson.devDependencies['firefox-profile'] %>"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -63,7 +63,8 @@ module.exports = function makeNodeTree(destinationPath) {
|
|||
license: BASE_PACKAGE_JSON.license,
|
||||
contributors: BASE_PACKAGE_JSON.contributors,
|
||||
dependencies: BASE_PACKAGE_JSON.dependencies,
|
||||
devDependencies: {
|
||||
devDependencies: BASE_PACKAGE_JSON.devDependencies,
|
||||
defaultDevDependencies: {
|
||||
"yargs": BASE_PACKAGE_JSON.devDependencies['yargs'],
|
||||
"gulp-sourcemaps": BASE_PACKAGE_JSON.devDependencies['gulp-sourcemaps'],
|
||||
"gulp-traceur": BASE_PACKAGE_JSON.devDependencies['gulp-traceur'],
|
||||
|
|
Loading…
Reference in New Issue