add yarn dx for easier local development (#553)
This commit is contained in:
1 parent
da7986c1f9
commit
c6fa712b10
6 files changed
+325
-65
No files matched your search
+9
-2
@@ -4,9 +4,15 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"db-up": "docker-compose up -d",
|
||||
"db-migrate": "yarn prisma migrate dev",
|
||||
"db-seed": "yarn ts-node scripts/seed.ts",
|
||||
"db-nuke": "docker-compose down --volumes --remove-orphans",
|
||||
"dx": "DATABASE_URL=postgresql://postgres:@localhost:5450/calendso eval 'yarn db-up && yarn prisma migrate dev && yarn db-seed && yarn dev'",
|
||||
"test": "node node_modules/.bin/jest",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"ts-node": "ts-node --compiler-options \"{\\\"module\\\":\\\"commonjs\\\"}\"",
|
||||
"postinstall": "prisma generate",
|
||||
"pre-commit": "lint-staged",
|
||||
"lint": "eslint . --ext .ts,.js,.tsx,.jsx",
|
||||
@@ -19,7 +25,7 @@
|
||||
"@headlessui/react": "^1.4.0",
|
||||
"@heroicons/react": "^1.0.4",
|
||||
"@jitsu/sdk-js": "^2.2.4",
|
||||
"@prisma/client": "^2.29.1",
|
||||
"@prisma/client": "^2.30.2",
|
||||
"@radix-ui/react-avatar": "^0.0.15",
|
||||
"@radix-ui/react-collapsible": "^0.0.17",
|
||||
"@radix-ui/react-dialog": "^0.0.20",
|
||||
@@ -81,8 +87,9 @@
|
||||
"mockdate": "^3.0.5",
|
||||
"postcss": "^8.3.6",
|
||||
"prettier": "^2.3.2",
|
||||
"prisma": "^2.29.1",
|
||||
"prisma": "^2.30.2",
|
||||
"tailwindcss": "^2.2.7",
|
||||
"ts-node": "^10.2.1",
|
||||
"typescript": "^4.3.5"
|
||||
},
|
||||
"lint-staged": {
|
||||
|
||||
Reference in new issue
Block a user