Crates.io | nr |
lib.rs | nr |
version | 0.1.0 |
source | src |
created_at | 2024-05-02 14:26:36.675733 |
updated_at | 2024-05-02 14:26:36.675733 |
description | A npm script runner |
homepage | |
repository | |
max_upload_size | |
id | 1227788 |
size | 33,823 |
Just nr [script]
, fastly excute any node's project any script.
Usage: nr <COMMAND>
Commands:
run Run any alias script or default
ls Show alias script list
alias Set alias to map script
delete Delete alias
install Use the right package manager to install
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
First run, you just need to run
.
nr run [alias] [script]
After above, you can use this [alias] to run script directly.
nr run [alias]
Even if alias is empty, just excute it without any thinking!
nr
will use right package manager to instlal dependencies.
nr install
# or
nr install -D [npm_package_name...]