Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/halfzebra/nok
👟 Running scripts from package.json using a prompt
https://github.com/halfzebra/nok
cli npm npm-scripts
Last synced: 3 months ago
JSON representation
👟 Running scripts from package.json using a prompt
- Host: GitHub
- URL: https://github.com/halfzebra/nok
- Owner: halfzebra
- Created: 2017-10-01T08:19:15.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-03T13:04:34.000Z (about 5 years ago)
- Last Synced: 2024-11-10T22:49:55.969Z (3 months ago)
- Topics: cli, npm, npm-scripts
- Language: JavaScript
- Homepage:
- Size: 17.6 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 👟 nok
[![npm version](https://badge.fury.io/js/nok.svg)](https://badge.fury.io/js/nok)
Run your scripts from `package.json` using a prompt in a terminal.
![nok terminal example](https://user-images.githubusercontent.com/3983879/45908649-e61f8100-bdfd-11e8-989b-107fd530ebc9.gif)
## Installation
```sh
npm install nok -g
```## Usage
Run the `nok` command inside your Node.js project root folder:
```sh
nok
```Run `nok --filterHooks` command inside your Node.js project root folder if you
want to filter hooks from the menu. With the `--filterHooks` flag being set,
only scripts names will be displayed and every pre/post hooks won't be
displayed:```sh
nok --filterHooks
```