Author - vitprog@gmail.com
Install NodeJs:
sudo curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get update
sudo apt-get install -y nodejs
Install Gulp:
sudo npm install gulp -g
Install Karma:
sudo npm install karma -g
Install Typings:
sudo npm install typings -g
- gulp
- karma
- jasmine
- typescript
- browserify
- browserSync
git clone https://github.com/VitProg/typescript-gulp-browserify-browsersync-template.git
сd typescript-gulp-browserify-browsersync-template
npm install
typings install dt~jasmine --save --global
gulp
andgulp build
- build projectgulp clean
- clean build directorygulp server
- run browserSync server and open project in browsergulp watch
- run browserSync server, open project in browser and watch files changes with hot reloadgulp test
- run unit tests