-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathnpminstall.sh
executable file
·30 lines (22 loc) · 921 Bytes
/
npminstall.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
#!/bin/bash
# Before running, ensure npminstall.sh has execute set
# > chmod +x npminstall.sh
# > "sudo ./npminstall.sh"
# Note: must run as sudo for -g (global flag)
echo "npminstall.sh script started"
# Install
npm install -g express # Express JS framework
npm install -g mocha # Unit test framework
npm install -g nodemon # Watch / restart on changes
npm install -g ndb # Chrome dev tools for Node
# npm install -g typescript # Typescript
# npm install -g yo # Yeoman scaffolding tool
# Yo generators / project scaffolding
# npm install -g generator-code # Visual Studio Code Projects
# npm install -g generator-mocha # Mocha unit testing framework
# Typescript Definitions
npm install -g @types/node
npm install -g @types/express
echo "Listing Global NPM Packages:"
npm list -g --depth=0
echo "npminstall.sh script finished"