[Pkg-javascript-devel] pkg-js-tools roadmap
Jérémy Lal
kapouer at melix.org
Thu Oct 21 12:20:43 BST 2021
Le jeu. 21 oct. 2021 à 11:13, Yadd <yadd at debian.org> a écrit :
> Hi all,
>
> little proposition for pkg-js-tools 0.10 (experimental):
> * transform package.json:
> + remove unneeded fields (scripts, files, devDependencies,
> keywords,...)
>
Do not be tempted to whitelist needed fields...
Fields needed by node:
https://nodejs.org/api/packages.html#nodejs-packagejson-field-definitions
However these non-standard fields are used in the wild: module,
jsnext:main, style...
+ add field 'pkgjsVersion' to be able to produce auto_pkg-js-tools
> transitions
> + serialize (to minimize size)
>
it's good to have a pretty-printed package.json, though.
Jérémy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20211021/410e0913/attachment.htm>
More information about the Pkg-javascript-devel
mailing list