1.14.0 • Published 10 months ago

@rodbe/nsl v1.14.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

NSL ⚡️ - Node Script List

List, fuzzy search and run scripts from any type of project

Easy and fast way to run npm scripts 🚀

Install ⚙️

npm i -g @rodbe/nsl

if you have a permission error, try to install with administrator privileges

Usage 🏎️

Just run the command and search for the script you want to run.

nsl

nsl

Arguments

ArgumentAliasDescriptionComment
--all-alist all scriptsby default lifecycle scripts are ignored
--info-iget all info tech for debugging
--version-vget current version

Configuration file

You can configure NSL via (in order of precedence):

  • A .nslrc file written in JSON
  • A .nslrc.json file
  • A .nslrc.js file written in ES module that exports an object using export default
  • A .nslrc.cjs file written in CommonJS module that exports an object using module.exports

Options

The options you can use in the configuration file.

OptionTypeDescription
ignoreScriptsstring[]scripts to ignore

Basic configuration

JSON: .nslrc o .nslrc.json file

{
  "ignoreScripts": [
    "any-script-name-to-ignore",
    "other-script-name-to-ignore",
    "another-script-name-to-ignore"
  ]
}

JS (ES Modules): .nslrc.js file

export default {
  ignoreScripts: [
    'any-script-name-to-ignore',
    'other-script-name-to-ignore',
    'another-script-name-to-ignore',
  ],
};

CJS (CommonJS): .nslrc.cjs file

module.exports = {
  ignoreScripts: [
    'any-script-name-to-ignore',
    'other-script-name-to-ignore',
    'another-script-name-to-ignore',
  ],
};

Contributors are welcome 👋

License

MIT

1.14.0

10 months ago

1.13.1

10 months ago

1.13.0

10 months ago

1.12.0

11 months ago

1.11.0

11 months ago

1.10.0

11 months ago

1.9.0

11 months ago

1.8.0

11 months ago

1.7.0

11 months ago

1.6.1

11 months ago

1.6.0

11 months ago

1.5.0

11 months ago

1.4.0

11 months ago

1.3.0

11 months ago

1.2.0

11 months ago

1.1.4

11 months ago

1.1.3

11 months ago

1.1.2

11 months ago

1.1.1

11 months ago

1.1.0

11 months ago

1.0.0

11 months ago

0.0.1

11 months ago