Skip to content

vadimdemedes/install-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

install-script Circle CI

Generate universal (OS X and Linux) installation scripts for your CLI programs hosted on npm.

Features

  • Installs git, curl and stable node (if needed)
  • Globally installs your npm module (npm install -g)
  • Generates understandable code (see template.js)

Installation

$ npm install install-script --save

Usage

See template for installation scripts in template.js.

const installScript = require('install-script');

let script = installScript({
  name: 'ava'
});

Related projects

Tests

Circle CI

$ make test

License

MIT © vdemedes