-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathinstall-deps.sh
executable file
·76 lines (56 loc) · 1.33 KB
/
install-deps.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/bin/bash
xcode-select –install
# https://rvm.io
# rvm for the rubiess
curl -L https://get.rvm.io | bash -s stable --rails
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# commonly used npm deps
npm_packages=(
yo
express-generator
jade
# gulp & its related packages
gulp
generator-webapp
generator-gulp-webapp
generator-np
# Linting
jshint
#Coding Standards
jscs
# Others
live-server
babel-cli
babel-preset-es2015
psi # Google Page Speed
express
json-server
deployd
itunes-remote
fast-cli
egghead-downloader
chrome-webstore-upload-cli
surge
now
npm-name-cli
pure-prompt
prepack
eslint
wifi-password-cli
xo
wipe-modules
pug
remove-github-forks
)
sudo npm install -g ${npm_packages[@]}
# Install Package Control for Sublime Text 3
PKG_CTRL_FILE="$HOME/Library/Application Support/Sublime Text 3/Installed Packages/Package Control.sublime-package"
[ ! -f "$PKG_CTRL_FILE" ] && curl -o "$PKG_CTRL_FILE" \
"https://sublime.wbond.net/Package Control.sublime-package"
unset PKG_CTRL_FILE
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar
sudo mv wp-cli.phar /usr/local/bin/wp
mkdir ~/go
npm set registry http://127.0.0.1:5080
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"