{"name":"@poi/plugin-typescript","version":"12.0.0","publishConfig":{"access":"public"},"main":"index.js","dependencies":{"fork-ts-checker-webpack-plugin":"^0.5.0","ts-loader":"^5.3.0","tslint":"^5.11.0"},"peerDependencies":{"typescript":"^3.1.6"},"devDependencies":{"typescript":"^3.1.6"},"gitHead":"052b3839c76792b20cd5b45c7a9250622299c82a","description":"Official TypeScript plugin for Poi.","_id":"@poi/plugin-typescript@12.0.0","dist":{"shasum":"43831b71808eaf32837604ae936f4f4b1eb4a88b","integrity":"sha512-kwvMhOBHi9WCyKE3+pe+VwKK9XZk2J1QyG8SRvrrXXbjFAWJ9VsgPPtCn/uanccHhtJFcHTNCsp2IPXODBS4Ow==","tarball":"http://registry-npm.ywwl.com/@poi/plugin-typescript/download/@poi/plugin-typescript-12.0.0.tgz","fileCount":4,"unpackedSize":3825,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcC4s2CRA9TVsSAnZWagAAVvEP+wbrBdg225bcsDGngjt3\nW89cs45e7UvWWWlLnWr06XTsfyfplhHIwZ/RQwaW7jtsuOghFP/BvCAmYk7v\nEELBUWYkBbJGoHu96NqyaEIUHLXtQteiifgWLzAgPnA3MXjnivqoMuP9V35+\nAugX7Rjvm21FW9x9loZ964MYO5a0AF4IH4bMzMt8GWPmB0hgGMY79aRO6q+q\nFETWo5ymcZnhPU43QgfxBK7MXrtdHzB43S6izIqkJYUIFKhP4p4uG1/Ik8vL\nF+RMmAz/E4UkVEhc/Nm/ScSTmls5QIzxUVhgEG/Jf70fu/5tVkKgP+HB06yF\nWZ03Bm//i8ELJDybbHZ3gMY0adKiK+h68Ni3T6ENpwDd6Hv16m2eS08u4sJ5\nGfuknUCD1mBgRnQClzPEQVhE5T75ffmWcH0wRUQMQjIiUhKp5nZJ0AIiFajG\nxaMQkvtDKyoHEUHhv/ssghh1os75SswJXRxibPnhD/KmFdeaDfs/GvEJYh9K\nnUOTe0N8D2oOKCSRIUuK7/H5C5GYrZOkPvmRpeL99tc0lS6E0tCJGoRAoyn7\nj2LQnRbaHO1/eovLYDEJwir9C8qfStTdkM83L2GlMr1jyC9Li3xAhhLyosFK\napVDE4ZZmwvDRsfFVKfOKvqr5g+jkNFs0n9XOYsMIYWbaRBtORomFUIT3HyQ\nLJyY\r\n=riIm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLOwg2ADMswXsQJfo+HtfnG/tKoejlVbvUbjPpAQT0OwIgfitxe2Nat3bF4zgE2PLvJE41V32cDP0WJSYjXr9x29Q="}],"size":2009,"noattachment":false,"key":"/@poi/plugin-typescript/-/@poi/plugin-typescript-12.0.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.0.0_1544260405712_0.9696627146876382"},"_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":1544260405837,"_cnpm_publish_time":1544260405837,"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"}}