mirror of
https://github.com/denoland/deno.git
synced 2024-12-25 00:29:09 -05:00
1 line
8.3 KiB
JSON
1 line
8.3 KiB
JSON
{"name":"vue","description":"The progressive JavaScript framework for building modern web UI.","dist-tags":{"latest":"3.2.38"},"versions":{"3.2.38":{"name":"vue","version":"3.2.38","description":"The progressive JavaScript framework for building modern web UI.","main":"index.js","module":"dist/vue.runtime.esm-bundler.js","types":"dist/vue.d.ts","unpkg":"dist/vue.global.js","jsdelivr":"dist/vue.global.js","exports":{".":{"import":{"node":"./index.mjs","default":"./dist/vue.runtime.esm-bundler.js"},"require":"./index.js","types":"./dist/vue.d.ts"},"./server-renderer":{"import":"./server-renderer/index.mjs","require":"./server-renderer/index.js","types":"./server-renderer/index.d.ts"},"./compiler-sfc":{"import":"./compiler-sfc/index.mjs","require":"./compiler-sfc/index.js","types":"./compiler-sfc/index.d.ts"},"./dist/*":"./dist/*","./package.json":"./package.json","./macros":"./macros.d.ts","./macros-global":"./macros-global.d.ts","./ref-macros":"./ref-macros.d.ts"},"buildOptions":{"name":"Vue","formats":["esm-bundler","esm-bundler-runtime","cjs","global","global-runtime","esm-browser","esm-browser-runtime"]},"repository":{"type":"git","url":"git+https://github.com/vuejs/core.git"},"author":{"name":"Evan You"},"license":"MIT","bugs":{"url":"https://github.com/vuejs/core/issues"},"dependencies":{"@vue/shared":"3.2.38","@vue/compiler-dom":"3.2.38","@vue/runtime-dom":"3.2.38","@vue/compiler-sfc":"3.2.38","@vue/server-renderer":"3.2.38"},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2018-present, Yuxi (Evan) You\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","_id":"vue@3.2.38","dist":{"shasum":"cda3a414631745b194971219318a792dbbccdec0","integrity":"sha512-hHrScEFSmDAWL0cwO4B6WO7D3sALZPbfuThDsGBebthrNlDxdJZpGR3WB87VbjpPh96mep1+KzukYEhpHDFa8Q==","tarball":"http://localhost:4260/vue/vue-3.2.38.tgz","fileCount":33,"unpackedSize":2582962,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICYw8bB/a7dGz+BNmfIIbfc+57bnB3UcsOm7fwDRt+7NAiAPRRFQQne8YCpPLdOdIlCfYkB3oLKQKH459Ve/R+cm2Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDcQOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRIg/+L4A2XyATarFXsUmo2z9UeBsnKbWmuzSy3sU1f0ICIh29M0bt\r\nClntjkenhrvqzmm+mL2dhzGnoAM5pKNj7C07bCHMIt836OPaqAG0jezhx+7p\r\nYGT4QxehYGHvsLUQ1bYaPt/ugUgKf8F41goAnRgGg7KemuKOs3cWAm4ACHVV\r\ndrSnyagg2nZsjuH8uLrlwy6QZeTy6S/fUVnMWBjMth79KdvhcSTE1EAiU0wE\r\nO+dk/4mvvpliw2sMAEsDF9v71nA8samN1ErUEQruRuGYluHVqlD4C7/+cUPO\r\n4lS46U+3YcjnsMM8qpZiUAiAtrA4U2h7i40apTub7tJPnmQOzxb4Kvlgqurj\r\nE8Wh+eAhTqNH9c9Qqjm38h+eIe4vo9WhoPTanii5KCBT6jZ8PgN+jV/+upYe\r\nHFPcfe9XOZj4Y9qz32OjRaTDm9Atcep9S6dHfwZCZ9eYTbjPkJIuMfz0j4dC\r\n4TIBQNqDFuknlXraFPYjd1j7aJ/9GYitObsGw9WbzapUHkaJYD0Dn3TFlmUF\r\nB6zCGMpNmur9Xie9WXVJy20tb4max6BUyXeU0KLvjq46lM5hlCIXDDsclNwa\r\nYJ1Bi/Xu8ZLQXmGHlu2XTPHPlAwi7N8Z3NiphvIDZKeB69LPnK2mw4Yn2Byv\r\nOMTSOiru/rgsq04m/py/rKh0Olhwiv+Iatk=\r\n=YsSk\r\n-----END PGP SIGNATURE-----\r\n"},"directories":{},"_hasShrinkwrap":false}},"readme":"# vue\n\n## Which dist file to use?\n\n### From CDN or without a Bundler\n\n- **`vue(.runtime).global(.prod).js`**:\n - For direct use via `<script src=\"...\">` in the browser. Exposes the `Vue` global.\n - Note that global builds are not [UMD](https://github.com/umdjs/umd) builds. They are built as [IIFEs](https://developer.mozilla.org/en-US/docs/Glossary/IIFE) and is only meant for direct use via `<script src=\"...\">`.\n - In-browser template compilation:\n - **`vue.global.js`** is the \"full\" build that includes both the compiler and the runtime so it supports compiling templates on the fly.\n - **`vue.runtime.global.js`** contains only the runtime and requires templates to be pre-compiled during a build step.\n - Inlines all Vue core internal packages - i.e. it's a single file with no dependencies on other files. This means you **must** import everything from this file and this file only to ensure you are getting the same instance of code.\n - Contains hard-coded prod/dev branches, and the prod build is pre-minified. Use the `*.prod.js` files for production.\n\n- **`vue(.runtime).esm-browser(.prod).js`**:\n - For usage via native ES modules imports (in browser via `<script type=\"module\">`.\n - Shares the same runtime compilation, dependency inlining and hard-coded prod/dev behavior with the global build.\n\n### With a Bundler\n\n- **`vue(.runtime).esm-bundler.js`**:\n\n - For use with bundlers like `webpack`, `rollup` and `parcel`.\n - Leaves prod/dev branches with `process.env.NODE_ENV` guards (must be replaced by bundler)\n - Does not ship minified builds (to be done together with the rest of the code after bundling)\n - Imports dependencies (e.g. `@vue/runtime-core`, `@vue/runtime-compiler`)\n - Imported dependencies are also `esm-bundler` builds and will in turn import their dependencies (e.g. `@vue/runtime-core` imports `@vue/reactivity`)\n - This means you **can** install/import these deps individually without ending up with different instances of these dependencies, but you must make sure they all resolve to the same version.\n - In-browser template compilation:\n - **`vue.runtime.esm-bundler.js` (default)** is runtime only, and requires all templates to be pre-compiled. This is the default entry for bundlers (via `module` field in `package.json`) because when using a bundler templates are typically pre-compiled (e.g. in `*.vue` files).\n - **`vue.esm-bundler.js`**: includes the runtime compiler. Use this if you are using a bundler but still want runtime template compilation (e.g. in-DOM templates or templates via inline JavaScript strings). You will need to configure your bundler to alias `vue` to this file.\n\n#### Bundler Build Feature Flags\n\nStarting with 3.0.0-rc.3, `esm-bundler` builds now exposes global feature flags that can be overwritten at compile time:\n\n- `__VUE_OPTIONS_API__` (enable/disable Options API support, default: `true`)\n- `__VUE_PROD_DEVTOOLS__` (enable/disable devtools support in production, default: `false`)\n\nThe build will work without configuring these flags, however it is **strongly recommended** to properly configure them in order to get proper tree-shaking in the final bundle. To configure these flags:\n\n- webpack: use [DefinePlugin](https://webpack.js.org/plugins/define-plugin/)\n- Rollup: use [@rollup/plugin-replace](https://github.com/rollup/plugins/tree/master/packages/replace)\n- Vite: configured by default, but can be overwritten using the [`define` option](https://github.com/vitejs/vite/blob/a4133c073e640b17276b2de6e91a6857bdf382e1/src/node/config.ts#L72-L76)\n\nNote: the replacement value **must be boolean literals** and cannot be strings, otherwise the bundler/minifier will not be able to properly evaluate the conditions.\n\n### For Server-Side Rendering\n\n- **`vue.cjs(.prod).js`**:\n - For use in Node.js server-side rendering via `require()`.\n - If you bundle your app with webpack with `target: 'node'` and properly externalize `vue`, this is the build that will be loaded.\n - The dev/prod files are pre-built, but the appropriate file is automatically required based on `process.env.NODE_ENV`.\n","author":{"name":"Evan You"},"repository":{"type":"git","url":"git+https://github.com/vuejs/core.git"},"readmeFilename":"README.md","homepage":"https://github.com/vuejs/core/tree/main/packages/vue#readme","bugs":{"url":"https://github.com/vuejs/core/issues"},"license":"MIT"}
|