script-list

1.0.0 • Public • Published

NPM Script listing Demo

Build Status NPM version Required Node version NPM total downloads Contributors License

sl

A tiny and useful tool to list all npm scripts from package.json file.

sl = script list

Requirements

node >= v4.0.0

Note: If node and npm are not installed, Install them from here.

Installation

Install it from npm:

$ npm install -g script-list

Usage

Access it from terminal or command prompt by sl command.

$ sl
 
   MyAwesomeProject
    - build           : babel src -d lib
    - start           : node node_modules/react-native/local-cli/cli.js start
    - test            : jest --coverage --verbose
 

Script List for Multiple Projects

$ sl MyAwesomeProject MyAwesomeProject2
 
   MyAwesomeProject
    - build           : babel src -d lib
    - start           : node node_modules/react-native/local-cli/cli.js start
    - test            : jest --coverage --verbose
 
 
   MyAwesomeProject2
    - ng        : ng
    - test:e2e  : ng e2e
    - test:unit : ng test
    - test      : ng e2e && ng test
 

Use Globbing

$ sl **/*
 
   MyProject1
    - build           : babel src -d lib
    - start           : node node_modules/react-native/local-cli/cli.js start
    - test            : jest --coverage --verbose
 
 
   MyProject2
    - ng        : ng
    - test:e2e  : ng e2e
    - test:unit : ng test
    - test      : ng e2e && ng test
 
 
   MyProject3
    - build : babel src -d lib
    - start : node src/cli.js
    - test  : mocha test
 

Note: It has built-in support for path globbing on windows.

Contributing

Your PRs and stars are always welcome.

Checkout the CONTRIBUTING guides.

Package Sidebar

Install

npm i script-list

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

809 kB

Total Files

25

Last publish

Collaborators

  • rousan