Le 21/10/2021 à 13:20, Jérémy Lal a écrit : > > > Le jeu. 21 oct. 2021 à 11:13, Yadd <[email protected] > <mailto:[email protected]>> 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 > <https://nodejs.org/api/packages.html#nodejs-packagejson-field-definitions> > However these non-standard fields are used in the wild: module, > jsnext:main, style...
Of course, it will be based on a blacklist > + 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 > -- Pkg-javascript-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel
