feat: bootstrap multi-tenant storefront showcase
This commit is contained in:
40
package.json
Normal file
40
package.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"name": "ecommerce-shops",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"clean": "rm -rf .next out",
|
||||
"dev": "bun run clean && cp config/store_executive.ts config/store.ts && NEXT_PUBLIC_STORE_CODE=executive next dev",
|
||||
"dev:executive": "bun run clean && cp config/store_executive.ts config/store.ts && NEXT_PUBLIC_STORE_CODE=executive next dev",
|
||||
"dev:crypto": "bun run clean && cp config/store_crypto.ts config/store.ts && NEXT_PUBLIC_STORE_CODE=crypto next dev",
|
||||
"dev:supper": "bun run clean && cp config/store_supper.ts config/store.ts && NEXT_PUBLIC_STORE_CODE=supper next dev",
|
||||
"dev:collector": "bun run clean && cp config/store_collector.ts config/store.ts && NEXT_PUBLIC_STORE_CODE=collector next dev",
|
||||
"prebuild": "bun run clean && cp config/store_${NEXT_PUBLIC_STORE_CODE}.ts config/store.ts",
|
||||
"build": "next build",
|
||||
"build:executive": "NEXT_PUBLIC_STORE_CODE=executive bun run build",
|
||||
"build:crypto": "NEXT_PUBLIC_STORE_CODE=crypto bun run build",
|
||||
"build:supper": "NEXT_PUBLIC_STORE_CODE=supper bun run build",
|
||||
"build:collector": "NEXT_PUBLIC_STORE_CODE=collector bun run build",
|
||||
"start": "next start",
|
||||
"lint": "next lint",
|
||||
"deploy": "bun scripts/deploy.mjs",
|
||||
"deploy:dry": "bunx wrangler deploy --dry-run"
|
||||
},
|
||||
"dependencies": {
|
||||
"next": "^15.1.7",
|
||||
"react": "^19.0.0",
|
||||
"react-dom": "^19.0.0",
|
||||
"postcss-storestyles": "file:plugins/postcss-storestyles"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/postcss": "^4.0.6",
|
||||
"@types/node": "^20",
|
||||
"@types/react": "^19",
|
||||
"@types/react-dom": "^19",
|
||||
"postcss": "^8.5.2",
|
||||
"tailwindcss": "^4.0.6",
|
||||
"typescript": "^5.7.3",
|
||||
"wrangler": "^4.105.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user