Enable build support by adding .buildspec.yml
.github/workflows | Loading last commit info... | |
src | ||
stuff | ||
.gitignore | ||
CHANGELOG.md | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
README.md | ||
package.json |
README.md
dum replaces npm run
.
Instead of waiting 200ms for your npm client to start, it will start immediately.
💛 You can help the author become a full-time open-source maintainer by sponsoring him on GitHub.
How
This is written in Rust! (Or any compile-to-native language).
Install
If you are a Mac user, install it with Homebrew:
brew install egoist/tap/dum
If you are a Rust user:
cargo install dum
Or download a release and move it to /usr/local/bin
manually.
PR welcome for adding a shell script so you can install dum
with a single curl
command.
Usage
dum some-npm-script
dum some-npm-script --flags will --be forwareded
# Run `npm i` or `yarn` or `pnpm i` depending on the project
dum install # or `dum i`
# Like above but add packages
dum add react vue -D
# Change working directory
dum -c packages/sub-package build
# More
dum --help
Limitations
- package.json vars are not supported, I personally never used it, if you believe it's necessary, please leave a comment here.
Inspiration
I want to try and learn Rust so I made this. Inspired by bun.
Sponsors
License
MIT © EGOIST