2023-04-03 13:39:51 +02:00
|
|
|
{
|
2023-04-13 09:28:55 +02:00
|
|
|
"name": "@zitadel/login",
|
2023-04-03 13:39:51 +02:00
|
|
|
"private": true,
|
|
|
|
|
"scripts": {
|
|
|
|
|
"dev": "next dev",
|
2023-06-21 19:32:17 +02:00
|
|
|
"test": "concurrently --timings --kill-others-on-fail 'npm:test:unit' 'npm:test:integration'",
|
2023-06-08 07:20:30 +02:00
|
|
|
"test:watch": "concurrently --kill-others 'npm:test:unit:watch' 'npm:test:integration:watch'",
|
2024-05-16 03:02:22 -04:00
|
|
|
"test:unit": "vitest",
|
2023-06-15 23:23:26 +02:00
|
|
|
"test:unit:watch": "pnpm test:unit --watch",
|
2024-08-12 09:58:49 +02:00
|
|
|
"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\\\"\"'",
|
2023-06-15 23:23:26 +02:00
|
|
|
"test:integration:run": "cypress run --config-file ./cypress/cypress.config.ts --quiet",
|
|
|
|
|
"test:integration:open": "cypress open --config-file ./cypress/cypress.config.ts",
|
2023-06-15 22:42:13 +02:00
|
|
|
"mock": "pnpm mock:build && pnpm mock:run",
|
2023-06-23 15:31:09 +02:00
|
|
|
"mock:run": "pnpm mock:stop && docker run --rm --name zitadel-mock-grpc-server --publish 22220:22220 --publish 22222:22222 zitadel-mock-grpc-server",
|
2023-06-15 22:42:13 +02:00
|
|
|
"mock:build": "DOCKER_BUILDKIT=1 docker build --tag zitadel-mock-grpc-server ./mock",
|
|
|
|
|
"mock:build:nocache": "pnpm mock:build --no-cache",
|
2023-06-23 15:31:09 +02:00
|
|
|
"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",
|
2023-04-28 10:16:04 +02:00
|
|
|
"lint": "next lint && prettier --check .",
|
2023-05-05 10:26:32 +02:00
|
|
|
"lint:fix": "prettier --write .",
|
2023-04-03 13:39:51 +02:00
|
|
|
"lint-staged": "lint-staged",
|
2023-06-05 23:27:05 +02:00
|
|
|
"build": "next build",
|
2023-06-21 06:47:54 +02:00
|
|
|
"prestart": "pnpm build",
|
2023-04-03 13:39:51 +02:00
|
|
|
"start": "next start",
|
2023-06-21 06:47:54 +02:00
|
|
|
"clean": "pnpm mock:destroy && rm -rf .turbo && rm -rf node_modules && rm -rf .next"
|
2023-04-03 13:39:51 +02:00
|
|
|
},
|
|
|
|
|
"git": {
|
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
|
},
|
|
|
|
|
"lint-staged": {
|
|
|
|
|
"*": "prettier --write --ignore-unknown"
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2024-04-07 03:56:46 -04:00
|
|
|
"@headlessui/react": "^1.7.18",
|
|
|
|
|
"@heroicons/react": "2.1.3",
|
|
|
|
|
"@tailwindcss/forms": "0.5.7",
|
|
|
|
|
"@vercel/analytics": "^1.2.2",
|
2024-07-25 23:16:07 -04:00
|
|
|
"@zitadel/client": "workspace:*",
|
2024-08-13 15:31:40 +02:00
|
|
|
"@zitadel/next": "workspace:*",
|
2024-04-07 03:56:46 -04:00
|
|
|
"@zitadel/node": "workspace:*",
|
2024-07-30 14:05:41 +02:00
|
|
|
"@zitadel/proto": "workspace:*",
|
|
|
|
|
"@zitadel/react": "workspace:*",
|
2023-04-03 13:39:51 +02:00
|
|
|
"clsx": "1.2.1",
|
2024-04-22 15:09:39 +02:00
|
|
|
"copy-to-clipboard": "^3.3.3",
|
2023-05-17 15:25:25 +02:00
|
|
|
"moment": "^2.29.4",
|
2024-08-14 08:23:48 +02:00
|
|
|
"next": "13.5.6",
|
2023-04-19 10:37:35 +02:00
|
|
|
"next-themes": "^0.2.1",
|
2023-04-03 13:39:51 +02:00
|
|
|
"nice-grpc": "2.0.1",
|
2024-04-22 15:09:39 +02:00
|
|
|
"qrcode.react": "^3.1.0",
|
2024-08-13 15:31:40 +02:00
|
|
|
"react": "^18.3.1",
|
2024-05-16 03:02:22 -04:00
|
|
|
"react-dom": "18.3.1",
|
2023-04-03 13:39:51 +02:00
|
|
|
"react-hook-form": "7.39.5",
|
2023-06-30 14:13:03 +02:00
|
|
|
"swr": "^2.2.0",
|
2023-06-07 13:54:03 +02:00
|
|
|
"tinycolor2": "1.4.2"
|
2023-04-03 13:39:51 +02:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2024-08-09 07:22:36 +00:00
|
|
|
"@bufbuild/buf": "^1.36.0",
|
2024-05-16 03:02:22 -04:00
|
|
|
"@testing-library/jest-dom": "^6.4.5",
|
2024-08-09 07:22:36 +00:00
|
|
|
"@testing-library/react": "^16.0.0",
|
|
|
|
|
"@types/ms": "0.7.34",
|
|
|
|
|
"@types/node": "22.1.0",
|
|
|
|
|
"@types/react": "18.3.3",
|
|
|
|
|
"@types/react-dom": "18.3.0",
|
2023-04-03 13:39:51 +02:00
|
|
|
"@types/tinycolor2": "1.4.3",
|
2024-08-09 07:22:36 +00:00
|
|
|
"@types/uuid": "^10.0.0",
|
2023-04-03 13:39:51 +02:00
|
|
|
"@vercel/git-hooks": "1.0.0",
|
2024-05-16 03:02:22 -04:00
|
|
|
"@zitadel/prettier-config": "workspace:*",
|
2023-04-19 10:37:35 +02:00
|
|
|
"@zitadel/tsconfig": "workspace:*",
|
2024-08-09 07:22:36 +00:00
|
|
|
"autoprefixer": "10.4.20",
|
2023-06-08 07:20:30 +02:00
|
|
|
"concurrently": "^8.1.0",
|
2024-08-09 07:22:36 +00:00
|
|
|
"cypress": "^13.13.2",
|
|
|
|
|
"del-cli": "5.1.0",
|
2023-06-21 19:32:17 +02:00
|
|
|
"env-cmd": "^10.1.0",
|
2023-04-19 10:37:35 +02:00
|
|
|
"eslint-config-zitadel": "workspace:*",
|
2024-08-09 07:22:36 +00:00
|
|
|
"grpc-tools": "1.12.4",
|
|
|
|
|
"lint-staged": "15.2.8",
|
|
|
|
|
"make-dir-cli": "4.0.0",
|
|
|
|
|
"nodemon": "^3.1.4",
|
|
|
|
|
"postcss": "8.4.41",
|
|
|
|
|
"prettier-plugin-tailwindcss": "0.6.5",
|
2024-05-16 03:02:22 -04:00
|
|
|
"sass": "^1.77.1",
|
2023-06-08 07:20:30 +02:00
|
|
|
"start-server-and-test": "^2.0.0",
|
2024-08-09 07:22:36 +00:00
|
|
|
"tailwindcss": "3.4.9",
|
2023-04-03 13:39:51 +02:00
|
|
|
"ts-proto": "^1.139.0",
|
2024-05-16 03:02:22 -04:00
|
|
|
"typescript": "^5.4.5",
|
2023-05-15 09:23:59 +02:00
|
|
|
"zitadel-tailwind-config": "workspace:*"
|
2023-04-03 13:39:51 +02:00
|
|
|
}
|
2023-06-07 15:34:06 +02:00
|
|
|
}
|