Skip to content

Commit 03fd929

Browse files
author
Evan You
committed
update dev dependencies
1 parent a740802 commit 03fd929

File tree

2 files changed

+22
-23
lines changed

2 files changed

+22
-23
lines changed

Gruntfile.js

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,35 +6,34 @@ module.exports = function( grunt ) {
66

77
grunt.initConfig({
88

9-
component_build: {
9+
componentbuild: {
1010
build: {
11-
output: './dist/',
12-
name: 'seed',
13-
styles: false,
14-
standalone: 'Seed'
11+
options: {
12+
name: 'seed',
13+
standalone: 'Seed'
14+
},
15+
src: '.',
16+
dest: 'dist'
1517
},
1618
test: {
17-
output: './test/',
18-
name: 'seed.test',
19-
styles: false
19+
options: {
20+
name: 'seed.test'
21+
},
22+
src: '.',
23+
dest: 'test'
2024
}
2125
},
2226

2327
jshint: {
2428
options: {
25-
reporter: require('jshint-stylish')
29+
reporter: require('jshint-stylish'),
30+
jshintrc: true
2631
},
2732
dev: {
28-
src: ['src/**/*.js'],
29-
options: {
30-
jshintrc: './.jshintrc'
31-
}
33+
src: ['src/**/*.js']
3234
},
3335
test: {
34-
src: ['test/unit/specs/*.js', 'test/functional/specs/*.js'],
35-
options: {
36-
jshintrc: 'test/.jshintrc'
37-
}
36+
src: ['test/unit/specs/*.js', 'test/functional/specs/*.js']
3837
}
3938
},
4039

@@ -54,7 +53,7 @@ module.exports = function( grunt ) {
5453
compress: true,
5554
mangle: true,
5655
banner:
57-
'// Seed.js ' + require('./package.json').version + '\n' +
56+
'// Seed.js - v' + require('./package.json').version + '\n' +
5857
'// (c) 2013 Evan You\n' +
5958
'// https://github.com/yyx990803/seed\n'
6059
},
@@ -67,7 +66,7 @@ module.exports = function( grunt ) {
6766
watch: {
6867
dev: {
6968
files: ['src/**/*.js', 'component.json'],
70-
tasks: ['component_build', 'jsc']
69+
tasks: ['componentbuild', 'jsc']
7170
}
7271
}
7372

@@ -144,7 +143,7 @@ module.exports = function( grunt ) {
144143
})
145144

146145
grunt.registerTask( 'test', [
147-
'component_build',
146+
'componentbuild',
148147
'jsc',
149148
'mocha',
150149
'casper'

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
"devDependencies": {
2525
"grunt": "~0.4.1",
2626
"grunt-contrib-watch": "~0.5.3",
27-
"grunt-component-build": "~0.3.2",
28-
"grunt-contrib-jshint": "~0.6.4",
29-
"grunt-contrib-uglify": "~0.2.4",
27+
"grunt-component-build": "~0.4.1",
28+
"grunt-contrib-jshint": "~0.7.1",
29+
"grunt-contrib-uglify": "~0.2.7",
3030
"grunt-mocha": "~0.4.1",
3131
"jscoverage": "~0.3.8",
3232
"jshint-stylish": "0.1.3"

0 commit comments

Comments
 (0)