2022-02-09 22:17:10 +00:00
|
|
|
{
|
|
|
|
"name": "calcom-monorepo",
|
|
|
|
"version": "0.0.0",
|
|
|
|
"private": true,
|
|
|
|
"workspaces": [
|
|
|
|
"apps/*",
|
2022-03-23 22:00:30 +00:00
|
|
|
"packages/*",
|
2022-03-31 08:45:47 +00:00
|
|
|
"packages/embeds/*",
|
2022-07-28 19:58:26 +00:00
|
|
|
"packages/features/*",
|
2022-07-14 12:40:53 +00:00
|
|
|
"packages/app-store/*",
|
|
|
|
"packages/app-store/ee/*"
|
2022-02-09 22:17:10 +00:00
|
|
|
],
|
|
|
|
"scripts": {
|
2022-08-29 22:33:53 +00:00
|
|
|
"app-store-cli": "yarn workspace @calcom/app-store-cli",
|
|
|
|
"app-store:build": "yarn app-store-cli build",
|
|
|
|
"app-store:watch": "yarn app-store-cli watch",
|
|
|
|
"app-store": "yarn app-store-cli cli",
|
2023-01-18 22:30:25 +00:00
|
|
|
"create-app": "yarn app-store create",
|
|
|
|
"edit-app": "yarn app-store edit",
|
2023-06-01 20:41:30 +00:00
|
|
|
"withEmbedPublishEnv": "NEXT_PUBLIC_EMBED_LIB_URL='https://app.cal.com/embed/embed.js' NEXT_PUBLIC_WEBAPP_URL='https://app.cal.com' yarn",
|
|
|
|
"publish-embed": "yarn withEmbedPublishEnv workspace @calcom/embed-core build && yarn withEmbedPublishEnv workspace @calcom/embed-snippet build && yarn workspaces foreach --from=\"@calcom/embed*\" npm publish --access=public",
|
2023-01-18 22:30:25 +00:00
|
|
|
"delete-app": "yarn app-store delete",
|
|
|
|
"create-app-template": "yarn app-store create-template",
|
|
|
|
"edit-app-template": "yarn app-store edit-template",
|
|
|
|
"delete-app-template": "yarn app-store delete-template",
|
2022-09-02 02:00:48 +00:00
|
|
|
"build": "turbo run build --filter=@calcom/web...",
|
2022-07-22 17:27:06 +00:00
|
|
|
"clean": "find . -name node_modules -o -name .next -o -name .turbo -o -name dist -type d -prune | xargs rm -rf",
|
2022-02-11 02:12:57 +00:00
|
|
|
"db-deploy": "turbo run db-deploy",
|
2022-02-10 18:56:41 +00:00
|
|
|
"db-seed": "turbo run db-seed",
|
2022-08-29 22:33:53 +00:00
|
|
|
"db-studio": "yarn prisma studio",
|
2022-02-09 23:59:34 +00:00
|
|
|
"deploy": "turbo run deploy",
|
2022-06-22 20:41:19 +00:00
|
|
|
"dev:all": "turbo run dev --scope=\"@calcom/web\" --scope=\"@calcom/website\" --scope=\"@calcom/console\"",
|
2023-08-30 23:10:59 +00:00
|
|
|
"dev:ai": "turbo run dev --scope=\"@calcom/web\" --scope=\"@calcom/api\" --scope=\"@calcom/ai\"",
|
2022-06-22 20:41:19 +00:00
|
|
|
"dev:api": "turbo run dev --scope=\"@calcom/web\" --scope=\"@calcom/api\"",
|
2022-12-02 22:25:13 +00:00
|
|
|
"dev:api:console": "turbo run dev --scope=\"@calcom/web\" --scope=\"@calcom/api\" --scope=\"@calcom/console\"",
|
2022-06-22 20:41:19 +00:00
|
|
|
"dev:console": "turbo run dev --scope=\"@calcom/web\" --scope=\"@calcom/console\"",
|
|
|
|
"dev:swagger": "turbo run dev --scope=\"@calcom/api\" --scope=\"@calcom/swagger\"",
|
|
|
|
"dev:website": "turbo run dev --scope=\"@calcom/web\" --scope=\"@calcom/website\"",
|
2022-08-01 19:50:30 +00:00
|
|
|
"dev": "turbo run dev --scope=\"@calcom/web\"",
|
2022-08-24 20:18:42 +00:00
|
|
|
"build-storybook": "turbo run build --scope=\"@calcom/storybook\"",
|
2022-06-22 20:41:19 +00:00
|
|
|
"dx": "turbo run dx",
|
2023-03-08 22:28:49 +00:00
|
|
|
"i-dev": "infisical run -- turbo run dev --scope=\"@calcom/web\"",
|
|
|
|
"i-dx": "infisical run -- turbo run dx",
|
|
|
|
"i-gen-web-example-env": "infisical secrets generate-example-env --tags=web > .env.example",
|
|
|
|
"i-gen-app-store-example-env": "infisical secrets generate-example-env --tags=appstore > .env.appStore.example",
|
2022-08-01 19:50:30 +00:00
|
|
|
"embed-tests-quick": "turbo run embed-tests-quick",
|
|
|
|
"embed-tests": "turbo run embed-tests",
|
|
|
|
"env-check:app-store": "dotenv-checker --schema .env.appStore.example --env .env.appStore",
|
|
|
|
"env-check:common": "dotenv-checker --schema .env.example --env .env",
|
2022-02-09 22:37:50 +00:00
|
|
|
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
|
2022-02-14 16:29:48 +00:00
|
|
|
"heroku-postbuild": "turbo run @calcom/web#build",
|
2022-07-12 14:32:27 +00:00
|
|
|
"lint:fix": "turbo run lint:fix",
|
2022-03-09 17:52:48 +00:00
|
|
|
"lint:report": "turbo run lint:report",
|
2022-08-01 19:50:30 +00:00
|
|
|
"lint": "turbo run lint",
|
2023-07-26 12:00:32 +00:00
|
|
|
"postinstall": "husky install && turbo run post-install",
|
2022-02-15 20:30:52 +00:00
|
|
|
"pre-commit": "lint-staged",
|
2022-08-01 19:50:30 +00:00
|
|
|
"predev": "echo 'Checking env files'",
|
2022-08-17 17:38:21 +00:00
|
|
|
"prisma": "yarn workspace @calcom/prisma prisma",
|
2022-02-17 15:37:35 +00:00
|
|
|
"start": "turbo run start --scope=\"@calcom/web\"",
|
2023-05-24 23:35:44 +00:00
|
|
|
"tdd": "vitest watch",
|
2022-09-02 02:00:48 +00:00
|
|
|
"e2e": "NEXT_PUBLIC_IS_E2E=1 yarn playwright test --project=@calcom/web",
|
|
|
|
"e2e:app-store": "QUICK=true yarn playwright test --project=@calcom/app-store",
|
2023-03-15 22:01:04 +00:00
|
|
|
"e2e:embed": "QUICK=true yarn playwright test --project=@calcom/embed-core",
|
|
|
|
"e2e:embed-react": "QUICK=true yarn playwright test --project=@calcom/embed-react",
|
2023-02-22 00:10:39 +00:00
|
|
|
"test-e2e": "yarn db-seed && yarn e2e",
|
|
|
|
"test-e2e:app-store": "yarn db-seed && yarn e2e:app-store",
|
2023-03-15 22:01:04 +00:00
|
|
|
"test-e2e:embed": "yarn db-seed && yarn e2e:embed",
|
|
|
|
"test-e2e:embed-react": "yarn db-seed && yarn e2e:embed-react",
|
2022-09-06 22:58:16 +00:00
|
|
|
"test-playwright": "yarn playwright test --config=playwright.config.ts",
|
2023-05-24 23:35:44 +00:00
|
|
|
"test": "vitest run",
|
2022-08-26 18:44:02 +00:00
|
|
|
"type-check": "turbo run type-check",
|
2023-03-28 20:12:40 +00:00
|
|
|
"type-check:ci": "turbo run type-check:ci --log-prefix=none",
|
2022-08-29 22:33:53 +00:00
|
|
|
"web": "yarn workspace @calcom/web"
|
2022-02-09 22:17:10 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-05-13 08:22:31 +00:00
|
|
|
"@changesets/cli": "^2.26.1",
|
2023-03-02 18:25:30 +00:00
|
|
|
"@deploysentinel/playwright": "^0.3.3",
|
2023-03-15 22:01:04 +00:00
|
|
|
"@playwright/test": "^1.31.2",
|
2022-06-25 16:10:35 +00:00
|
|
|
"@snaplet/copycat": "^0.3.0",
|
2023-07-19 15:22:41 +00:00
|
|
|
"@testing-library/jest-dom": "^5.16.5",
|
2023-05-24 23:35:44 +00:00
|
|
|
"c8": "^7.13.0",
|
2022-03-26 00:39:38 +00:00
|
|
|
"dotenv-checker": "^1.1.5",
|
2023-05-24 23:35:44 +00:00
|
|
|
"husky": "^8.0.0",
|
2023-07-25 17:30:18 +00:00
|
|
|
"i18n-unused": "^0.13.0",
|
2023-05-24 23:35:44 +00:00
|
|
|
"jest-diff": "^29.5.0",
|
|
|
|
"jsdom": "^22.0.0",
|
2022-08-17 17:38:21 +00:00
|
|
|
"lint-staged": "^12.5.0",
|
2023-08-11 18:56:27 +00:00
|
|
|
"mailhog": "^4.16.0",
|
2023-03-28 06:00:02 +00:00
|
|
|
"prettier": "^2.8.6",
|
2023-03-28 20:12:40 +00:00
|
|
|
"tsc-absolute": "^1.0.0",
|
2023-05-24 23:35:44 +00:00
|
|
|
"typescript": "^4.9.4",
|
2023-09-06 19:23:53 +00:00
|
|
|
"vitest": "^0.34.3",
|
|
|
|
"vitest-fetch-mock": "^0.2.2",
|
2023-05-24 23:35:44 +00:00
|
|
|
"vitest-mock-extended": "^1.1.3"
|
2022-02-11 14:34:12 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-03-02 20:42:41 +00:00
|
|
|
"city-timezones": "^1.2.1",
|
2023-03-15 22:01:04 +00:00
|
|
|
"eslint": "^8.34.0",
|
2023-05-17 12:47:44 +00:00
|
|
|
"lucide-react": "^0.171.0",
|
2023-06-01 18:43:21 +00:00
|
|
|
"turbo": "^1.10.1"
|
2022-05-17 19:31:49 +00:00
|
|
|
},
|
|
|
|
"resolutions": {
|
2023-01-22 00:03:59 +00:00
|
|
|
"@apidevtools/json-schema-ref-parser": "9.0.9",
|
2022-06-13 16:32:45 +00:00
|
|
|
"@types/node": "16.9.1",
|
2023-02-16 22:39:57 +00:00
|
|
|
"@types/react": "18.0.26",
|
2023-08-31 19:30:28 +00:00
|
|
|
"@types/react-dom": "^18.0.9"
|
2022-02-09 22:17:10 +00:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
2022-08-11 19:17:56 +00:00
|
|
|
"(apps|packages)/**/*.{js,ts,jsx,tsx}": [
|
2022-02-09 22:17:10 +00:00
|
|
|
"prettier --write",
|
|
|
|
"eslint --fix"
|
|
|
|
],
|
|
|
|
"*.json": [
|
|
|
|
"prettier --write"
|
2022-02-15 20:30:52 +00:00
|
|
|
],
|
|
|
|
"packages/prisma/schema.prisma": [
|
|
|
|
"prisma format"
|
2022-02-09 22:17:10 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"engines": {
|
2023-03-15 20:15:16 +00:00
|
|
|
"node": ">=18.x",
|
2022-02-09 22:17:10 +00:00
|
|
|
"npm": ">=7.0.0",
|
|
|
|
"yarn": ">=1.19.0 < 2.0.0"
|
|
|
|
},
|
2022-08-17 17:38:21 +00:00
|
|
|
"prisma": {
|
|
|
|
"schema": "packages/prisma/schema.prisma",
|
|
|
|
"seed": "ts-node --transpile-only ./packages/prisma/seed.ts"
|
|
|
|
},
|
2023-03-15 22:01:04 +00:00
|
|
|
"packageManager": "yarn@3.4.1",
|
2022-08-17 17:38:21 +00:00
|
|
|
"syncpack": {
|
|
|
|
"filter": "^(?!@calcom).*",
|
|
|
|
"semverRange": ""
|
|
|
|
}
|
2022-02-09 22:17:10 +00:00
|
|
|
}
|