create-next-js-boilerplate
Version:
Next.js 16 Boilerplate with TypeScript, Chakra UI, ESLint, Prettier, Husky, and Cypress — a complete starter template to build fast, scalable, and modern web applications.
21 lines (18 loc) • 447 B
text/typescript
import { defineConfig } from "cypress";
export default defineConfig({
chromeWebSecurity: false,
component: {
specPattern: "src/**/*.component.cy.{js,jsx,ts,tsx}",
devServer: {
framework: "next",
bundler: "webpack",
},
},
e2e: {
baseUrl: "http://localhost:3000",
specPattern: "src/**/*.e2e.cy.{js,jsx,ts,tsx}",
setupNodeEvents(on, config) {
// implement node event listeners here
},
},
});