chore: remove devDependencies from package.json published to npm
Closes #4502
This commit is contained in:
parent
150cc22532
commit
9f688d314f
@ -128,14 +128,7 @@ function getTemplatedPubspecsTree() {
|
|||||||
license: BASE_PACKAGE_JSON.license,
|
license: BASE_PACKAGE_JSON.license,
|
||||||
contributors: BASE_PACKAGE_JSON.contributors,
|
contributors: BASE_PACKAGE_JSON.contributors,
|
||||||
dependencies: BASE_PACKAGE_JSON.dependencies,
|
dependencies: BASE_PACKAGE_JSON.dependencies,
|
||||||
devDependencies: {
|
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']
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
// Generate pubspec.yaml from templates.
|
// Generate pubspec.yaml from templates.
|
||||||
var pubspecs = modulesFunnel(['**/pubspec.yaml']);
|
var pubspecs = modulesFunnel(['**/pubspec.yaml']);
|
||||||
|
@ -67,14 +67,7 @@ module.exports = function makeNodeTree(destinationPath) {
|
|||||||
contributors: BASE_PACKAGE_JSON.contributors,
|
contributors: BASE_PACKAGE_JSON.contributors,
|
||||||
dependencies: BASE_PACKAGE_JSON.dependencies,
|
dependencies: BASE_PACKAGE_JSON.dependencies,
|
||||||
devDependencies: BASE_PACKAGE_JSON.devDependencies,
|
devDependencies: BASE_PACKAGE_JSON.devDependencies,
|
||||||
defaultDevDependencies: {
|
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']
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
var packageJsons = new Funnel(modulesTree, {include: ['**/package.json']});
|
var packageJsons = new Funnel(modulesTree, {include: ['**/package.json']});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user