{"name":"@poi/plugin-typescript","version":"10.2.0","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.2.0","dist":{"shasum":"19909c4e8cf282db0e76eff5447695b0ec2aa086","tarball":"http://registry-npm.ywwl.com/@poi/plugin-typescript/download/@poi/plugin-typescript-10.2.0.tgz","fileCount":4,"unpackedSize":2567,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDBcYCRA9TVsSAnZWagAAqlEP/1Pn0cUnON+23nhj9ibM\n0DiKwj1vSymdclu004COTzNMIEa+gmHv7yTBekI0uuObOpICbo6MJWi727vb\nW49lMbtTR4dZE1p7HLt2V1FF5kA1wbDeQsPTUybLz+pvS13CeDF9Fiaa606C\nNZA+G29deSCcGKz8E9EvPdTfzT7sVxc6T4LZJ/JKHm7LNzFWsPwrHit82adH\nx0DeCGkkkuXFss07SV5ilTg3dfS7QIckigAZJwo8KA6Zp6dOHZOr37G4zVKk\ngm19nLQiO16X+7Rt7klUn8q65LRANbqNLdCzd6t2SKJe0X4J9nwcVPTaxm99\ngBQVMIqT3sMJcgTmERIYLvDPHcQ/xkClkmk9G6BtUoyAC9YNOOzXrVPtJlpi\nLeLaAvQolDCnusjhbfndy3UioN8kbbQe6ouWwan/KZVek84tDZ4/+e/qK3CH\nmisTu53BptOpwNpJFY4hLD2NivpfuOXOFj53itmnDV7gDD2RiWGrj5wIcXx6\n689bVPQiQaffKHW3vzwWurUxDARWKFn6HyZ5WqCVos06atiNiZbXIImbZoyp\n0gFSvpjvxjBSubCvOOv6uK5eL1SHYkmA071bj41WwP6mu223SpDUVsubA/Jg\nzve+VZBhqGS6fpMJxnq6j57ix86xgZxf/eROzam6X1LsnuBxBtMpC3g4Nwte\nrFEJ\r\n=uZqo\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-AGVNDZPDkeN1LIGgm4wss5pnLUAALJXwd/VJk/APpx5QiMicXXe6t8TBAWT+j8Q8XOidufoRMCCmO3noTLhRpA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDD1RB+K/6PlIRoZjCdP2pKz8SE9rf3n4QIyOVyb0fbvAiEAzEWvWW1r02SxTfHeM02m50mMHRsf5Mv7YkW5jQGY7LQ="}],"size":1254,"noattachment":false,"key":"/@poi/plugin-typescript/-/@poi/plugin-typescript-10.2.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.2.0_1527518999602_0.7639571594088284"},"_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":1527518999657,"_cnpm_publish_time":1527518999657,"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"}}