{"name":"@poi/plugin-typescript","version":"10.1.3","author":{"name":"EGOIST","email":"0x142857@gmail.com"},"dependencies":{"fork-ts-checker-webpack-plugin":"^0.4.1","ts-loader":"^4.2.0","tsconfig-paths-webpack-plugin":"^3.0.4"},"scripts":{"test":"echo fine","example":"poi example/index.ts"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/egoist/poi/tree/master/packages/plugin-typescript"},"files":["index.js"],"poi":{"plugins":[["./index.js",{}]]},"xo":false,"peerDependencies":{"typescript":"^2.2.2"},"devDependencies":{"typescript":"^2.2.2"},"description":"## Install","license":"MIT*","_id":"@poi/plugin-typescript@10.1.3","dist":{"shasum":"2a6fa1d435e915e5962a591ecb7d3477a2f711e9","tarball":"http://registry-npm.ywwl.com/@poi/plugin-typescript/download/@poi/plugin-typescript-10.1.3.tgz","fileCount":4,"unpackedSize":2795,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+7uJCRA9TVsSAnZWagAA/+AP/3TczsvoH4fi7MUqsXJO\nhRbLpqGetNz/PhQPUkpgclsGV2WoZOhDGN0yTqd/+0MhPV1i9X2Q3/9OYhCI\n0lo/9HN0LIPYQpWCuE3hzV8Vw0FRXXzYmd/R1N0NZ8ADD1Bl7kGcFFu33sz4\nrOrLh376blntg+GtWWLNeOf2id4AWJ2QffuZrHEG+TbRd123WhzOVXY7hBaU\nA0+PP2ZGFWtrEvpr3A4OyrDy1ohXq6S6OFGnwZ8f9U9DtmmQDPwwwDPHLr73\n90FGb8n5H0VluWv1ugwFIusju33zMYv8JM67Z2+c/cwXdFQKm+5uC1sFVrJh\nUkwJ+jn/OttZCxMtU8oomf29bS7GYm5NvLx5vOURRlzUF3AR7bSaFuVIBfrx\nQY/flrjTIYOIkhY9RhwE1v1pnsoXoa9M8oq9yvx2W9VjqiNQbKQ5F/t7vnqW\nxF7RCH7zLvPoArtnFDV4/J7ySMQyKUaKq5p8NdPifG9QQDRzI2cR+w+W6IQT\nZ/1e8k/XeUCFEeZZpkTVJpiaB7Rwc79NCsizl+n2zJitSxXkp0tVdl2PqYfq\nnXyDmztI0hacfYOAAQvhu8cMqeqW0TlBeT1NM17rwnJ8WzPLMaukf9kKz8Ei\nMJYqhrKjhVQYTZc/lnDWpsyc+kaznuv7RQDyH4ADhvc3H/vjAieikI5qJ2L/\nXU1l\r\n=F3e8\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-gt9bT5lLoIBe9VDe56ECXg2IE0oz3Ulgew3eM5yNvY8y8vZqy7v9iEWoMmmV+c8tbXmpVfLU1oFRWQX6ouGGkw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE6Yq8vUrlIiE/Nlth8YqPWJ0rDLmIz53t031kG4WyC1AiAeexfnhKUuF/fakYhWzW5nwx+C+Vcx9ef+6H3QabHX3g=="}],"size":1312,"noattachment":false,"key":"/@poi/plugin-typescript/-/@poi/plugin-typescript-10.1.3.tgz"},"maintainers":[{"email":"0x142857@gmail.com","name":"egoist"},{"email":"0x142857@gmail.com","name":"poi-owner"},{"email":"shinjisays@gmail.com","name":"rem"}],"_npmUser":{"name":"rem","email":"shinjisays@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-typescript_10.1.3_1526446985204_0.5492447966871963"},"_hasShrinkwrap":false,"readme":"# @poi/plugin-typescript\n\nOfficial TypeScript plugin for Poi.\n\n## Introduction\n\nThis plugin use `ts-loader` to transpile TypeScript files, it also uses `fork-ts-checker-webpack-plugin` to perform type-checking. `.ts` `.tsx` and `.vue` files are supported.\n\nIt's possible to run Babel alongside TypeScript using the [babel](#babel) option. When used with Babel, it's recommended to set `compilerOptions.target` to `es2015` or later in `tsconfig.json` to delegate the rest to Babel for auto polyfill based on browser targets.\n\n## Install\n\n```bash\nyarn add @poi/plugin-typescript typescript --dev\n```\n\n## How to use\n\n```js\nmodule.exports = {\n  plugins: [\n    {\n      resolve: '@poi/plugin-typescript',\n      options: {}\n    }\n  ]\n}\n```\n\nThen add a `tsconfig.json` in your project:\n\n```json\n{\n  \"compilerOptions\": {\n    \"target\": \"es5\",\n    \"strict\": true,\n    \"module\": \"es2015\",\n    \"moduleResolution\": \"node\"\n  }\n}\n```\n\n## Options\n\n### babel\n\n- Type: `boolean`\n- Default: `false`\n\nUse Babel after the TypeScript compiler.\n\n### lintOnSave\n\n- Type: `boolean`\n- Default: `true`\n\nLint TS files with `ts-lint` at compile time, note that it will only work when you have a `tslint.json` in your project root.\n\n### configFile\n\n- Type: `string`\n- Default: `tsconfig.json`\n\nThe path to the TypeScript config file.\n\n### loaderOptions\n\n- Type: `any`\n\nAddtional [options](https://github.com/TypeStrong/ts-loader#loader-options) for `ts-loader`.\n\n### tscheckerOptions\n\n- Type: `any`\n\nAdditional [options](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin#options) for `fork-ts-checker-webpack-plugin`.\n","publish_time":1526446985270,"_cnpm_publish_time":1526446985270,"dist-tags":{"canary":"12.2.2-canary.585.f015dbf.0","future":"12.0.0-alpha.2","latest":"12.3.1","next":"12.0.0-beta.2"}}