{"name":"@vue/babel-preset-jsx","version":"1.3.1","description":"Babel preset for Vue JSX","main":"dist/plugin.cjs.js","repository":{"type":"git","url":"https://github.com/vuejs/jsx/tree/master/packages/babel-preset-jsx"},"author":{"name":"Nick Messing","email":"dot.nick.dot.messing@gmail.com"},"license":"MIT","private":false,"publishConfig":{"access":"public"},"scripts":{"build":"rollup -c","prerelease":"yarn build"},"dependencies":{"@vue/babel-helper-vue-jsx-merge-props":"^1.2.1","@vue/babel-plugin-transform-vue-jsx":"^1.2.1","@vue/babel-sugar-composition-api-inject-h":"^1.3.0","@vue/babel-sugar-composition-api-render-instance":"^1.3.0","@vue/babel-sugar-functional-vue":"^1.2.2","@vue/babel-sugar-inject-h":"^1.2.2","@vue/babel-sugar-v-model":"^1.3.0","@vue/babel-sugar-v-on":"^1.3.0"},"devDependencies":{"rollup":"^0.67.4","rollup-plugin-babel-minify":"^6.2.0"},"peerDependencies":{"@babel/core":"^7.0.0-0","vue":"*"},"peerDependenciesMeta":{"vue":{"optional":true}},"gitHead":"f008c865bef1ed48d0bf79a26fc24c8531f6ed44","_id":"@vue/babel-preset-jsx@1.3.1","_nodeVersion":"16.15.0","_npmVersion":"lerna/3.20.2/node@v16.15.0+arm64 (darwin)","dist":{"integrity":"sha512-ml+nqcSKp8uAqFZLNc7OWLMzR7xDBsUfkomF98DtiIBlLqlq4jCQoLINARhgqRIyKdB+mk/94NWpIb4pL6D3xw==","shasum":"10789417a17680d9855bd96fd9894d9b51fd979b","tarball":"http://registry-npm.ywwl.com/@vue/babel-preset-jsx/download/@vue/babel-preset-jsx-1.3.1.tgz","fileCount":3,"unpackedSize":4452,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDR2i+FK8+OpKH7f+smgxTRta28j0cphuItVt+KScBaagIgZMdzx1OKOQhtJtMy1X3Umpp7k2ixtzFIHlBs5ldx248="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2YePACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYKw//WLXkrDxsSoNr7aCWfMnSyMEF3DQNsK0Yk68G23slnG7fCPcU\r\nnFdVB8XymVoj7i7TDFrYebpYGrEQUc/GM91rwE2oIxAymamSQ+nq8q30fra5\r\ny7CdgNvdDDsNyeFduLjDK/vUWiNN1LuWsEmf/cCONW8YISV3/pjhzOBq1qb1\r\np2KlUuylNGl+tgZQRsIOs/svLskWMi3wDJ7pAGQLLNMjEYlu8P/z+324466S\r\nVZS0h2+gjwQyUY5OF4IeK0qA+sUKbB8s0DdmV2Z2qymSkvABRtQmnOcXqtZo\r\naMGFZ4UxGnyiaCOSO9iokozMrst6UDrlxN6TnAlsXGvjfV4rpHOWOyjCVR/e\r\n7Wi9GnjyVf+SULb0xpNtG6FYJhLB51qfWjWqQWV0JwWLRM/HBq22Ew8OXv58\r\nb2jpqyH1wjrsjAmBkDadQ0Y6TVxrYbbGde9yOt2Oa2+9rcygWZvz6yuThtit\r\n0Wc8Q51Ev7C7PcKAT9J0nMiOiI9bQDaIe7xGSpAgDjISV/7lHOfSSB14fwPK\r\nq9OvMhqZeLfu5FBuJ/lLmWR8pCSkEgWRVMl50ex4DD+oqnncaQH7HCZfxr6B\r\nSYse69fEs8uwMpki5JQHIQ5qlrT4nRV0x4X7jPqnEW9REAbR5/eEmqIluxnR\r\nXmZpNIxr6AfwnXYa93ioEeGgez7sS41Y6q8=\r\n=b7Wr\r\n-----END PGP SIGNATURE-----\r\n","size":1715,"noattachment":false,"key":"/@vue/babel-preset-jsx/-/@vue/babel-preset-jsx-1.3.1.tgz"},"_npmUser":{"name":"soda","email":"haoqunjiang+npm@gmail.com"},"directories":{},"maintainers":[{"name":"nickmessing","email":"dot.nick.dot.messing@gmail.com"},{"name":"soda","email":"haoqunjiang+npm@gmail.com"},{"name":"yyx990803","email":"yyx990803@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-preset-jsx_1.3.1_1658423183184_0.5241793415399678"},"_hasShrinkwrap":false,"readme":"## @vue/babel-preset-jsx\n\nConfigurable preset for Vue JSX plugins.\n\n### Babel Compatibility Notes\n\n- This repo is only compatible with Babel 7.x, for 6.x please use [vuejs/babel-plugin-transform-vue-jsx](https://github.com/vuejs/babel-plugin-transform-vue-jsx)\n\n### Usage\n\nInstall the dependencies:\n\n```sh\n# for yarn:\nyarn add @vue/babel-preset-jsx @vue/babel-helper-vue-jsx-merge-props\n# for npm:\nnpm install @vue/babel-preset-jsx @vue/babel-helper-vue-jsx-merge-props --save\n```\n\nIn your `babel.config.js`:\n\n```js\nmodule.exports = {\n  presets: ['@vue/babel-preset-jsx'],\n}\n```\n\nYou can toggle specific features, by default all features (except `compositionAPI`) are enabled, e.g.:\n\n```js\nmodule.exports = {\n  presets: [\n    [\n      '@vue/babel-preset-jsx',\n      {\n        vModel: false,\n        compositionAPI: true,\n      },\n    ],\n  ],\n}\n```\n\nOptions are:\n\n- `compositionAPI` - Enables [@vue/babel-sugar-composition-api-inject-h](../babel-sugar-composition-api-inject-h) and [@vue/babel-sugar-composition-api-render-instance](../babel-sugar-composition-api-render-instance), support returning render function in `setup`.\n  - The default value is `false`;\n  - When set to `'auto'` (or `true`), it will detect the Vue version in the project. If it's >= 2.7, it will import the composition utilities from `vue`, otherwise from `@vue/composition-api`;\n  - When set to `'native'` (or `'naruto'`), it will always import the composition utilities from `vue`\n  - When set to `plugin`, it will always import the composition utilities from `@vue/composition-api`, but it will redirect to `'vue'` itself when the vue version is `2.7.x`\n  - When set to `vue-demi`, it will always import the composition utilities from `vue-demi`\n  - When set to an object like `{ importSource: string; }`, it will always import the composition utilities from the importSource you set\n- `functional` [@vue/babel-sugar-functional-vue](../babel-sugar-functional-vue/README.md) - Functional components syntactic sugar\n- `injectH` [@vue/babel-sugar-inject-h](../babel-sugar-inject-h/README.md) - Automatic `h` injection syntactic sugar\n- `vModel` [@vue/babel-sugar-v-model](../babel-sugar-v-model/README.md) - `vModel` syntactic sugar\n- `vOn` [@vue/babel-sugar-v-on](../babel-sugar-v-on/README.md) - `vOn` syntactic sugar\n","publish_time":1658423183414,"_cnpm_publish_time":1658423183414,"dist-tags":{"latest":"1.4.0"}}