{"name":"@poi/plugin-typescript","version":"12.2.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":"^5.11.0"},"peerDependencies":{"typescript":"^3.1.6"},"devDependencies":{"typescript":"^3.1.6"},"gitHead":"6a6d451882d66b43d770c84d229927f34ced8296","description":"Official TypeScript plugin for Poi.","_id":"@poi/plugin-typescript@12.2.1","dist":{"shasum":"7f93e36db28cffd3a0c2470918cec55f39706f2c","integrity":"sha512-WmfDCm5wktL+PEOmNSJHwhqqdBu31bnGewMemB11ZbV7slFLczjgab0p59ZoMSnU4NTWd+v8YO6slMT2wgVGEQ==","tarball":"http://registry-npm.ywwl.com/@poi/plugin-typescript/download/@poi/plugin-typescript-12.2.1.tgz","fileCount":5,"unpackedSize":6546,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpGNNCRA9TVsSAnZWagAArVwP/0iPHfWbYU0wlkxI3h4q\ndAMMGm3++WMr6C+FvtR1cLkWxY12rt4AM2aPPFIoqT2bs/OWlmgpThAlFFBR\ncD4ohnHvR6zayw5WGnz7lrCCnS0K2gU3R5qJjDPwVvcl/dpzBp47D4ea8Wkl\nbXc0RsQNyQJEvzF8IC9LTCebf3r7MFmJ321fxeLrsupYY2ct77rBI05BXk0v\n6yeLy3PJ7SP+m5uY6EPLF2A9w1/l4+CSeh8HIOae0Tdvb/vdJL15waUFMt6F\neMyE+RSez1WzpBWcpF9a0d7HtJLSOU7qIoLR5BoI/QSckxXcTGPCqwAXseW0\nTsgEbNNyiVx+dm3QO5fzP7PFaO2Wisruze8njJv2ty+hdKieKfSC926WQQmA\nxSVPSXIaIGPRRoZsTje3b/orkJ/MzqyD9DMQFgd6oNQ5VA52dWK8jglqcxkL\nxhIYJ9ri32vd/iX+t95uNgUW6FdkUk3KW2VlU1qHVhn+sQnW2rwzrVKa4Ug+\nwb+zUZpcMV9G21UykVIqZGZUMPkfAPAAQsGjlOyo4qFhbtJk2qogHWyw9ifz\nWGxS6bsGZcHyNM47nT299Swe/XeP/Xy3eF/w2p3+ADCOfaiy/tv5InXuyqqO\n6T2xkpy21cn2gKXimMunAzedDWQnOc8zlhtdxoGdz9txvNh+1XUV5JwRAJo7\nMBx+\r\n=BhNB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFOruj9Ca57MLJQJhI4X6U/X1rw4p11l700pXPqK2cEUAiAXtDHtakzR14Kw0TB1BjeCVTpDpdtWoweAVEn+jAtGCg=="}],"size":2863,"noattachment":false,"key":"/@poi/plugin-typescript/-/@poi/plugin-typescript-12.2.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.2.1_1554277197307_0.12417692268553915"},"_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":1554277197459,"_cnpm_publish_time":1554277197459,"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"}}