A simple project starter to work with TypeScript, React, NextJS and Styled Components
100% test coverage
npm run dev
http://localhost:3000
npm rum build
npm start
npm test
npm run test:watch
eslint src
eslint src --fix
npx create-next-app nextjs-blog --use-npm --example "https://github.com/vercel/next-learn/tree/master/basics/learn-starter"
create tsconfig.json
run npm install --save-dev typescript @types/react @types/node
run npm run dev
again, to populatetsconfig.json
npm install eslint --save-dev
npm init @eslint/config
npm install --save-dev --save-exact prettier
npm install --save-dev eslint-config-prettier
npx husky-init
npm install
npm install --save-dev @types/styled-components babel-plugin-styled-components
npm install --save styled-components
npm install next-pwa
npm install webpack@5
npm i jest @babel/preset-typescript @types/jest
npm install --save-dev @testing-library/react @testing-library/jest-dom
npm install --save-dev jest-styled-components