Giter Site home page Giter Site logo

0xvoushi / gatsby-extensive-starter-typescript Goto Github PK

View Code? Open in Web Editor NEW

This project forked from assainov/gatsby-extensive-starter-typescript

0.0 0.0 0.0 12.42 MB

Gatsby Starter Blog implemented in TypeScript

License: MIT License

JavaScript 10.31% TypeScript 89.69%

gatsby-extensive-starter-typescript's Introduction

Extensive TypeScript Starter for Gatsby

This starter is based on my comprehensive tutorial series on Migrating Gatsby Site to TypeScript.

The TypeScript boilerplate is converted from the popular gatsby-starter-blog.

Have anything to add to this boilerplate? Just create an issue.

πŸš€ Quick start

  1. Install all dependencies.

    npm install
  2. Start developing.

    Navigate into your new site’s directory and start it up.

    npm start
  3. Type-check your code

    Just before commiting, run the following code to type-check all your files.

    npm run type-check
  4. Build the static website

    Navigate into your new site’s directory and start it up.

    npm run build

🧐 What's inside?

  • TypeScript for all Gatsby and React files
  • Linting with ESLint & Prettier
  • Plugin for SASS/SASS modules
  • Automatic generation of GraphQL query interfaces
  • GraphQL query result validation with DeepPropertyAccess and default props. Check the example Bio component.

A quick look at the top-level files and directories you'll see in a Gatsby + TypeScript project.

.
β”œβ”€β”€ .vscode
β”œβ”€β”€ node_modules
β”œβ”€β”€ src
β”œβ”€β”€ content
β”œβ”€β”€ .gitignore
β”œβ”€β”€ .prettierrcignore
β”œβ”€β”€ .prettierrc.js
β”œβ”€β”€ gatsby-config.js
β”œβ”€β”€ gatsby-config.ts
β”œβ”€β”€ gatsby-node.ts
β”œβ”€β”€ tsconfig.json
β”œβ”€β”€ LICENSE
β”œβ”€β”€ package-lock.json
β”œβ”€β”€ package.json
└── README.md

gatsby-extensive-starter-typescript's People

Contributors

assainov avatar dschau avatar gesposito avatar heinrichfilter avatar iamnishantmishra avatar irekrog avatar jackbravo avatar jumpalottahigh avatar kyleamathews avatar lgraubner avatar luandro avatar m-allanson avatar marcobiedermann avatar markcatley avatar mathiasbynens avatar mattbag avatar mef avatar meherhowji avatar mmeinzer avatar mottox2 avatar patrykkopycinski avatar pieh avatar pixelyunicorn avatar robinmetral avatar rstacruz avatar rsternagel avatar sethwilsonus avatar vico0tech avatar wesbos avatar wowu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.