2024-09-12 08:15:38 -04:00
|
|
|
{"name":"preact","description":"Fast 3kb React-compatible Virtual DOM library.","dist-tags":{"latest":"10.19.6"},"versions":{"10.19.6":{"name":"preact","amdName":"preact","version":"10.19.6","private":false,"description":"Fast 3kb React-compatible Virtual DOM library.","main":"dist/preact.js","module":"dist/preact.module.js","umd:main":"dist/preact.umd.js","unpkg":"dist/preact.min.js","source":"src/index.js","exports":{".":{"types":"./src/index.d.ts","browser":"./dist/preact.module.js","umd":"./dist/preact.umd.js","import":"./dist/preact.mjs","require":"./dist/preact.js"},"./compat":{"types":"./compat/src/index.d.ts","browser":"./compat/dist/compat.module.js","umd":"./compat/dist/compat.umd.js","import":"./compat/dist/compat.mjs","require":"./compat/dist/compat.js"},"./debug":{"types":"./debug/src/index.d.ts","browser":"./debug/dist/debug.module.js","umd":"./debug/dist/debug.umd.js","import":"./debug/dist/debug.mjs","require":"./debug/dist/debug.js"},"./devtools":{"types":"./devtools/src/index.d.ts","browser":"./devtools/dist/devtools.module.js","umd":"./devtools/dist/devtools.umd.js","import":"./devtools/dist/devtools.mjs","require":"./devtools/dist/devtools.js"},"./hooks":{"types":"./hooks/src/index.d.ts","browser":"./hooks/dist/hooks.module.js","umd":"./hooks/dist/hooks.umd.js","import":"./hooks/dist/hooks.mjs","require":"./hooks/dist/hooks.js"},"./test-utils":{"types":"./test-utils/src/index.d.ts","browser":"./test-utils/dist/testUtils.module.js","umd":"./test-utils/dist/testUtils.umd.js","import":"./test-utils/dist/testUtils.mjs","require":"./test-utils/dist/testUtils.js"},"./jsx-runtime":{"types":"./jsx-runtime/src/index.d.ts","browser":"./jsx-runtime/dist/jsxRuntime.module.js","umd":"./jsx-runtime/dist/jsxRuntime.umd.js","import":"./jsx-runtime/dist/jsxRuntime.mjs","require":"./jsx-runtime/dist/jsxRuntime.js"},"./jsx-dev-runtime":{"types":"./jsx-runtime/src/index.d.ts","browser":"./jsx-runtime/dist/jsxRuntime.module.js","umd":"./jsx-runtime/dist/jsxRuntime.umd.js","import":"./jsx-runtime/dist/jsxRuntime.mjs","require":"./jsx-runtime/dist/jsxRuntime.js"},"./compat/client":{"import":"./compat/client.mjs","require":"./compat/client.js"},"./compat/server":{"browser":"./compat/server.browser.js","import":"./compat/server.mjs","require":"./compat/server.js"},"./compat/jsx-runtime":{"types":"./jsx-runtime/src/index.d.ts","import":"./compat/jsx-runtime.mjs","require":"./compat/jsx-runtime.js"},"./compat/jsx-dev-runtime":{"types":"./jsx-runtime/src/index.d.ts","import":"./compat/jsx-dev-runtime.mjs","require":"./compat/jsx-dev-runtime.js"},"./compat/scheduler":{"import":"./compat/scheduler.mjs","require":"./compat/scheduler.js"},"./package.json":"./package.json","./compat/package.json":"./compat/package.json","./debug/package.json":"./debug/package.json","./devtools/package.json":"./devtools/package.json","./hooks/package.json":"./hooks/package.json","./test-utils/package.json":"./test-utils/package.json","./jsx-runtime/package.json":"./jsx-runtime/package.json"},"license":"MIT","funding":{"type":"opencollective","url":"https://opencollective.com/preact"},"types":"src/index.d.ts","scripts":{"prepare":"run-s build && check-export-map","build":"npm-run-all --parallel build:*","build:core":"microbundle build --raw --no-generateTypes -f cjs,esm,umd","build:core-min":"microbundle build --raw --no-generateTypes -f cjs,esm,umd,iife src/cjs.js -o dist/preact.min.js","build:debug":"microbundle build --raw --no-generateTypes -f cjs,esm,umd --cwd debug","build:devtools":"microbundle build --raw --no-generateTypes -f cjs,esm,umd --cwd devtools","build:hooks":"microbundle build --raw --no-generateTypes -f cjs,esm,umd --cwd hooks","build:test-utils":"microbundle build --raw --no-generateTypes -f cjs,esm,umd --cwd test-utils","build:compat":"microbundle build src/index.js src/scheduler.js --raw --no-generateTypes -f cjs,esm,umd --cwd compat --globals 'preact/hooks=preactHooks'","build:jsx":"microbundle build --raw --no-generateTypes -f cjs,esm,umd --cwd jsx-runtime","postbuild":"node ./config/node-13-exports.js && node ./config/compat-e
|