Skip to content

Commit

Permalink
chore: remove devDependencies from package.json published to npm
Browse files Browse the repository at this point in the history
Closes #4502
  • Loading branch information
pkozlowski-opensource committed Oct 3, 2015
1 parent 150cc22 commit 9f688d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
9 changes: 1 addition & 8 deletions tools/broccoli/trees/dart_tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,7 @@ function getTemplatedPubspecsTree() {
license: BASE_PACKAGE_JSON.license,
contributors: BASE_PACKAGE_JSON.contributors,
dependencies: BASE_PACKAGE_JSON.dependencies,
devDependencies: {
"yargs": BASE_PACKAGE_JSON.devDependencies['yargs'],
"gulp-sourcemaps": BASE_PACKAGE_JSON.devDependencies['gulp-sourcemaps'],
"gulp-traceur": BASE_PACKAGE_JSON.devDependencies['gulp-traceur'],
"gulp": BASE_PACKAGE_JSON.devDependencies['gulp'],
"gulp-rename": BASE_PACKAGE_JSON.devDependencies['gulp-rename'],
"through2": BASE_PACKAGE_JSON.devDependencies['through2']
}
devDependencies: {}
};
// Generate pubspec.yaml from templates.
var pubspecs = modulesFunnel(['**/pubspec.yaml']);
Expand Down
9 changes: 1 addition & 8 deletions tools/broccoli/trees/node_tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,7 @@ module.exports = function makeNodeTree(destinationPath) {
contributors: BASE_PACKAGE_JSON.contributors,
dependencies: BASE_PACKAGE_JSON.dependencies,
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'],
"gulp": BASE_PACKAGE_JSON.devDependencies['gulp'],
"gulp-rename": BASE_PACKAGE_JSON.devDependencies['gulp-rename'],
"through2": BASE_PACKAGE_JSON.devDependencies['through2']
}
defaultDevDependencies: {}
};

var packageJsons = new Funnel(modulesTree, {include: ['**/package.json']});
Expand Down

0 comments on commit 9f688d3

Please sign in to comment.