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


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


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