https://github.com/awwright/gulp-packagejson
Produce npm-compatible package.json files from repository data
https://github.com/awwright/gulp-packagejson
Last synced: about 1 month ago
JSON representation
Produce npm-compatible package.json files from repository data
- Host: GitHub
- URL: https://github.com/awwright/gulp-packagejson
- Owner: awwright
- Created: 2014-01-20T10:54:27.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-01-22T08:33:59.000Z (over 12 years ago)
- Last Synced: 2024-10-07T17:00:04.466Z (over 1 year ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [gulp](https://github.com/wearefractal/gulp)-packagejson
> Create a npm-compatible package.json from various project metadata
## Install
Install with [npm](https://npmjs.org/package/gulp-packagejson)
```
npm install --save-dev gulp-packagejson
```
## Example
```js
var gulp = require('gulp');
var packagejson = require('gulp-packagejson');
gulp.task('default', function () {
gulp.src('.')
.pipe(packagejson({name:'project-npm-name'}))
.pipe(gulp.dest('.'));
});
```
## API
### packagejson(options)
Options has the following options:
* name: the npm name of your package
## License
Unlicense (Public Domain)