New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@springtree/buildinfo

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@springtree/buildinfo

Script for generating build.json file containing build time info

68

Supply Chain Security

76

Quality

82

Maintenance

100

Vulnerabilities

100

License



Version published
Weekly downloads
238
increased by1.71%
Maintainers
5
Weekly downloads
 
Created

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

Usage:

npx @springtree/buildinfo generate -o www/

Development

Publish

Publish with:

npm publish --access public

FAQs

Package last updated on 13 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts