篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text npm fish shell别名相关的知识,希望对你有一定的参考价值。
# Install dependencies globally
alias npmg="npm i -g "
# npm package names are lowercase
# Thus, we've used camelCase for the following aliases:
# Install and save to dependencies in your package.json
# npms is used by https://www.npmjs.com/package/npms
alias npmS="npm i -S "
# Install and save to dev-dependencies in your package.json
# npmd is used by https://github.com/dominictarr/npmd
alias npmD="npm i -D "
# Execute command using npx binary
# i.e npmE gulp
alias npmE='npx '
# Check which npm modules are outdated
alias npmO="npm outdated"
# Run npm start
alias npmst="npm start"
# Run npm test
alias npmt="npm test"
# Run npm run watch
## (The "watch" script must exist in the package.json)
alias npmW="npm run watch"
以上是关于text npm fish shell别名的主要内容,如果未能解决你的问题,请参考以下文章