1.0.7 • Published 5 years ago

gulp-pkg-json-cleanse v1.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Build Status

gulp-pkg-json-cleanse

Remove properties from the source package.json file for production.

Installing

npm

npm i gulp-pkg-json-cleanse -d

yarn

yarn add gulp-pkg-json-cleanse --dev

Useage

options

{
	// string array of package.json
	// properties to remove
	remove: string[];
}

gulpfile

const pkgcleanse = require('gulp-pkg-json-cleanse');

gulp.task('cleanse-pkgjson', () => {
  return gulp.src('package.json')
    .pipe(pkgcleanse({
      remove: [
        'devDependencies'
      ]
    }))
    .pipe(gulp.dest('./dist'));
});

License

This project is licensed under the MIT License - see the LICENSE.md file for details

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago