{"name":"@poi/plugin-typescript","version":"12.3.1","publishConfig":{"access":"public"},"main":"index.js","dependencies":{"fork-ts-checker-webpack-plugin":"^0.5.0","ts-loader":"^5.3.0","ts-pnp":"^1.0.0","tslint":"^6.1.2"},"peerDependencies":{"typescript":"^3.1.6"},"devDependencies":{"typescript":"^3.1.6"},"gitHead":"a969ba3f6b20183c4270aa5da133ef4200f92ee5","description":"Official TypeScript plugin for Poi.","_id":"@poi/plugin-typescript@12.3.1","_nodeVersion":"10.20.1","_npmVersion":"lerna/3.16.4/node@v10.20.1+x64 (linux)","dist":{"integrity":"sha512-iniaGBHYsqWJH2sGM6+YJQma3BdsapyvY4NQSPoIZQRn8TLNTcT1w9g4KLNDb/ZSRnf+jnI3SrOjcbvxJXLRBw==","shasum":"50ae8119f554361bcedcb30f9e3f859f6ebb173f","tarball":"http://registry-npm.ywwl.com/@poi/plugin-typescript/download/@poi/plugin-typescript-12.3.1.tgz","fileCount":5,"unpackedSize":7604,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqtBrCRA9TVsSAnZWagAAoZEP/1F/wpPEn8AHtub87Uqu\n1ROYDMAM/6xlIy9/0hFJG9ZR861Ex73v6GzwAsp+vCukCpldefAXRbBaMCPz\nOEHIlT7xPrmcCaWcdhHhq4DBCAgoyyhuE3601aM5PrLr2iBLiQ6fB8n8w6zl\nmfQdxSnDASVhanroEURQx1e9P9MastU4wUhiEl5h0VW67rg/iz55S21Ha3G5\nHS0mN5CfHOFIw0Yh5VJjevOkgdOi1IHspYvxLTb/TaVDVbBdjkvVb//zRP9s\nEoiKwMYA/Phzrf636fj0O8zgp4i24gNpZY508akk8BKYWgRM1vfM+me3PvND\nTj+zXrPQ1MfS78hvaM80My88vyIY8ulQ+9a+OY+oD0R0DZBm0MzRwc1BZ7hO\nWtkGVMcgj8dcJf/2RVa8+UkOw7reDndL8wJbwMZkVT99EWES1SR/W/uq6PBW\nzYQ+aDUai7w1v2MSd8Z3hzfm2RWGuy3ujXyYn1r1hfL2ayBJ+Dga+5KfYA4O\nLaCoGbdbUi641nvltd+bmfrkO8ah2ndowLbq8PcF4fmPq0WlKvISH7+ftgBC\nCx2DRXUha7ts07TrTyapN30Cimz7pd4Rqps5cR5dM6i8Mcv6bZkHzka+A8jy\nRVfrmcRDpmWgq2jogr2B+auNuH3OyLiJHYCPwh2NRwWoJjjkeGEVjGpTT4F6\nVj+g\r\n=3ocJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOdea43EOSEhEYK5PcKSs2T+AKCG53yR4Sfh5WPp1f1wIgTtcHEgW/iPew6d45symaNfFCvUZflZq+yngiFWfvebg="}],"size":3051,"noattachment":false,"key":"/@poi/plugin-typescript/-/@poi/plugin-typescript-12.3.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_12.3.1_1588252779231_0.2179700797863624"},"_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":1588252779322,"_cnpm_publish_time":1588252779322,"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"}}