🚨 DEPRECATED: this package has been renamed to better-scripts, see better-scripts.
A User-friendly CLI to run any npm scripts with one command from "begin"
Install with yarn
yarn add begin-script -D
Or install with npm
npm install begin-script --save-dev
Create a .beginrc.json
file in root directory
{
"tasks": [
["🎉Intro", "echo \"Hello world!\"", "An example task"]
]
}
Run npx begin-script
in root directory.
Or add a script in package.json
{
"scripts": {
"begin": "begin-script"
}
}
Now run yarn begin
is good to go.
The API is not stable yet, please check the proposal