{"_id":"@croquiscom/babel-plugin-mjsx","_rev":"40-8035d0e5a0c001e695cd09c5d0affbea","name":"@croquiscom/babel-plugin-mjsx","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.1":{"name":"@croquiscom/babel-plugin-mjsx","version":"0.0.1","keywords":["mithril","babel","plugin","babel-plugin"],"author":{"name":"Richard Eames"},"license":"BSD-3-Clause","_id":"@croquiscom/babel-plugin-mjsx@0.0.1","maintainers":[{"name":"croquiscom","email":"admin@croquis.com"}],"homepage":"https://github.com/Naddiseo/babel-plugin-mjsx#readme","bugs":{"url":"https://github.com/Naddiseo/babel-plugin-mjsx/issues"},"dist":{"shasum":"af06021f50832f9ad6ea557a496cfa6af35a436d","tarball":"https://registry.npmjs.org/@croquiscom/babel-plugin-mjsx/-/babel-plugin-mjsx-0.0.1.tgz","integrity":"sha512-ABvFxWLtKYsKF3Y3TdskAOyS1sgFvK/P13HGuMNe2vfLUzVl7DC46jpSVlptbagEJm6lmIAGa0RQGt5TfXYa/w==","signatures":[{"sig":"MEUCIGZ2RjMtJPJd21h+RlvS/KnXUJ139lTRhdwH1M6wGxpcAiEA0VHSm5feP09PrpWOrOuW8w8pH5RKAwC5mFaohyQ7nqE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","babel":{"presets":["es2015"]},"_shasum":"af06021f50832f9ad6ea557a496cfa6af35a436d","gitHead":"ce1e7d0f89eb5c45242b320659ff5544787b49fc","scripts":{"test":"mocha --compilers js:babel-core/register","build":"babel src --out-dir lib","prepublish":"npm run build"},"_npmUser":{"name":"croquiscom","email":"admin@croquis.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/Naddiseo/babel-plugin-mjsx.git","type":"git"},"_npmVersion":"2.15.1","description":"Mithril precompilation JSX plugin for babel","directories":{},"_nodeVersion":"4.4.4","dependencies":{"babel-plugin-syntax-jsx":"^6.0"},"devDependencies":{"mocha":"^2.2.5","babel-cli":"^6.0","babel-core":"^6.0","babel-preset-es2015":"^6.0"},"_npmOperationalInternal":{"tmp":"tmp/babel-plugin-mjsx-0.0.1.tgz_1472803542710_0.8695140853524208","host":"packages-16-east.internal.npmjs.com"}},"0.0.2":{"name":"@croquiscom/babel-plugin-mjsx","version":"0.0.2","keywords":["mithril","babel","plugin","babel-plugin"],"author":{"name":"Richard Eames"},"license":"BSD-3-Clause","_id":"@croquiscom/babel-plugin-mjsx@0.0.2","maintainers":[{"name":"croquiscom","email":"admin@croquis.com"}],"homepage":"https://github.com/Naddiseo/babel-plugin-mjsx#readme","bugs":{"url":"https://github.com/Naddiseo/babel-plugin-mjsx/issues"},"dist":{"shasum":"98e47824f71b6eb92c0a6603201ebc0ad5a87ade","tarball":"https://registry.npmjs.org/@croquiscom/babel-plugin-mjsx/-/babel-plugin-mjsx-0.0.2.tgz","integrity":"sha512-zSw7KB21VuG7XsBq8ZznbsEa8gr8U/ejl48phWNXWC6lO9ReXyE0Ks+B0hqw9WfesbYmAuTkis6/pS5p7/g8Ug==","signatures":[{"sig":"MEUCICluxXJIvmQ4JxX44s06ny0J1kgivXaHVIEkU1uBsmsXAiEAq7tMFX8H8Pu/I6v6ttp/0gIptCjmatq+7Jlmk4SMxu4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","babel":{"presets":["es2015"]},"_shasum":"98e47824f71b6eb92c0a6603201ebc0ad5a87ade","gitHead":"ce545ffbe5c750518d5f81e90053e01fc18ff355","scripts":{"test":"mocha --compilers js:babel-core/register","build":"babel src --out-dir lib","prepublish":"npm run build"},"_npmUser":{"name":"croquiscom","email":"admin@croquis.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/Naddiseo/babel-plugin-mjsx.git","type":"git"},"_npmVersion":"2.15.1","description":"Mithril precompilation JSX plugin for babel","directories":{},"_nodeVersion":"4.4.4","dependencies":{"babel-plugin-syntax-jsx":"^6.0"},"devDependencies":{"mocha":"^2.2.5","babel-cli":"^6.0","babel-core":"^6.0","babel-preset-es2015":"^6.0"},"_npmOperationalInternal":{"tmp":"tmp/babel-plugin-mjsx-0.0.2.tgz_1472808927455_0.7826887385454029","host":"packages-16-east.internal.npmjs.com"}},"0.0.3":{"name":"@croquiscom/babel-plugin-mjsx","version":"0.0.3","keywords":["mithril","babel","plugin","babel-plugin"],"author":{"name":"Richard Eames"},"license":"BSD-3-Clause","_id":"@croquiscom/babel-plugin-mjsx@0.0.3","maintainers":[{"name":"croquiscom","email":"admin@croquis.com"}],"homepage":"https://github.com/Naddiseo/babel-plugin-mjsx#readme","bugs":{"url":"https://github.com/Naddiseo/babel-plugin-mjsx/issues"},"dist":{"shasum":"febfe9356694509b4fe2f96e39db2046de6b5c46","tarball":"https://registry.npmjs.org/@croquiscom/babel-plugin-mjsx/-/babel-plugin-mjsx-0.0.3.tgz","integrity":"sha512-Jl4MXybHqYp7izXP54dnJyuTNyenBF0KhfpwEI3jlCjV9ecEeEeiawzU+3U5tp5DvPvsXFopsGqjf4H1hIz87Q==","signatures":[{"sig":"MEYCIQCQwAz3vcD7klGi+uB6n+Vnl70qT4Iqc1j6TAEK5wlWoAIhALvDqi+92f2T3le9d3KBOEpDBhcPoiyhGCxLkGFzJZYw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzeNaCRA9TVsSAnZWagAAK48QAKJdw37vQ2rytZ+rSo8j\nyy/CNZ25OQhL8RFO6H37lhrNOuzVC2JqNbd/hphuiw5hhOM/4bZIGYJ4eD3X\niiMzOLvOLt0XPRz/d920r0yyKDS0CFVW53h8/UQImaQUGFVUE4dg21PvAzN2\nSU/5LfcAt7sDXHwHiUBmMTkP6VMKjanT2z1Lg9mGQSZy5C7q+AErAiGGFblL\nioD6aAlSsVcS7nPv4JnLCOMtc5kvCdKCMW+pEY5do9N3KlxtNKR+bc7roAjL\nE/8KfYcgC8oUYqIRgjUyOn788SFO+adZU8T5UmcFew6QVdODLyIcku3pGT8W\nKMzWnAfSd1ogw8ciDXgdS3oMbxMP9t59Y0qa7OWUvlnrk979eoRFIAn5gtua\nZiZq3xQlfefG/HYnH/vaVLQO+YuZ8+iJMp/eueH3ViSW28DgBM73wNA3WMEv\n0N41Tvxd7zWm84sglqYuEYZHsmV4QB1Aq7k9EPXKiiQlTagJAFtPNkBrftaZ\nTZLTUnAzPtopcBLQrQr4D2PH4BQ4EKdOriO59bmI/aVVzs6P3A37yO7XCTvE\nAgQH2N2ubyp7Pf3cVfk1ORyvAL5Ot4vDgqQQ8NfYcFH5Fpo4qLiUac6NvCyO\nYU4GDDG26ISO70HYQ75h5kHxTKT/UjEqblPJxBonDLpv4JzpTmuf8CF5UfbS\nqYPJ\r\n=wB9D\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","_from":".","babel":{"presets":["es2015"]},"_shasum":"febfe9356694509b4fe2f96e39db2046de6b5c46","gitHead":"5319c4c667d697a180c234d99e5353e5bdbfb30c","scripts":{"test":"mocha --compilers js:babel-core/register","build":"babel src --out-dir lib","prepublish":"npm run build"},"_npmUser":{"name":"croquiscom","email":"admin@croquis.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/Naddiseo/babel-plugin-mjsx.git","type":"git"},"_npmVersion":"2.15.1","description":"Mithril precompilation JSX plugin for babel","directories":{},"_nodeVersion":"4.4.4","dependencies":{"babel-plugin-syntax-jsx":"^6.0"},"devDependencies":{"mocha":"^2.2.5","babel-cli":"^6.0","babel-core":"^6.0","babel-preset-es2015":"^6.0"},"_npmOperationalInternal":{"tmp":"tmp/babel-plugin-mjsx-0.0.3.tgz_1473040774652_0.5405508007388562","host":"packages-16-east.internal.npmjs.com"}}},"time":{"created":"2016-09-02T08:05:46.119Z","modified":"2026-08-06T05:50:03.274Z","0.0.1":"2016-09-02T08:05:46.119Z","0.0.2":"2016-09-02T09:35:30.763Z","0.0.3":"2016-09-05T01:59:38.221Z"},"bugs":{"url":"https://github.com/Naddiseo/babel-plugin-mjsx/issues"},"author":{"name":"Richard Eames"},"license":"BSD-3-Clause","homepage":"https://github.com/Naddiseo/babel-plugin-mjsx#readme","keywords":["mithril","babel","plugin","babel-plugin"],"repository":{"url":"git+https://github.com/Naddiseo/babel-plugin-mjsx.git","type":"git"},"description":"Mithril precompilation JSX plugin for babel","maintainers":[{"email":"joo.inthezoo@kakaostyle.com","name":"joointhezoo"},{"email":"admin.dev@kakaostyle.com","name":"croquiscom-admin"},{"email":"sixmen@gmail.com","name":"sixmen"},{"email":"hexa1214@gmail.com","name":"zao1214"},{"email":"hbh2692@naver.com","name":"nabigraphics"},{"email":"colin.kwon@kakaostyle.com","name":"colin.kwon"},{"email":"pepper.ha@kakaostyle.com","name":"pepper.ha"},{"email":"sally.914@kakaostyle.com","name":"olive-sally"},{"email":"yoo2001818@gmail.com","name":"yoo2001818"},{"email":"tim.jlee@kakaostyle.com","name":"tim.jlee"},{"email":"dark.0@kakaostyle.com","name":"dark.0"},{"email":"gommpo111@gmail.com","name":"sungin"},{"email":"joe.725@kakaostyle.com","name":"joe.725"},{"email":"day.0709@kakaostyle.com","name":"day.0709"},{"email":"dan.psk@kakaostyle.com","name":"dan.psk"},{"email":"evan.oh@kakaostyle.com","name":"minhyung"}],"readme":"# babel-plugin-mjsx\n\n[![Build Status](https://travis-ci.org/Naddiseo/babel-plugin-mjsx.svg?branch=master)](https://travis-ci.org/Naddiseo/babel-plugin-mjsx)\n\nMithril precompilation JSX plugin for babel.\n\nInstallation\n============\n\n    $ npm i babel-plugin-mjsx\n\nUsage\n=====\n\nAdd `babel-plugin-mjsx` to your plugins config:\n\n    $ cat .babelrc\n    {\n         \"plugins\": [\"mjsx\"]\n    }\n\nMore information on setting up Babel is available in [Babel's documentation](https://babeljs.io/docs/setup/)\n\nAvailable plugin options:\n\n* `jsxCompliant`: convert attributes to the correct casing, e.g: `onClick` -> `onclick`, or `for` -> `htmlFor`.\n* `warnDeprecatedHtml`: Warns of deprecated HTML tags such as `blink` and `center`. \n\nMore information on plugin options syntax is available in [Babel's documentation](http://babeljs.io/docs/plugins/#options)\n\nExample output:\n```javascript\nlet a = {t: 1};\nlet KK = <div style=\"1\" {...a}><Component foo=\"bar\">Component children</Component></div>;\n```\nTranspiled:\n```javascript\nvar a = { t: 1 };\nvar KK = {\n\ttag: 'div',\n\tchildren: [m.component(Component, {\n\t\tfoo: 'bar'\n\t}, ['Component children'])],\n\tattrs: babelHelpers._extends({\n\t\tstyle: '1'\n\t}, a)\n};\n```\n\nChange Log\n==========\n\nv4.1.1\n\n* Build fix\n\nv4.1.0\n\n* Added option to convert html attributes to proper casing\n\n    ```\n    // Add \"jsxCompliant\" to babel plugin options:\n    $ cat .babelrc\n    {\n        \"plugins\":[\n            [\"mjsx\", { jsxCompliant: true }]\n        ]\n    }\n    ```\n\n* Added explicit `warnDeprecatedHtml` option to turn on the deprecated html tags warning added in v3\n\n    ```\n    // Add \"warnDeprecatedHtml\" to babel plugin options:\n    $ cat .babelrc\n    {\n        \"plugins\":[\n            [\"mjsx\", { warnDeprecatedHtml: true }]\n        ]\n    }\n    ```\n\nv4.0.0\n\n* Changed output to trim whitespace similar to how v1.x did.\n\nv3.0.0\n\n* Removed forcing of tags to be \"valid\" html tags\n* Print warning instead of erroring for deprecated html tags \n\n","readmeFilename":"README.md"}