{"$schema":"http://json-schema.org/draft-07/schema#","title":"Configuration files for the esm module/package in Node.js","properties":{"cjs":{"default":true,"oneOf":[{"type":"boolean","default":true},{"type":"object","properties":{"cache":{"type":"boolean","default":true},"esModule":{"type":"boolean","default":true},"extensions":{"type":"boolean","default":true},"mutableNamespace":{"type":"boolean","$comment":"https://ponyfoo.com/articles/es6-modules-in-depth#import-all-the-things","default":true},"namedExports":{"type":"boolean","$comment":"https://ponyfoo.com/articles/es6-modules-in-depth#importing-named-exports","default":true},"paths":{"type":"boolean","$comment":"https://github.com/nodejs/node-eps/blob/master/002-es-modules.md#432-removal-of-non-local-dependencies","default":true},"vars":{"type":"boolean","default":true},"dedefault":{"type":"boolean","default":false},"topLevelReturn":{"type":"boolean","default":false}}}]},"mainFields":{"type":"array","default":["main"],"uniqueItems":true,"items":{"type":"string"}},"mode":{"type":"string","default":"auto","oneOf":[{"const":"auto","$comment":"https://github.com/tc39/proposal-modules-pragma"},{"const":"all"},{"const":"strict"}]},"await":{"type":"boolean","$comment":"https://github.com/tc39/proposal-top-level-await","default":false},"force":{"type":"boolean","default":false},"wasm":{"type":"boolean","$comment":"https://nodejs.org/api/globals.html#globals_webassembly","default":false},"cache":{"type":"boolean","default":true},"sourceMap":{"type":"boolean","default":false}},"additionalProperties":false}