File tree 5 files changed +11
-11
lines changed 5 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
1
// https://github.com/blazersix/grunt-wp-i18n
2
2
module . exports = {
3
3
options : {
4
- textdomain : '<%= pkg .textdomain %>' ,
4
+ textdomain : '<%= package .textdomain %>' ,
5
5
updateDomains : [ 'all' ]
6
6
} ,
7
7
php : {
Original file line number Diff line number Diff line change 2
2
module . exports = {
3
3
dist : {
4
4
options : {
5
- archive : '<%= paths.dist %><%= pkg .name %>-<%= pkg .version %>.zip'
5
+ archive : '<%= paths.dist %><%= package .name %>-<%= package .version %>.zip'
6
6
} ,
7
7
files : [
8
8
{
@@ -28,13 +28,13 @@ module.exports = {
28
28
'!gruntfile.js' ,
29
29
'!package.json'
30
30
] , // Take this...
31
- dest : '<%= pkg .name %>' // ...put it into this, then zip that up as ^^^
31
+ dest : '<%= package .name %>' // ...put it into this, then zip that up as ^^^
32
32
}
33
33
]
34
34
} ,
35
35
dev : {
36
36
options : {
37
- archive : '<%= paths.dist %><%= pkg .name %>-developer-<%= pkg .version %>.zip'
37
+ archive : '<%= paths.dist %><%= package .name %>-developer-<%= package .version %>.zip'
38
38
} ,
39
39
files : [
40
40
{
@@ -50,7 +50,7 @@ module.exports = {
50
50
'!*.sublime*' ,
51
51
'!.DS_Store'
52
52
] , // Take this...
53
- dest : '<%= pkg .name %>' // ...put it into this, then zip that up as ^^^
53
+ dest : '<%= package .name %>' // ...put it into this, then zip that up as ^^^
54
54
}
55
55
]
56
56
}
Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ module.exports = {
8
8
] ,
9
9
potHeaders : {
10
10
poedit : true ,
11
- 'report-msgid-bugs-to' : '<%= pkg .pot.reportmsgidbugsto %>' ,
12
- 'last-translator' : '<%= pkg .pot.lasttranslator %>' ,
13
- 'language-team' : '<%= pkg .pot.languageteam %>'
11
+ 'report-msgid-bugs-to' : '<%= package .pot.reportmsgidbugsto %>' ,
12
+ 'last-translator' : '<%= package .pot.lasttranslator %>' ,
13
+ 'language-team' : '<%= package .pot.languageteam %>'
14
14
} ,
15
15
type : 'wp-theme'
16
16
}
Original file line number Diff line number Diff line change 1
1
// https://github.com/kswedberg/grunt-version
2
2
module . exports = {
3
3
options : {
4
- pkg : {
5
- version : '<%= pkg .version %>'
4
+ package : {
5
+ version : '<%= package .version %>'
6
6
}
7
7
} ,
8
8
project : {
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ module.exports = function( grunt ) {
3
3
'use strict' ;
4
4
5
5
grunt . registerTask ( 'readpkg' , function ( ) {
6
- grunt . config . set ( 'pkg ' , grunt . file . readJSON ( './package.json' ) ) ;
6
+ grunt . config . set ( 'package ' , grunt . file . readJSON ( './package.json' ) ) ;
7
7
} ) ;
8
8
} ;
You can’t perform that action at this time.
0 commit comments