create-bun-stack
Version:
Rails-inspired fullstack application generator for Bun
56 lines (55 loc) • 2.11 kB
JSON
{
"name": "{{projectName}}",
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "bun run dev.ts",
"build:css": "bunx tailwindcss -i ./src/app/index.css -o ./public/styles.css",
"build:js": "bun build src/app/main.tsx --outdir=public --outfile=main.js --minify",
"typecheck": "bunx tsc --noEmit",
"format": "bunx prettier --write .",
"format:check": "bunx prettier --check .",
"lint": "bunx @biomejs/biome check --write .",
"lint:check": "bunx @biomejs/biome check .",
"lint:fix": "bunx @biomejs/biome check --write --unsafe .",
"check": "bun run typecheck && bun run format:check && bun run lint:check",
"fix": "bun run format && bun run lint",
"test": "bun test",
"test:watch": "bun test --watch",
"test:pg": "TEST_POSTGRES=true bun test",
"test:coverage": "bunx c8 --reporter=text --reporter=html bun test",
"test:coverage:pg": "TEST_POSTGRES=true bunx c8 --reporter=text --reporter=html bun test",
"test:setup": "bun run db:push && bun run db:seed",
"db:push": "drizzle-kit push",
"db:push:pg": "DATABASE_URL=$DATABASE_URL drizzle-kit push",
"db:generate": "drizzle-kit generate",
"db:generate:pg": "DATABASE_URL=$DATABASE_URL drizzle-kit generate",
"db:studio": "drizzle-kit studio",
"db:seed": "bun run src/db/seed.ts",
"make-admin": "bun run src/scripts/make-admin.ts",
"build": "bun run build:css && bun run build:js",
"start": "NODE_ENV=production bun run src/server/index.ts"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.20.0",
"drizzle-orm": "^0.33.0",
"postgres": "^3.4.0",
"zod": "^3.22.0",
"@tanstack/react-query": "^5.0.0",
"@paralleldrive/cuid2": "^2.2.2",
"@heroicons/react": "^2.0.18"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@libsql/client": "^0.3.0",
"@types/bun": "latest",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"drizzle-kit": "^0.24.0",
"prettier": "^3.3.3",
"tailwindcss": "3.4.0",
"typescript": "^5.5.0"
}
}