{"name":"gatsby-plugin-typescript","version":"2.0.0-alpha.32ef58da","description":"Adds TypeScript support for Gatsby layouts and pages.","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"contributors":[{"name":"Noah Lange","email":"noahrlange@gmail.com"}],"dependencies":{"@babel/runtime":"^7.0.0-beta.38","babel-plugin-remove-graphql-queries":"^2.0.0-alpha.32ef58da","ts-loader":"^2.0.3","typescript":"^2.2.1"},"devDependencies":{"@babel/cli":"^7.0.0-beta.38","@babel/core":"^7.0.0-beta.38","cross-env":"^5.0.5"},"keywords":["gatsby","typescript"],"license":"MIT","main":"index.js","scripts":{"build":"babel src --out-dir . --ignore **/__tests__/**","watch":"babel -w src --out-dir . --ignore **/__tests__/**","prepublish":"cross-env NODE_ENV=production npm run build"},"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@2.0.0-alpha.32ef58da","dist":{"shasum":"094b376a6208183cb4e29240465f352cbb8ffb2e","tarball":"http://registry-npm.ywwl.com/gatsby-plugin-typescript/download/gatsby-plugin-typescript-2.0.0-alpha.32ef58da.tgz","fileCount":6,"unpackedSize":3640,"integrity":"sha512-PtrAqiJD3sdFbfIV+G2aFl26i8lcUtkF8eRzv/6oeQ3082/m4U0Pr0lW0eFmQRvYt3fMXz0FHyvIF+mpRO1FtA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5zLfRxAcyU4xtzFXnH9AJopdpToeHFeP6DZTCX4Y+JAIhANuDF/HyoAMNLc/pWSpyfcVezKI4RJtOa7DTRj7sUMYN"}],"size":1823,"noattachment":false,"key":"/gatsby-plugin-typescript/-/gatsby-plugin-typescript-2.0.0-alpha.32ef58da.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_2.0.0-alpha.32ef58da_1518320742693_0.2961776659615667"},"_hasShrinkwrap":false,"publish_time":1518320742746,"_cnpm_publish_time":1518320742746,"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"}}