{"name":"@poi/plugin-typescript","version":"10.1.1","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.1","dist":{"shasum":"78598f24086a5288e3bf6f0eb03435c026d58278","tarball":"http://registry-npm.ywwl.com/@poi/plugin-typescript/download/@poi/plugin-typescript-10.1.1.tgz","fileCount":4,"unpackedSize":2700,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2DLdCRA9TVsSAnZWagAALl0P/jwNYcEinI3RjmYwWIBM\nlZOADjkbNwXL7WhbpsFLfYwd6es/KfYbLj6Br0SBAuV6BDpaaBKdEmibbWeo\nHzAMTiKWZ6/l0KvNHp19ejhrTMvonuWYeAZ7jcMlZHIhXiyJI/JhE2Ssmdl5\nAyrfjwkirFN/0Tk4mud22KWvP+ztqEiF6MxnfCWZ5Hr1xBbSxqox7R5L2m05\nRF5nJ1/RykpeTrX29wNf64jl/6/gvE68M11B6sjTlpRFt7ztp3eOK19KRciV\npLdii37tQ40ROPtZ/yNPX3LQkswBRoxvwIdMmpVfp9pRpwbPHr6hq6Zirp1N\n1Raprieo/HNP4LsFngVsUSCtw9a6boBfe43U7HGbzjjtlWMaDK1RR/ZIzO2n\ne0R8gjjNRzOe4Wa35sUw5YYwn10whAkH1bd7IKJH3q4ozpXWG/FTkVYxfCj3\nlCT72Cuv+Wd9ZRGSvUlz8sQ+4YzTrQ2O/iNIdlz+6DR5H9u++zdFVHsQ4PbR\nOqP/QkYj1mbERDiyEOtsAW4ls/zv4IXG+cvhX6nTLykORdyUYh7WRZG1xFiw\nKHIS9nsy5ZzQVJaqBQUQjsFwa2qc0cYmOBh+GYlcqlPKN4aWOp7GMxngffcI\nzHqzy+9Bw50CF89sli1YHtYsqQIxbumftTJjnj+vf4PSLqDItghXXnGhVodu\nnPDz\r\n=nQ2y\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-/Y7OOKphTHAFwT/e9DfAZYm72SPiqofQI6lWbsnwFsOh1YD0HLXwOtaNtJ+QI+HCcqohZtEd9GeZ5/NmHun8zQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEohmQJikIQ9uH6RwrS+VDCTqon3Sgi0WL7j2Zr4dI0qAiEAzquX9DMdg2wZawfmb50TcBvv55fjPl98bpB0QUjffrQ="}],"size":1286,"noattachment":false,"key":"/@poi/plugin-typescript/-/@poi/plugin-typescript-10.1.1.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.1_1524118237096_0.7019506930970936"},"_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":1524118237180,"_cnpm_publish_time":1524118237180,"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"}}