         #
         yuidoc:
             compile:
-                name: '<%= pkg.name %>'
-                description: '<%= pkg.description %>'
-                version: '<%= pkg.version %>'
-                url: '<%= pkg.homepage %>'
+                name: '<%= npm.name %>'
+                description: '<%= npm.description %>'
+                version: '<%= npm.version %>'
+                url: '<%= npm.homepage %>'
                 options:
                     paths: grunt.file.expand( [ 'src' ] )
                     outdir: 'dist/doc'

        compress:
            dist:
                options:
                    archive: 'dist/<%= pkg.name %>-<%= pkg.version %>.zip'
                expand: true
                cwd:    'dist/app'
                src:    [ '**/*' ]


            yuidoc:
                options:
                    archive:  'dist/<%= npm.name %>-<%= npm.version %>-doc.zip'
                expand: true
                cwd:    'dist/doc'
                src:    [ '**/*' ]
