{ "name": "@zitadel/login", "private": true, "scripts": { "dev": "next dev", "test": "concurrently --timings --kill-others-on-fail 'npm:test:unit' 'npm:test:integration'", "test:watch": "concurrently --kill-others 'npm:test:unit:watch' 'npm:test:integration:watch'", "test:unit": "vitest", "test:unit:watch": "pnpm test:unit --watch", "test:integration": "pnpm mock:build && concurrently --names 'mock,test' --success command-test --kill-others 'pnpm:mock' 'env-cmd -f ./.env.integration start-server-and-test start http://localhost:3000 \"test:integration:run\"'", "test:integration:watch": "concurrently --names 'mock,test' --kill-others 'pnpm:mock' 'env-cmd -f ./.env.integration start-server-and-test dev http://localhost:3000 \"pnpm nodemon -e js,jsx,ts,tsx,css,scss --ignore \\\"__test__/**\\\" --exec \\\"pnpm test:integration:run\\\"\"'", "test:integration:run": "cypress run --config-file ./cypress/cypress.config.ts --quiet", "test:integration:open": "cypress open --config-file ./cypress/cypress.config.ts", "mock": "pnpm mock:build && pnpm mock:run", "mock:run": "pnpm mock:stop && docker run --rm --name zitadel-mock-grpc-server --publish 22220:22220 --publish 22222:22222 zitadel-mock-grpc-server", "mock:build": "DOCKER_BUILDKIT=1 docker build --tag zitadel-mock-grpc-server ./mock", "mock:build:nocache": "pnpm mock:build --no-cache", "mock:stop": "docker rm --force zitadel-mock-grpc-server 2>/dev/null || true", "mock:destroy": "docker rmi --force zitadel-mock-grpc-server 2>/dev/null || true", "lint": "next lint && prettier --check .", "lint:fix": "prettier --write .", "lint-staged": "lint-staged", "build": "next build", "prestart": "pnpm build", "start": "next start", "clean": "pnpm mock:destroy && rm -rf .turbo && rm -rf node_modules && rm -rf .next" }, "git": { "pre-commit": "lint-staged" }, "lint-staged": { "*": "prettier --write --ignore-unknown" }, "dependencies": { "@headlessui/react": "^1.7.18", "@heroicons/react": "2.1.3", "@tailwindcss/forms": "0.5.7", "@vercel/analytics": "^1.2.2", "@zitadel/client": "workspace:*", "@zitadel/node": "workspace:*", "@zitadel/proto": "workspace:*", "@zitadel/react": "workspace:*", "@zitadel/next": "workspace:*", "clsx": "1.2.1", "copy-to-clipboard": "^3.3.3", "moment": "^2.29.4", "next": "14.2.3", "next-themes": "^0.2.1", "nice-grpc": "2.0.1", "qrcode.react": "^3.1.0", "react": "18.3.1", "react-dom": "18.3.1", "react-hook-form": "7.39.5", "swr": "^2.2.0", "tinycolor2": "1.4.2" }, "devDependencies": { "@bufbuild/buf": "^1.35.1", "@testing-library/jest-dom": "^6.4.5", "@testing-library/react": "^15.0.7", "@types/ms": "0.7.31", "@types/node": "18.11.9", "@types/react": "18.2.8", "@types/react-dom": "18.0.9", "@types/tinycolor2": "1.4.3", "@types/uuid": "^9.0.1", "@vercel/git-hooks": "1.0.0", "@zitadel/prettier-config": "workspace:*", "@zitadel/tsconfig": "workspace:*", "autoprefixer": "10.4.13", "concurrently": "^8.1.0", "cypress": "^13.9.0", "del-cli": "5.0.0", "env-cmd": "^10.1.0", "eslint-config-zitadel": "workspace:*", "grpc-tools": "1.11.3", "lint-staged": "13.0.3", "make-dir-cli": "3.0.0", "nodemon": "^2.0.22", "postcss": "8.4.21", "prettier-plugin-tailwindcss": "0.1.13", "sass": "^1.77.1", "start-server-and-test": "^2.0.0", "tailwindcss": "3.2.4", "ts-proto": "^1.139.0", "typescript": "^5.4.5", "zitadel-tailwind-config": "workspace:*" } }