@springtree/buildinfo
v0.0.10
Published
Script for generating build.json file containing build time info
Downloads
1,571
Keywords
Readme
Buildinfo
Small utility script to generate a generic build.json
file containing the context of a build.
https://www.npmjs.com/package/@springtree/buildinfo
Example output:
{
"name": "my-application",
"description": "My pretty application",
"version": "0.0.2",
"buildNr": "123",
"buildTime": "2019-12-05T11:37:36.892Z",
"branch": "master",
"commit": "85a40aaf83e1ed05ba7ef3d3589fa0dce4286e6d"
}
Supported CI's
- Bitrise
- Travis
- Google CloudBuild
- Netlify
- Github
- Cloudflare Pages (limited, no BUILD NR equivalent avialable)
Usage:
npx @springtree/buildinfo generate -o www/
Development
Publish
Publish with:
npm publish --access public