{"name":"gatsby-plugin-typescript","description":"Adds TypeScript support to Gatsby","version":"1.5.0-alpha.523a4286","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.523a4286","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.523a4286","dist":{"shasum":"cdb71cfef63b20c6d599ada9234659ab0be50abf","tarball":"http://registry-npm.ywwl.com/gatsby-plugin-typescript/download/gatsby-plugin-typescript-1.5.0-alpha.523a4286.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\nwsFcBAEBCAAQBQJa2SwnCRA9TVsSAnZWagAAxfAQAJnEHU91sXUQhc7X7WPb\nN4cVe4uZNhG03nOd+pyZbJvx24mIHi3psMpa5rk98+LZ8M+tNYnaduZIgGk0\nvkTkjzRN6R6kttnb7jJWR3Vfus/ESKFlK17w3LIiDK3i+P+bnRr/s2VC5qAp\nOUr5Ile71wBTtNHilNibNKb51gqqzlTBBO+IivK9zWaezMtteVUJ2UbT1cEK\nqPcNwi2E+tPXB2hCTpyvqHcdmB59/Nxc2hyTlO56bBkK4gYGO4hcsHFXjCjO\ngHZG9eL0Ox2z2Xx2Z/1kvD9srqC8Y1FglmVg+lu3rSKXq/aFs8SBt2tviFOz\nN7XAPeuYm9CFw1qI12XJJsXvBnAG7OoherZLnMJZv/lJHc6w5t9vixnqsD+x\ndivUdPeuhRlbT49SYt0OY02f0bypng3JB09/uUp1Z9e8z75b0eQRuBPjkmJQ\n0RD/y8whBcx98RlEpyon3WnhnyVopFst81hpsKcLQcZrjSMzU9ztURXw9Xzp\nL5omAyb/pIlQiYR7FJokV4Omx1h/tO2wVYwB4aGPwTTM2IUxtgjao75wxGpx\nCTs94fpk150SsDg4eAJT4SZcC0hg/SmsOBybsLVJWRPthRJF01+DE3dx/2qc\nTOmtrsoCqOiJLJJk7SpsdV9QLXgSic6EpE2JtFdS2iklA4hiZWG4wpgOvK1X\nAzXB\r\n=gueo\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-QH7PGSWmhrptac6sQ7QX5qaNSTxCuapRF8IdB3iyuY2cZu7gTIGLhE4dIgPfewPFcO6BmfFk1KH0F/M6WrxRPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICrR1EAlT1/sFisTqEwqhapIbnco56CSwVN4M/upNC0iAiAmrzmW/3PqCieZsXB5aqSowe+/IuvvL/jIssrYWioNLw=="}],"size":1958,"noattachment":false,"key":"/gatsby-plugin-typescript/-/gatsby-plugin-typescript-1.5.0-alpha.523a4286.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.523a4286_1524182053885_0.473073872479727"},"_hasShrinkwrap":false,"publish_time":1524182053966,"_cnpm_publish_time":1524182053966,"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"}}