examples/next/package.json
{
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"cypress": "cypress open --env \"pluginVisualRegressionUpdateImages=true,pluginVisualRegressionImagesPath={spec_path}/__image_snapshots_local__\"",
"cypress:ci": "cypress run --env \"pluginVisualRegressionUpdateImages=true\"",
"test:e2e": "start-server-and-test dev http://localhost:3000 \"pnpm cypress --e2e\"",
"test:e2e:ci": "start-server-and-test dev http://localhost:3000 \"pnpm cypress:ci --e2e\"",
"test:ct": "start-server-and-test dev http://localhost:3000 \"pnpm cypress --component\"",
"test:ct:ci": "start-server-and-test dev http://localhost:3000 \"pnpm cypress:ci --component\""
},
"dependencies": {
"next": "latest",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@frsource/cypress-plugin-visual-regression-diff": "workspace:*",
"@types/node": "18.0.6",
"@types/react": "18.0.15",
"@types/react-dom": "18.0.6",
"cypress": "12.12.0",
"start-server-and-test": "1.15.2",
"typescript": "4.7.4"
}
}