dotfiles/bash/.aliases/node.sh

5 lines
180 B
Bash

#!/bin/bash
alias clean-node-modules='find . -name "node_modules" -type d -print0 |xargs -0 rm -r --'
alias organize-package-json='npx format-package -w && npx sort-package-json'