diff --git a/custompkg/root/etc/skel/Library/user-setup/200.install-npm-packages.sh b/custompkg/root/etc/skel/Library/user-setup/200.install-npm-packages.sh new file mode 100644 index 0000000..3f228e7 --- /dev/null +++ b/custompkg/root/etc/skel/Library/user-setup/200.install-npm-packages.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +# set up paths and whatnot +source $HOME/.profile + +NPM_PKGS=" + coffee-script +" + +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