gulp-about
Gulp plugin useful for generating information about your application build, such as name, version ...
Installation
Non-lazy people | Lazy people |
---|---|
npm install --save-dev gulp-about |
npm i -D gulp-about |
Usage
gulpfile.js
var about = ;var gulp = ; gulp;
The above task will produce the file about.json
in the folder dist
. By default, only the name and the version of the application are written.
Options
Pass options to gulp-about
:
gulp;
keys
Type: String | String[]
Default: ['name', 'version']
The properties to keep from the source file.
fileName
Type: String
Default: about.json
The name of the destination file.
indent
Type: Number
Default: 2
The number of spaces used for indentation in the destination file.
inject
Type: Object
Default: {}
Object of properties to inject in the output. Useful to extend the output with properties not in the source file.
License
gulp-about is Copyright (c) 2015 Michael P. Bazos and licensed under the MIT license. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details.