From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

Dist::Zilla::Plugin::JSAN::NPM - Generate the `package.json` file, suitable for `npm` package manager

VERSION

version 0.01

SYNOPSIS

In your dist.ini:

[JSAN::NPM]
name = some-distro ; lowercased distribution name if not provided
version = 1.2.3 ; version, appended with ".0" to conform semver
; (if not provided)
author = Clever Guy <cg@cleverguy.org> ; the 1st specified author
contributor = Clever Guy2 <cg2@cleverguy.org> ; note the singular spelling
contributor = Clever Guy3 <cg2@cleverguy.org> ; other authors from main config
description = Some clever, yet compact description ; asbtract from main config
homepage = http://cleverguy.org ; can recommend Dist::Zilla::Plugin::GithubMeta
main = 'lib/some/distro' ; default to main module in distribution
dependency = "foo" : "1.0.0 - 2.9999.9999" ; note the singular spelling
dependency = "bar" : ">=1.0.2 <2.1.2" ;
engine = "node >=0.1.27 <0.1.30" ; note the singular spelling
engine = "dode >=0.1.27 <0.1.30" ;

DESCRIPTION

JSA-npm bridge, which generate the "package.json" file for your distribution, based on the content of "dist.ini"

AUTHOR

Nickolay Platonov <nplatonov@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Nickolay Platonov.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 267:

Deleting unknown formatting code N<>