{"name":"@poi/plugin-typescript","version":"10.1.0","author":{"name":"EGOIST","email":"0x142857@gmail.com"},"dependencies":{"fork-ts-checker-webpack-plugin":"^0.4.1","ts-loader":"^4.2.0"},"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.0","dist":{"shasum":"e04d5cabaa5a2b9d59e405da8ec53a21296bcf68","tarball":"http://registry-npm.ywwl.com/@poi/plugin-typescript/download/@poi/plugin-typescript-10.1.0.tgz","fileCount":4,"unpackedSize":2542,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2BIgCRA9TVsSAnZWagAAMAUQAJwO3v5zjzVaF6mGKyTj\nB/sA83rV6oTJWon/wNt2e54PDY6Je8/4pZpYssW8AYXxiZE3PNN4i3JW9x8/\n/e9kRej3EA0DAwTZ7mfxPVV9bMpk90Gq+mhbHsVAu3BWGLMIKSsFaND/avni\nqtehpmMsLXt6RQ9m2rjBi+04EK3E/8D+QLP+WeeeYZVD8ikUv5ICG2lupbxD\nLW1sdKEqp+5yG1gDLa4AhLMrqYZf8mShzu67H+rI7y5dUKqNf+ZJo9dnwdTw\ntYdMxbFerFvRAoJCv0+SOLOIiQwsGELIN1Z+Qi4MPonoew5YwDqAtMCBJlEF\nZcPQDsjJUTBoecDeqXhE+Zd2mKzDfJZuS5E6iVZTrGGJEkk2nv4ywNjxnm+e\nbHIfQArj0F3aUGBRiSSWcvPtx7E/dbu8pnXOUkChtIzHbsAJb87KM6ZrF0c7\nG7gGjzo2DX1evlng7QOxhMbG4OOHXAiDgB949EwVYEkcZwSjO4tPk9NCvnoZ\n/4ZChl/gOTMCmpfbIoam5MlDmR9Fkzt4FLLO26IOVr8mh5g+Vc4Cs3eZOOIh\njkZdRP4vVeZweYfSGRMccMnar4V1t+k1VcuqwQea2Zhu2/0JPGeYmpEkAJlw\n3Hm2dVphe14G6lTZO4K4p20d4Wrm4PFkA/x65/IEH/Cx/fxD9eOzK02IjTzA\nvIOl\r\n=tar2\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-sIo6iiDMDpFnZHFP9qHkE4LWMg2QgzyEljE2aen6ZAWWmR7cv8FFNV7SBnbznz66Redz0hJTy4gus1tAng9SZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEyJYLQ6d/bPJmGddU786l+pk8olg65Kr1zqRnA/nVN2AiBmDQcIbhmA1c7n9lyNM9wb93l4wZ/EbmSZYpJCPFt6sQ=="}],"size":1252,"noattachment":false,"key":"/@poi/plugin-typescript/-/@poi/plugin-typescript-10.1.0.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.0_1524109854965_0.06071612809597715"},"_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":1524109855061,"_cnpm_publish_time":1524109855061,"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"}}