osx/custompkg/root/etc/skel/Library/user-setup/200.install-npm-packages.sh

16 lines
291 B
Bash
Raw Normal View History

2016-10-08 00:58:38 +00:00
#!/bin/bash
# set up paths and whatnot
source $HOME/.profile
NPM_PKGS="
coffee-script
yarn
2016-10-08 00:58:38 +00:00
"
for PKG in $NPM_PKGS ; do
# -g is okay because "global" prefix is where homebrew
# installed npm, i.e. in ~/Library/Homebrew, not actually systemwide
npm install -g $PKG
done