-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.npm-timeline
More file actions
29 lines (20 loc) · 1.17 KB
/
.npm-timeline
File metadata and controls
29 lines (20 loc) · 1.17 KB
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
//Create project structure Initialize with npm ang git
mkdir browserifytuttie && cd browserifytuttie && npm init && git init
//Add the npm ramda package
npm install --save ramda && npm i
//Install project dev dependencies
npm install --save-dev babel-preset-es2015 babel-preset-react babelify browserify chalk gulp gulp-duration gulp-livereload gulp-notify gulp-rename gulp-sourcemaps gulp-util react react-dom utils-merge vinyl-buffer vinyl-source-stream watchify
//Add the beefy server, source maps extractor and source code uglifier
npm install --save-dev beefy mapstraction minifyify
//Remove gulp-livereload from package.json and run
npm uninstall gulp-livereload && npm update
//Add browser-sync to replace livereload
npm i --save-dev browser-sync
//Add other utilites to support gulp automated tasks
npm install --save-dev del gulp-changed gulp-imagemin gulp-plumber gulp-uglify
//Add mising gulp utils, gulp-concat gulp-newer
npm install --save-dev gulp-concat gulp-newer
//Runs a sequence of gulp tasks in the specified order.
npm i --save-dev run-sequence
//Add a UNIX command rm -rf for node with rimraf, and a CLI mode for imagemin
npm install --save-dev rimraf imagemin-cli