Next.js implemented using Typescript and Jest
Clone the repository
git clone https://github.com/maxfouquet/next.js-typescript-starter.git
Set up dependencies
npm install
Development mode
npm run dev
Start
npm start
Test
npm run test
Test Watch
npm run test:watch
Build
npm run build
Next.js is running on http://localhost:3000
|-- __mocks__
| -- mocks.js
|-- pages
-- index.tsx
|-- src
| |-- components
| -- Home.spec.tsx
| -- Home.tsx
| -- Layout.tsx
| |-- static
| |-- css
| -- style.css
|-- babel.config.json
|-- enzyme.js
|-- jest.tsconfig.json
|-- next-env.d.ts
|-- next.config.js
|-- package.json
|-- README.md
|-- tsconfig.json
MIT