Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
d29784e1
Commit
d29784e1
authored
Nov 04, 2017
by
Athaher Sirnaik
Committed by
Robby Russell
Nov 04, 2017
Browse files
Improved npm aliases: run, publish (#6354)
parent
fb122708
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/npm/npm.plugin.zsh
View file @
d29784e1
...
@@ -38,9 +38,17 @@ alias npmV="npm -v"
...
@@ -38,9 +38,17 @@ alias npmV="npm -v"
# List packages
# List packages
alias
npmL
=
"npm list"
alias
npmL
=
"npm list"
# List top-level installed packages
alias
npmL0
=
"npm ls --depth=0"
# Run npm start
# Run npm start
alias
npmst
=
"npm start"
alias
npmst
=
"npm start"
# Run npm test
# Run npm test
alias
npmt
=
"npm test"
alias
npmt
=
"npm test"
# Run npm scripts
alias
npmR
=
"npm run"
# Run npm publish
alias
npmP
=
"npm publish"
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment