Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mariawarnes/next-ts-sanity-template


https://github.com/mariawarnes/next-ts-sanity-template

Last synced: 6 days ago
JSON representation

Awesome Lists containing this project

README

        

# Next.js Typescript Sanity Template

Language
TypeScript

Framework
Next.js

Compiler
SWC

Styles
Tailwind

CMS
Sanity

Formatting & Linting
Prettier ESLint

Testing
Jest Cypress

## Scripts

- `npm run dev`: Start the development server using Next.js.
- `npm run build`: Build the production-ready application.
- `npm run start`: Start the production server.
- `npm run format`: Run Prettier formatting.
- `npm run lint`: Run linting checks using ESLint.
- `npm run test`: Run Jest tests in watch mode.
- `npm run test:ci`: Run Jest tests in continuous integration mode.
- `npm run e2e`: Open Cypress for end-to-end auditing tests.
- `npm run e2e:run`: Run headless Cypress tests with Chrome for auditing.

## Notable Dependencies

- `@headlessui/react`: Prebuilt accessible and customizable UI components.
- `next-themes`: Utility for managing dark mode.
- `sharp`: Image optimisation library.
- `react-icons`: React icons library.
- `cspell`: Spell checker.
- `@testing-library`: Library for testing React components.
- `@cypress-audit/lighthouse`, `@cypress-audit/pa11y`, `jest-axe`: A11y and performance testing.