Skip to content

Commit de36177

Browse files
committed
🐜
1 parent 8f460db commit de36177

File tree

3 files changed

+52
-43
lines changed

3 files changed

+52
-43
lines changed

Gruntfile.js

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ module.exports = function(grunt) {
4141
// livereload: true
4242
// }
4343
// },
44-
jstest: {
45-
files: ['test/spec/{,*/}*.js'],
46-
tasks: ['test:watch']
47-
},
44+
// jstest: {
45+
// files: ['test/spec/{,*/}*.js'],
46+
// tasks: ['test:watch']
47+
// },
4848
less: {
4949
files: ['<%= config.app %>/less/*.less'],
5050
tasks: ['less']
@@ -176,14 +176,14 @@ module.exports = function(grunt) {
176176
},
177177

178178
// Mocha testing framework configuration options
179-
mocha: {
180-
all: {
181-
options: {
182-
run: true,
183-
urls: ['http://<%= connect.test.options.hostname %>:<%= connect.test.options.port %>/index.html']
184-
}
185-
}
186-
},
179+
// mocha: {
180+
// all: {
181+
// options: {
182+
// run: true,
183+
// urls: ['http://<%= connect.test.options.hostname %>:<%= connect.test.options.port %>/index.html']
184+
// }
185+
// }
186+
// },
187187

188188
// Add vendor prefixed styles
189189
autoprefixer: {
@@ -244,16 +244,16 @@ module.exports = function(grunt) {
244244
},
245245

246246
// The following *-min tasks produce minified files in the dist folder
247-
imagemin: {
248-
dist: {
249-
files: [{
250-
expand: true,
251-
cwd: '<%= config.app %>/images',
252-
src: '{,*/}*.{gif,jpeg,jpg,png}',
253-
dest: '<%= config.dist %>/images'
254-
}]
255-
}
256-
},
247+
// imagemin: {
248+
// dist: {
249+
// files: [{
250+
// expand: true,
251+
// cwd: '<%= config.app %>/images',
252+
// src: '{,*/}*.{gif,jpeg,jpg,png}',
253+
// dest: '<%= config.dist %>/images'
254+
// }]
255+
// }
256+
// },
257257

258258
svgmin: {
259259
dist: {
@@ -359,7 +359,7 @@ module.exports = function(grunt) {
359359
],
360360
dist: [
361361
'copy:styles',
362-
'imagemin',
362+
// 'imagemin',
363363
'svgmin'
364364
]
365365
}
@@ -401,8 +401,8 @@ module.exports = function(grunt) {
401401
}
402402

403403
grunt.task.run([
404-
'connect:test',
405-
'mocha'
404+
// 'connect:test',
405+
// 'mocha'
406406
]);
407407
});
408408

package.json

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,34 +8,43 @@
88
},
99
"dependencies": {
1010
"grunt": "~0.4.5",
11-
"grunt-contrib-clean": "~0.5.0",
1211
"grunt-autoprefixer": "~0.7.6",
13-
"grunt-contrib-concat": "~0.3.0",
1412
"grunt-concurrent": "~0.5.0",
13+
"grunt-contrib-clean": "~0.5.0",
14+
"grunt-contrib-concat": "~0.3.0",
1515
"grunt-contrib-connect": "~0.7.1",
16-
"grunt-contrib-htmlmin": "~0.2.0",
16+
"grunt-contrib-copy": "~0.5.0",
1717
"grunt-contrib-cssmin": "~0.9.0",
18+
"grunt-contrib-htmlmin": "~0.2.0",
1819
"grunt-contrib-imagemin": "~0.7.2",
19-
"grunt-contrib-copy": "~0.5.0",
2020
"grunt-contrib-jshint": "~0.9.2",
2121
"grunt-contrib-less": "~0.11.4",
2222
"grunt-contrib-uglify": "~0.4.1",
23+
"grunt-contrib-watch": "~0.6.1",
2324
"grunt-mocha": "~0.4.11",
25+
"grunt-newer": "~0.7.0",
2426
"grunt-rev": "~0.1.0",
2527
"grunt-svgmin": "~0.4.0",
26-
"grunt-newer": "~0.7.0",
2728
"grunt-typescript": "~0.3.8",
28-
"grunt-contrib-watch": "~0.6.1",
29-
"grunt-wiredep": "~1.8.0",
3029
"grunt-usemin": "~2.1.1",
31-
"load-grunt-tasks": "~0.4.0",
32-
"typescript": "~1.0.1",
30+
"grunt-wiredep": "~1.8.0",
31+
"imagemin": "^7.0.1",
32+
"imagemin-gifsicle": "^7.0.0",
3333
"jshint-stylish": "~0.1.5",
34-
"time-grunt": "~0.3.2"
34+
"load-grunt-tasks": "~0.4.0",
35+
"time-grunt": "~0.3.2",
36+
"typescript": "~1.0.1"
37+
},
38+
"devDependencies": {
39+
"grunt-cli": "^1.3.2",
40+
"imagemin-gifsicle": "^7.0.0",
41+
"imagemin-jpegtran": "^7.0.0"
3542
},
36-
"devDependencies": {},
3743
"scripts": {
38-
"test": "echo \"Error: no test specified\" && exit 1"
44+
"test": "echo \"Error: no test specified\" && exit 1",
45+
"build": "grunt serve",
46+
"postinstall":"bower install",
47+
"start": "http-server /app"
3948
},
4049
"repository": {
4150
"type": "git",

test/spec/test.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
(function () {
44
'use strict';
55

6-
describe('Give it some context', function () {
7-
describe('maybe a bit more context here', function () {
8-
it('should run here few assertions', function () {
6+
// describe('Give it some context', function () {
7+
// describe('maybe a bit more context here', function () {
8+
// it('should run here few assertions', function () {
99

10-
});
11-
});
12-
});
10+
// });
11+
// });
12+
// });
1313
})();

0 commit comments

Comments
 (0)