npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

grunt-nuget

v0.3.1

Published

Grunt NuGet interface - Prepare, package and publish your application in NuGet gallery using Grunt JS

Downloads

3,834

Readme

grunt-nuget NPM version

Grunt NuGet Interface - Create and publish your NuGet packages using GruntJS.

Getting Started

Install this grunt plugin next to your project's gruntfile with: npm install grunt-nuget --save-dev

NOTE : if you are on a unix system, you should install Mono first.

Then add this line to your project's Gruntfile.js :

grunt.loadNpmTasks('grunt-nuget');

Then specify your config:

grunt.initConfig({

For package creation : (more informations)

    nugetpack: {
        dist: {
            src: 'tests/Package.nuspec',
            dest: 'tests/'
        }
    }

For package publication : (more informations)

	nugetpush: {
		dist: {
			src: 'tests/*.nupkg',
 
			options: {
				apiKey: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'
			}
		}
	}

For package restore : (more informations)

	nugetrestore: {
		restore: {
			src: 'tests/packages.config',
			dest: 'packages/'
		}
	}

For project update : (more informations)

	nugetupdate: {
		update: {
			src: 'project.sln'
		}
	}
});

In order to avoid specifying your API Key inside your Gruntfile you can use command line task : (more informations)

grunt nugetkey --key=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

Release History

  • 0.1.0 Initial Release
  • 0.1.1 Fix issue with OutputDirectory in NuGet Push
  • 0.1.2
    • Update NuGet.exe to version 2.8
    • Add support for csproj files in nugetpack command.
  • 0.1.3
    • Add package restore command
    • Added mono support on platforms other than windows
    • Fix issue when nuget-pack destination directory does not exists
  • 0.1.4
    • Update NuGet.exe to version 2.8.2
    • Fix issue in options parsing.
  • 0.1.5
    • Update NuGet.exe to version 3.2.0
  • 0.1.6
    • Update NuGet.exe to version 3.4.4
    • Add default Source option in push task to allow backward compatibility
  • 0.1.7
    • Update NuGet.exe to version 3.5.0
  • 0.2.0
    • Add task nugetupdate
  • 0.3.0
    • Update NuGet.exe to version 4.1
  • 0.3.1
    • Update NuGet.exe to version 4.7.1