Content Delivery Network for Project's Common Resources
source content in
/src
-
Must have Git installed
-
Must have node.js (at least LTS) installed with npm (Node Package Manager)
-
Must have Gulp.js node package installed globally.
[sudo] npm install -g gulp
Enter the following commands in the terminal
git https://github.com/erkobridee/cdn.git
cd cdn
npm install
npm install \
del \
gulp \
gulp-bump \
gulp-cached \
gulp-connect \
gulp-jshint \
gulp-lintspaces \
gulp-load-plugins \
gulp-print \
gulp-shell \
gulp-task-listing \
gulp-util \
jshint-stylish \
lazypipe \
open \
run-sequence \
yargs \
--save-dev
-
gulp
- development mode, start server on port 1337 and looksrc
directory files -
gulp --release --preview
- generate deploy version ondist
directory and start server on port 1337 looking to this directory -
gulp --publish
- publish deploy version files ongh-pages
branchgulp --init
- create local directory with github repository on gh-pages branch
-
npm outdated
- check outdated dependencies