JS Build tool with Node.js
- Node.js
- Npm
- Bower
- Gulp
#!/bin/bash | |
set -e #exit immediately if a simple command exits with a nonzero exit value | |
/usr/bin/npm install -g bower |
#!/bin/bash | |
set -e #exit immediately if a simple command exits with a nonzero exit value | |
/usr/bin/npm install -g gulp |
[ | |
{ | |
"name": "Node", | |
"command": "/usr/bin/node -v", | |
"required": "6.5.0", | |
"comparison": ">=", | |
"installer": "npm.sh", | |
"order": "1" | |
}, | |
{ | |
"name": "Npm", | |
"command": "/usr/bin/npm -v", | |
"required": "3.10.3", | |
"comparison": ">=", | |
"installer": "npm.sh", | |
"order": "2" | |
}, | |
{ | |
"name": "Bower", | |
"command": "/usr/bin/bower -v", | |
"required": "1.7.9", | |
"comparison": ">=", | |
"installer": "bower.sh", | |
"order": "3" | |
}, | |
{ | |
"name": "Gulp", | |
"command": "/usr/bin/gulp -v | awk '{ print $4 }'", | |
"required": "3.9.1", | |
"comparison": ">=", | |
"installer": "gulp.sh", | |
"order": "4" | |
} | |
] |
#!/bin/bash | |
set -e #exit immediately if a simple command exits with a nonzero exit value | |
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - | |
sudo apt-get install -y nodejs |