A NextJS boilerplate with RTL, Styled Components, Storybook, TypeScript, Husky, Babel, ESLint and Next PWA 😎
React | Next | Next PWA | Styled Components | TypeScript | Testing Library |
---|---|---|---|---|---|
v16.13.1 | v9.4.4 | v3.1.1 | v5.1.1 | v3.9.5 | v10.4.7 |
To install all dependencies, you can use NPM or Yarn as package manager.
To run the project as development mode, you can use yarn dev
or npm run dev
. To run as production mode, you should build the project first with the command yarn build
or npm run build
and yarn start
or npm run start
to run it.
yarn test
to run all tests and test:watch
to run all test as development mode, watching for changes.
yarn storybook
will open the storybook page at port 6006 and yarn build-storybook
will create static files to serve storybook if you need it.
This project is licensed under the MIT License - see the LICENSE.md file for details