@@ -6,3 +6,6 @@ |
||
6 | 6 |
|
7 | 7 |
.DS_Store |
8 | 8 |
*/.DS_Store |
9 |
+ |
|
10 |
+.ftppass |
|
11 |
+sftpCache.json |
@@ -288,15 +288,18 @@ module.exports = function (grunt) { |
||
288 | 288 |
// By default, your `index.html`'s <!-- Usemin block --> will take care of |
289 | 289 |
// minification. These next options are pre-configured if you do not wish |
290 | 290 |
// to use the Usemin blocks. |
291 |
- // cssmin: { |
|
292 |
- // dist: { |
|
293 |
- // files: { |
|
294 |
- // '<%= yeoman.dist %>/styles/main.css': [ |
|
295 |
- // '.tmp/styles/{,*/}*.css' |
|
296 |
- // ] |
|
297 |
- // } |
|
298 |
- // } |
|
299 |
- // }, |
|
291 |
+ cssmin: { |
|
292 |
+ dist: { |
|
293 |
+ files: { |
|
294 |
+ '<%= yeoman.dist %>/styles/main.css': [ |
|
295 |
+ '.tmp/styles/{,*/}*.css' |
|
296 |
+ ], |
|
297 |
+ '<%= yeoman.dist %>/styles/styles.css': [ |
|
298 |
+ '.tmp/styles/{,*/}*.css' |
|
299 |
+ ] |
|
300 |
+ } |
|
301 |
+ } |
|
302 |
+ }, |
|
300 | 303 |
// uglify: { |
301 | 304 |
// dist: { |
302 | 305 |
// files: { |
@@ -431,6 +434,22 @@ module.exports = function (grunt) { |
||
431 | 434 |
'svgmin' |
432 | 435 |
] |
433 | 436 |
}, |
437 |
+ 'sftp-deploy': { |
|
438 |
+ build: { |
|
439 |
+ auth: { |
|
440 |
+ host: '162.243.124.54', |
|
441 |
+ port: 22, |
|
442 |
+ authKey: 'key1' |
|
443 |
+ }, |
|
444 |
+ cache: 'sftpCache.json', |
|
445 |
+ src: 'dist', |
|
446 |
+ dest: '/var/www/jamesperet-landing-page/public_html/', |
|
447 |
+ exclusions: ['/dist/**/.DS_Store', '/dist/**/Thumbs.db', 'dist/tmp'], |
|
448 |
+ serverSep: '/', |
|
449 |
+ concurrency: 4, |
|
450 |
+ progress: true |
|
451 |
+ } |
|
452 |
+ }, |
|
434 | 453 |
|
435 | 454 |
// Test settings |
436 | 455 |
karma: { |
@@ -47,6 +47,7 @@ |
||
47 | 47 |
<script src="bower_components/angular-animate/angular-animate.js"></script> |
48 | 48 |
<script src="bower_components/angular-sanitize/angular-sanitize.js"></script> |
49 | 49 |
<script src="bower_components/angular-touch/angular-touch.js"></script> |
50 |
+ <script src="bower_components/angular-ui-router/release/angular-ui-router.js"></script> |
|
50 | 51 |
<!-- endbower --> |
51 | 52 |
<!-- endbuild --> |
52 | 53 |
|
@@ -6,7 +6,8 @@ |
||
6 | 6 |
"bootstrap-sass-official": "^3.2.0", |
7 | 7 |
"angular-animate": "^1.3.0", |
8 | 8 |
"angular-sanitize": "^1.3.0", |
9 |
- "angular-touch": "^1.3.0" |
|
9 |
+ "angular-touch": "^1.3.0", |
|
10 |
+ "angular-ui-router": "~0.2.15" |
|
10 | 11 |
}, |
11 | 12 |
"devDependencies": { |
12 | 13 |
"angular-mocks": "^1.3.0" |
@@ -14,7 +14,7 @@ |
||
14 | 14 |
"grunt-contrib-cssmin": "^0.12.0", |
15 | 15 |
"grunt-contrib-htmlmin": "^0.4.0", |
16 | 16 |
"vinyl-fs": "2.2.1", |
17 |
- "grunt-contrib-imagemin": "^0.9.2", |
|
17 |
+ "grunt-contrib-imagemin": "^1.0.0", |
|
18 | 18 |
"grunt-contrib-jshint": "^0.11.0", |
19 | 19 |
"grunt-contrib-uglify": "^0.7.0", |
20 | 20 |
"grunt-contrib-watch": "^0.6.1", |
@@ -28,6 +28,7 @@ module.exports = function(config) { |
||
28 | 28 |
'bower_components/angular-animate/angular-animate.js', |
29 | 29 |
'bower_components/angular-sanitize/angular-sanitize.js', |
30 | 30 |
'bower_components/angular-touch/angular-touch.js', |
31 |
+ 'bower_components/angular-ui-router/release/angular-ui-router.js', |
|
31 | 32 |
'bower_components/angular-mocks/angular-mocks.js', |
32 | 33 |
// endbower |
33 | 34 |
"app/scripts/**/*.js", |