{ "name": "@zitadel/login", "private": true, "scripts": { "dev": "next dev", "test": "concurrently --group --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": "jest --config ./__test__/jest.config.ts", "test:unit:watch": "pnpm test:unit --watch", "test:integration": "pnpm mock:build && concurrently --group --names 'mock,test' --success command-test --kill-others 'pnpm:mock' 'ZITADEL_API_URL=http://localhost:22222 start-server-and-test dev http://localhost:3000 \"test:integration:run\"'", "test:integration:watch": "concurrently --names 'mock,test' --kill-others 'pnpm:mock' 'ZITADEL_API_URL=http://localhost:22222 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:destroy && 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:destroy": "docker rm --force zitadel-mock-grpc-server 2>/dev/null", "lint": "next lint && prettier --check .", "lint:fix": "prettier --write .", "lint-staged": "lint-staged", "build": "next build", "prestart": "build", "start": "next start", "clean": "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.14", "@heroicons/react": "2.0.13", "@tailwindcss/forms": "0.5.3", "@vercel/analytics": "^1.0.0", "@zitadel/next": "workspace:*", "@zitadel/react": "workspace:*", "@zitadel/server": "workspace:*", "clsx": "1.2.1", "date-fns": "2.29.3", "moment": "^2.29.4", "next": "13.4.2", "next-themes": "^0.2.1", "nice-grpc": "2.0.1", "react": "18.2.0", "react-dom": "18.2.0", "react-hook-form": "7.39.5", "sass": "^1.62.0", "tinycolor2": "1.4.2" }, "devDependencies": { "@bufbuild/buf": "^1.14.0", "@jest/types": "^29.5.0", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^14.0.0", "@types/jest": "^29.5.1", "@types/ms": "0.7.31", "@types/node": "18.11.9", "@types/react": "18.2.8", "@types/react-dom": "18.0.9", "@types/testing-library__jest-dom": "^5.14.6", "@types/tinycolor2": "1.4.3", "@types/uuid": "^9.0.1", "@vercel/git-hooks": "1.0.0", "@zitadel/tsconfig": "workspace:*", "autoprefixer": "10.4.13", "concurrently": "^8.1.0", "cypress": "^12.14.0", "del-cli": "5.0.0", "eslint-config-zitadel": "workspace:*", "grpc-tools": "1.11.3", "jest": "^29.5.0", "jest-environment-jsdom": "^29.5.0", "jest-silent-reporter": "^0.5.0", "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", "start-server-and-test": "^2.0.0", "tailwindcss": "3.2.4", "ts-jest": "^29.1.0", "ts-node": "^10.9.1", "ts-proto": "^1.139.0", "typescript": "5.0.4", "zitadel-tailwind-config": "workspace:*" } }