Giter Site home page Giter Site logo

nextts-emotion-template's Introduction

NextJS + Typescript + Emotion 템플릿

템플릿 기능 소개

본 템플릿은 아래의 기술 스택들을 포함하고 있습니다.

  • NextJS
  • TypeScript
  • ESLint & Prettier (+ 저장 시 포맷 자동 적용)
  • Emotion
  • Husky(커밋/푸쉬 전 포맷 체크)

템플릿에 대한 자세한 설명은 본 포스트를 참고하시길 바랍니다.

🍏 Node 버전

node 16.17.0

✏️ 템플릿 맞춤 IDE

vscode

⚙️ 템플릿 세팅 방법

1. npm 모듈 설치

npm 모듈 설치 과정에서 $ husky install 명령어가 같이 실행되어, husky도 같이 세팅이 이루어집니다.

npm install

2. ESLint, Prettier 플러그인 설치

VSCode Extension 에서 ESLintPrettier - Code formatter를 설치 후 에디터 껏다 키기

3. 개발환경에서 실행

npm run dev

🧾 포맷 관련 명령어

npm run check-types # Typescript에 대해 타이핑 체크

npm run check-format # prettier로 포맷팅 체크

npm run check-lint  # eslint로 포맷팅 체크

npm run format  # prettier로 포맷팅 수정

npm run test-all # 앞의 4개명령어 + build 실행

npm run prepare # husky 설정 적용

🪢 브랜치 설명

  • typescript - 타입스크립트 부분까지 적용된 부분입니다.
  • eslint - ESLint 부분까지 적용된 부분입니다.
  • prettier - prettier 부분까지 적용된 부분입니다.
  • format - 저장시 포맷이 되는 부분까지 적용된 부분입니다.
  • husky - Husky 부분까지 적용된 부분입니다.
  • emotion - Emotion 부분까지 적용된 부분입니다.
  • directory - Directory 구조 변경 부분까지 적용된 부분입니다.

nextts-emotion-template's People

Contributors

sxungchxn avatar

Watchers

James Cloos avatar  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.