{"name":"@poi/plugin-typescript","version":"10.1.2","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.2","dist":{"shasum":"b19bdba4479ceab0803c5d2b9f800b0503ef6a7d","tarball":"http://registry-npm.ywwl.com/@poi/plugin-typescript/download/@poi/plugin-typescript-10.1.2.tgz","fileCount":4,"unpackedSize":2767,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2EGvCRA9TVsSAnZWagAA1yQQAIvcmxHaIj8Epmufg0cd\nD+mmWAo/aJJBHo1I+Z9iTI/iwWSzdqD3y/3Y2h3OGLfzTsjTgQH5/IwrDJsY\nhtDBhDIiDJRcLTx3iSLrLUfkLrKBZyBbh3xajRFkBHgTUCbc8BdP77/zceST\ncGzrNIGe2X8cT3CpI+lU8XkbXwSSxTQx5xqaTU8pZOzH5SGBQ/WIOThFZSNh\nS5p3MkSd/tFrt0nSvSqFHde7VvM+sS1Pg6nH4gQmfwhKUxt2CjnNn0O+pa4r\n1NHG6FLpxc4HHRRjan6qTX92tOxTehh5Gta8AxvNzywv0Qplo1d/I3610yKI\nMuiPRRdLO1MqGrbgpSn454F+qzP/v0sVDgNd27LQeSE5bjLYTa+T8gqkvYdC\n9kNUesBvjUpgyyMiw9l4pjfxc2zmR6oc1+Xbvu3yWJ4U8DVjK31WvZPl+gfM\n99p5vTnC8GiOMDtTU13vyR6z+Q8MYzJnhwjiGVyiiH+e5OMDKwYgID7vX5E5\nuH2D1qvCVBLBs6DgX8wFSq39hrsHt8SvaCOi2Eg8hSeSgl+cgOwK7vMHKHJ6\nEQc+fWw4qrW3YZkQzblQ1PdIVzFAU1jk/q+TnJz4wnaxcGqcFUuslAnYjPsR\naPsqP01XOf1E48oDGa9WwtzkjZh4Sy+fUD77EjSjXTjpaQbfTcWZ4iBo6Wyo\n+y6l\r\n=ljV5\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-mhxuITvUKfe+cI8+PXs3o9GE6UobQskyAAe8VAfJnr8kxcDhpWaM3tdGzG1gBW7U99ZktxRhWZtTheG/MOLeGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWB6aWGqIH/FGxU/78PFyYx/6YYnV9mVmrTRWA+F6KPwIgXviq4vhb4XRUYbYLguSkIz5dJEbcpKYDcxRlD0VQBVQ="}],"size":1297,"noattachment":false,"key":"/@poi/plugin-typescript/-/@poi/plugin-typescript-10.1.2.tgz"},"maintainers":[{"email":"0x142857@gmail.com","name":"egoist"},{"email":"0x142857@gmail.com","name":"poi-owner"},{"email":"shinjisays@gmail.com","name":"rem"}],"_npmUser":{"name":"egoist","email":"0x142857@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-typescript_10.1.2_1524122031479_0.21554553817611177"},"_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":1524122031564,"_cnpm_publish_time":1524122031564,"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"}}