From 54acf6d28fb60184b4106070d976a4c7b0010e8f Mon Sep 17 00:00:00 2001 From: zomars Date: Mon, 1 Aug 2022 13:50:30 -0600 Subject: [PATCH] Sorts root scripts and adds prisma alias --- package.json | 42 ++++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index e0cfb8f7bc..b9050e793b 100644 --- a/package.json +++ b/package.json @@ -11,48 +11,50 @@ "packages/app-store/ee/*" ], "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", "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-seed": "turbo run db-seed", "db-studio": "yarn workspace @calcom/prisma db-studio", "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:api": "turbo run dev --scope=\"@calcom/web\" --scope=\"@calcom/api\"", "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\"", - "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-dev": "turbo run dev --scope=\"@calcom/docs\"", "docs-start": "turbo run start --scope=\"@calcom/docs\"", "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": "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", - "type-check": "turbo run type-check", - "app-store": "yarn workspace @calcom/app-store-cli cli", - "app-store:build": "yarn workspace @calcom/app-store-cli build", + "test-playwright": "yarn playwright test --config=tests/config/playwright.config.ts", + "test": "turbo run test", "turbo-w": "node turbo-wrapper.js", - "app-e2e-quick": "turbo run app-e2e-quick" + "type-check": "turbo run type-check" }, "devDependencies": { "@snaplet/copycat": "^0.3.0", "dotenv-checker": "^1.1.5", + "dotenv-cli": "^6.0.0", "husky": "^8.0.1", "lint-staged": "^12.4.1", "prettier": "^2.5.1"