{"name":"@poi/plugin-typescript","version":"12.1.0","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":"3363cf08fa9851848ff5ddcb93909506cac15382","description":"Official TypeScript plugin for Poi.","_id":"@poi/plugin-typescript@12.1.0","dist":{"shasum":"a92ca9b65a2fe4ef3ecc6f93abae6bea9df47f12","integrity":"sha512-AypOVBCXEw5EkOyKHUyghMtrb1BigJ/Yt11K8R3RWaZxwqE8QIIQjSso4OCl6FEFTc2jox0c0wy4qJo9ZMFGSA==","tarball":"http://registry-npm.ywwl.com/@poi/plugin-typescript/download/@poi/plugin-typescript-12.1.0.tgz","fileCount":5,"unpackedSize":4969,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJck3QPCRA9TVsSAnZWagAATBAP/2hmy4CADmxUAEnalq3t\ns37szPvrLzsCipVMFUKzc3nljK0abrG1A9OQDAgksqHejB7sFLfUtfDwsApi\nYhdV+f7EqEL0qiXVO06ctnm0FaSX+9R3iDTlXDjzDYapbQg7ZL6oKnk8qwoI\nt3niZQj2KJP7s7Z3dyLxC4IeGOCLJ7EmyrAH+qXE/6pziq/sNN8RNAiRaqQH\ndPVDOlX2K3Na8uYw7/ky31eZUR6ldAyf50AuHHiqOByT21fAZSZPXIOuqlcr\n7Bz2PK0kcm1zyq1YYnrAJ6DQ9MNVKlRv4gYf0pjMBmRvQWnBh84VL8PP6DkU\nVN5l3hbipknhW6kXmQb6v8TGFdtLrHdCSkqmROaXk0GPYHcS7yP5QzTiPpNP\nhUOyX6vgAzcfb9OFaaYT6gEfwireETapj44zVdrmFJSJuvrLNySwmCd61U4T\n2Bx7sagDllN/l4nxXfA7yA0K6IF21fDxupkC1P5encgbb0E5G1xkzg7Ajn3R\nwqmT1AKABck/0bt0uTtF+rwG9jN4rergs1ZUVxbqyFUO20IF6AhW00SV+KoY\nIBbMXUvDlegzrILcEUnXoZrbO8Ix7PAXkr65LLc3uiZKd3xA2qExVzajv6T2\no8K7Har6GSoefLokGu58+9M/xE8xNzgsMsxeHucmSvpFbwQvAE8Dr+wb9VY5\nRwZ1\r\n=v3uD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzXkr/yLaAzYuJcPbCqok0udCcGnaifiZG+PktfuLafAIhAL3KhDRSW8jvSFFeM8R3KIRWrNodl98606SabuwD9VPp"}],"size":2434,"noattachment":false,"key":"/@poi/plugin-typescript/-/@poi/plugin-typescript-12.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_12.1.0_1553167375123_0.6841263184487179"},"_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":1553167375269,"_cnpm_publish_time":1553167375269,"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"}}