https://github.com/katt/gitinfo-brunch
https://github.com/katt/gitinfo-brunch
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/katt/gitinfo-brunch
- Owner: KATT
- Created: 2014-09-23T17:51:59.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-09-24T11:59:32.000Z (over 11 years ago)
- Last Synced: 2024-10-05T16:42:34.701Z (over 1 year ago)
- Language: JavaScript
- Size: 133 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gitinfo-brunch
Adds git information about your build to a JSON file.
## Usage
Install the plugin via npm with `npm install --save gitinfo-brunch`.
Or, do manual install:
* Add `"gitinfo-brunch": "x.y.z"` to `package.json` of your brunch app.
Pick a plugin version that corresponds to your minor (y) brunch version.
* If you want to use git version of plugin, add
`"gitinfo-brunch": "git+https://github.com/KATT/gitinfo-brunch.git"`.
__Note:__ The entry in your `package.json` file must come before any other plugins which process Javascript (such as javascript-brunch).
## Config
```coffee
plugins:
gitinfo:
fileName: 'version.json'
outputDirectory: 'public'
enabled: true
```