Sorts root scripts and adds prisma alias

pull/3580/merge
zomars 2022-08-01 13:50:30 -06:00
parent 7e8f13148e
commit 54acf6d28f
1 changed files with 22 additions and 20 deletions

View File

@ -11,48 +11,50 @@
"packages/app-store/ee/*" "packages/app-store/ee/*"
], ],
"scripts": { "scripts": {
"app-e2e-quick": "turbo run app-e2e-quick",
"app-store:build": "yarn workspace @calcom/app-store-cli build",
"app-store": "yarn workspace @calcom/app-store-cli cli",
"build": "turbo run build --scope=\"@calcom/web\" --include-dependencies", "build": "turbo run build --scope=\"@calcom/web\" --include-dependencies",
"clean": "find . -name node_modules -o -name .next -o -name .turbo -o -name dist -type d -prune | xargs rm -rf", "clean": "find . -name node_modules -o -name .next -o -name .turbo -o -name dist -type d -prune | xargs rm -rf",
"db-deploy": "turbo run db-deploy", "db-deploy": "turbo run db-deploy",
"db-seed": "turbo run db-seed", "db-seed": "turbo run db-seed",
"db-studio": "yarn workspace @calcom/prisma db-studio", "db-studio": "yarn workspace @calcom/prisma db-studio",
"deploy": "turbo run deploy", "deploy": "turbo run deploy",
"predev": "echo 'Checking env files'",
"dev": "turbo run dev --scope=\"@calcom/web\"",
"dev:all": "turbo run dev --scope=\"@calcom/web\" --scope=\"@calcom/website\" --scope=\"@calcom/console\"", "dev:all": "turbo run dev --scope=\"@calcom/web\" --scope=\"@calcom/website\" --scope=\"@calcom/console\"",
"dev:api": "turbo run dev --scope=\"@calcom/web\" --scope=\"@calcom/api\"", "dev:api": "turbo run dev --scope=\"@calcom/web\" --scope=\"@calcom/api\"",
"dev:console": "turbo run dev --scope=\"@calcom/web\" --scope=\"@calcom/console\"", "dev:console": "turbo run dev --scope=\"@calcom/web\" --scope=\"@calcom/console\"",
"dev:swagger": "turbo run dev --scope=\"@calcom/api\" --scope=\"@calcom/swagger\"", "dev:swagger": "turbo run dev --scope=\"@calcom/api\" --scope=\"@calcom/swagger\"",
"dev:website": "turbo run dev --scope=\"@calcom/web\" --scope=\"@calcom/website\"", "dev:website": "turbo run dev --scope=\"@calcom/web\" --scope=\"@calcom/website\"",
"docs-dev": "turbo run dev --scope=\"@calcom/docs\"", "dev": "turbo run dev --scope=\"@calcom/web\"",
"docs-build": "turbo run build --scope=\"@calcom/docs\" --include-dependencies", "docs-build": "turbo run build --scope=\"@calcom/docs\" --include-dependencies",
"docs-dev": "turbo run dev --scope=\"@calcom/docs\"",
"docs-start": "turbo run start --scope=\"@calcom/docs\"", "docs-start": "turbo run start --scope=\"@calcom/docs\"",
"dx": "turbo run dx", "dx": "turbo run dx",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"heroku-postbuild": "turbo run @calcom/web#build",
"lint": "turbo run lint",
"lint:fix": "turbo run lint:fix",
"lint:report": "turbo run lint:report",
"postinstall": "turbo run post-install",
"pre-commit": "lint-staged",
"env-check:common": "dotenv-checker --schema .env.example --env .env",
"env-check:app-store": "dotenv-checker --schema .env.appStore.example --env .env.appStore",
"prepare": "husky install",
"start": "turbo run start --scope=\"@calcom/web\"",
"test": "turbo run test",
"test-playwright": "yarn playwright test --config=tests/config/playwright.config.ts",
"embed-tests-quick": "turbo run embed-tests-quick", "embed-tests-quick": "turbo run embed-tests-quick",
"embed-tests": "turbo run embed-tests", "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",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"heroku-postbuild": "turbo run @calcom/web#build",
"lint:fix": "turbo run lint:fix",
"lint:report": "turbo run lint:report",
"lint": "turbo run lint",
"postinstall": "turbo run post-install",
"pre-commit": "lint-staged",
"predev": "echo 'Checking env files'",
"prepare": "husky install",
"prisma": "yarn dotenv -e .env yarn workspace @calcom/prisma prisma",
"start": "turbo run start --scope=\"@calcom/web\"",
"test-e2e": "turbo run test --scope=\"@calcom/web\" && yarn turbo run test-e2e --scope=\"@calcom/web\" --concurrency=1", "test-e2e": "turbo run test --scope=\"@calcom/web\" && yarn turbo run test-e2e --scope=\"@calcom/web\" --concurrency=1",
"type-check": "turbo run type-check", "test-playwright": "yarn playwright test --config=tests/config/playwright.config.ts",
"app-store": "yarn workspace @calcom/app-store-cli cli", "test": "turbo run test",
"app-store:build": "yarn workspace @calcom/app-store-cli build",
"turbo-w": "node turbo-wrapper.js", "turbo-w": "node turbo-wrapper.js",
"app-e2e-quick": "turbo run app-e2e-quick" "type-check": "turbo run type-check"
}, },
"devDependencies": { "devDependencies": {
"@snaplet/copycat": "^0.3.0", "@snaplet/copycat": "^0.3.0",
"dotenv-checker": "^1.1.5", "dotenv-checker": "^1.1.5",
"dotenv-cli": "^6.0.0",
"husky": "^8.0.1", "husky": "^8.0.1",
"lint-staged": "^12.4.1", "lint-staged": "^12.4.1",
"prettier": "^2.5.1" "prettier": "^2.5.1"