{"name":"gatsby-plugin-typescript","description":"Adds TypeScript support to Gatsby","version":"1.5.0-alpha.e9c3027b","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"contributors":[{"name":"Noah Lange","email":"noahrlange@gmail.com"}],"dependencies":{"@babel/runtime":"^7.0.0-beta.42","babel-plugin-remove-graphql-queries":"^2.1.0-alpha.e9c3027b","ts-loader":"^2.0.3","typescript":"^2.7.2"},"devDependencies":{"@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42","cross-env":"^5.1.4"},"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-typescript#readme","keywords":["gatsby","typescript"],"license":"MIT","main":"index.js","peerDependencies":{"gatsby":"^1.0.0"},"repository":{"type":"git","url":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-typescript"},"scripts":{"build":"babel src --out-dir .","prepublish":"cross-env NODE_ENV=production npm run build","watch":"babel -w src --out-dir ."},"readmeFilename":"README.md","readme":"# gatsby-plugin-typescript\n\nProvides drop-in support for TypeScript and TSX.\n\n## Install\n\n`yarn add gatsby-plugin-typescript typescript`\n\n## How to use\n\n1. Include the plugin in your `gatsby-config.js` file.\n1. Add `tsconfig.json` file on your root directory.\n1. Write your components in TSX or TypeScript.\n1. You're good to go.\n\n`gatsby-config.js`\n\n```javascript\nplugins: [`gatsby-plugin-typescript`];\n```\n\nOr with optional configuration:\n\n```javascript\nplugins: [\n  {\n    resolve: \"gatsby-plugin-typescript\",\n    options: {\n      transpileOnly: true, // default\n      compilerOptions: {\n        target: `esnext`,\n        experimentalDecorators: true,\n        jsx: `react`,\n      }, // default\n    },\n  },\n];\n```\n\n`tsconfig.json`\n\n```json\n{\n  \"compilerOptions\": {\n    \"outDir\": \"./dist/\",\n    \"sourceMap\": true,\n    \"noImplicitAny\": true,\n    \"module\": \"commonjs\",\n    \"target\": \"esnext\",\n    \"jsx\": \"react\",\n    \"lib\": [\"dom\", \"es2015\", \"es2017\"]\n  },\n  \"include\": [\"./src/**/*\"]\n}\n```\n","_id":"gatsby-plugin-typescript@1.5.0-alpha.e9c3027b","dist":{"shasum":"d0829ce430ec92aa70b2755be413e23b04092ec1","tarball":"http://registry-npm.ywwl.com/gatsby-plugin-typescript/download/gatsby-plugin-typescript-1.5.0-alpha.e9c3027b.tgz","fileCount":6,"unpackedSize":4070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2ipuCRA9TVsSAnZWagAA6i0P/0ly0QaljQyDGpbNlDKo\nK4LsVBTaT3+fN5RlM1bQT9frWEAEF3jgXDGIuEWnEJ8H0t0RkcASVk1ljFNr\n1WbeZqrvsALdcUq0uNsZ27FdJ/bE1L/qnWR0mzaAn4DPaNycCR6r0a3HPmCv\nKShtYiCrhKX6tdD7vW/xF/m+2W9AI1yD4CgLTxFw0V7PMV7AkkYu9sxJn8ro\nw9W3J3cE+0+sGESGYG+eLi+SqUlDAtrKRWLb2AxKNA+fD070Z8aCzrL4Koi8\nGPSwipYeQUYJ6OQ+76JZOFZn+A3A6Kvrn0HJmVxpCrajqEfYamGZQsVYn8YW\n9G92wZwdGyrhposbdkeQsQbB3hA5pfjz/OgUgIs12kTzlEwvuY/HMnjaQzjn\n7ignrhUFwQMocYDsz1APJvYNmC70gh0CQWHgxylJ3XCgCkfPseq6NPMjKCqd\nM/S3fzk7C2qGi0XNlgAuaDUc2MAjqa53Ywr1ar98gRCwk0Lkkyc2qWodH/Xh\nIZL/vSYXTLjaBOXiqLiFcXu8hcDdGedB3t4VEH3ZeOZlt5ZTI3e9RGMMPpWk\nz1TTQgXjWu2u5banwDOXxYZd+7qck5lNZrzuDt4G50YJdE8X/ihbutbcp0Z4\ntSyPszhw8nWqA95AV8qZti2bo84QdxHh1L2EADJ7inec/pTKFG+S4EsFF6vq\nL1I3\r\n=qQKF\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-ta4hNlCZjZrpssxYHisaPmq2RPaCO2Ij0d57M5FjQc0Hp7FELUHB/AYDMwHSp3bRMWabLQCUwfqktZdJJtHY2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlzua6vpK/ifwfsSJO1oea3n7R/jO/OUrWcQiIFU3kQgIhAJh6bybZY9ENF64jv/cwtQpOwARAAX3el3UfOSaND5ld"}],"size":1957,"noattachment":false,"key":"/gatsby-plugin-typescript/-/gatsby-plugin-typescript-1.5.0-alpha.e9c3027b.tgz"},"maintainers":[{"email":"mathews.kyle@gmail.com","name":"kylemathews"},{"email":"monastic.panic@gmail.com","name":"monastic.panic"}],"_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-plugin-typescript_1.5.0-alpha.e9c3027b_1524247149291_0.6177252927233816"},"_hasShrinkwrap":false,"publish_time":1524247149331,"_cnpm_publish_time":1524247149331,"dist-tags":{"alpha-9689ff":"4.23.0-alpha-9689ff.25","alpha-a5-peer":"4.23.0-alpha-a5-peer.70","alpha-gatsby-metadata":"4.17.0-alpha-gatsby-metadata.81","alpha-mdx-v2":"4.18.0-alpha-mdx-v2.68","alpha-qe-sm":"3.14.0-alpha-qe-sm.33","alpha-remote-fetch":"3.14.0-alpha-remote-fetch.79","alpha-remote-file":"3.10.0-alpha-remote-file.48","alpha-rspack":"5.8.0-alpha-rspack.16","alpha-trailing-slash":"4.5.0-alpha-trailing-slash.71","alpha-transformer-json":"4.14.0-alpha-transformer-json.26","alpha-ts-jit":"4.6.0-alpha-ts-jit.27","alpha-v5":"5.0.0-alpha-v5.d20221012t101120.57","cbp3":"3.0.0-cpb3.83","coreutils":"3.12.0-coreutils.29","debug-missing-sq":"2.4.19-debug-missing-sq.231","dev-ssr-2":"2.4.19-dev-ssr-2.196","drupal-next":"3.14.0-drupal-next.81","drupal-proxyurl":"5.0.0-alpha-drupal-proxyurl.14","drupal-self-reference":"4.18.0-alpha-drupal-self-reference.18","functions-next":"3.4.0-functions-next.18","image-cdn":"4.9.0-alpha-image-service2.14","image-service":"4.8.0-alpha-image-service.35","latest":"5.16.0","latest-v3":"3.15.0","latest-v4":"4.25.0","mdxv4-rc":"4.20.0-mdxv4-rc.65","next":"5.17.0-next.0","otp-test":"2.1.6-otp-test.69","preview-gh-api":"4.23.0-alpha-preview-gh-api.26","query-modules-debug-missing-sq":"2.4.19-query-modules-debug-missing-sq.267","reach-router":"3.0.0-reach-router.17","react19":"5.17.0-react19.1","unifiedroutes":"2.3.3-unifiedroutes.76","unifiedroutes-v2":"2.3.3-unifiedroutes-v2.151","v3rc":"3.0.0-v3rc.0","wp-image-cdn-auth":"4.15.0-alpha-wp-image-cdn-auth.45"}}