Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mvdanj
· 10y ago · 0 comments
fwiw npm really needs an `exec` command like bundler has (ie `npm exec bin-cmd`).
"$(npm bin)/bin-cmd" is getting really old
Comments
[–]
josephfrazier
10y ago
You can use `npm run env bin-cmd` for that. It's not as convenient as `npm exec bin-cmd` would be, but it might be easier to type than `$(npm bin)/bin-cmd`.