nextjs-starter-kit

NextJS Starter Kit with Testing Frameworks and CI/CD

MIT License

Stars
30
Committers
1

NextJS Starter Kit


This setting used by This Repository

Default Settings

[ IMPORTANT ] Must Change Here

  • package.json line 2 - project name
  • next.config.js line 4, 5 - production url and path
  • /public/favicon.ico and /public/icon-*.png
  • /public/manifest.json line 5~9 - application information
  • /pages/_document.tsx line 10 - lang
  • /pages/_app.tsx line 17, 20 - description, title

Usage

Install

yarn && yarn postinstall

Running Dev Server

yarn dev

Lint

yarn lint

Unit Test

yarn test
yarn test:watch
yarn test:coverage

E2E Test

yarn cypress
yarn cypress:headless
yarn e2e
yarn e2e:headless

Storybook

yarn storybook
yarn build-storybook

Build and Export

yarn build
yarn start
yarn export