chore: use serve instead of firebase emulator

This commit is contained in:
Kim, Jimin 2023-07-29 11:32:55 +09:00
parent 0312a631a0
commit f4e08865c5
Signed by: pomp
GPG key ID: CE1DDB8A4A765403
7 changed files with 168 additions and 3287 deletions

View file

@ -5,7 +5,7 @@
"scripts": {
"dev": "open-cli http://localhost:3000 && next dev",
"build": "next build",
"serve": "cd ../.. && firebase emulators:start --only hosting --config=firebase.test.blog.json",
"serve": "serve build --listen 3000",
"lint": "next lint",
"test:e2e": "playwright test",
"clean": "rm -rf .next .turbo build node_modules test-results"
@ -35,7 +35,6 @@
"eslint": "8.45.0",
"eslint-config-next": "13.4.12",
"eslint-plugin-prettier": "^4.2.1",
"firebase-tools": "^12.4.6",
"highlight.js": "^11.8.0",
"katex": "^0.16.8",
"next": "13.4.12",
@ -45,6 +44,7 @@
"prettier-plugin-tailwindcss": "^0.4.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"serve": "^14.2.0",
"tailwindcss": "3.3.3",
"typescript": "5.1.6",
"zustand": "^4.3.9"

View file

@ -7,7 +7,7 @@
"cp": "cp ../../packages/content/dist/skills.svg ../../packages/content/dist/resume.pdf static",
"dev": "vite dev",
"build": "pnpm cp && vite build",
"serve": "cd ../.. && firebase emulators:start --only hosting --config=firebase.test.main.json",
"serve": "serve build --listen 5173",
"test:e2e": "playwright test",
"clean": "rm -rf .turbo .svelte-kit build node_modules vite.config.ts.timestamp-*",
"lint": "eslint ."
@ -31,11 +31,11 @@
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-svelte": "^2.32.2",
"firebase-tools": "^12.4.6",
"postcss": "^8.4.25",
"prettier-plugin-svelte": "^2.10.1",
"prettier-plugin-tailwindcss": "^0.3.0",
"sass": "^1.63.6",
"serve": "^14.2.0",
"svelte": "^4.0.5",
"svelte-check": "^3.4.5",
"tailwindcss": "^3.3.2",

View file

@ -5,7 +5,7 @@
"scripts": {
"dev": "open-cli http://localhost:5174 && next dev -p 5174",
"build": "next build",
"serve": "cd ../.. && firebase emulators:start --only hosting --config=firebase.test.portfolio.json",
"serve": "serve dist --listen 5174",
"test:e2e": "playwright test",
"lint": "next lint",
"clean": "rm -rf .next .turbo dist node_modules test-results"
@ -35,7 +35,6 @@
"autoprefixer": "10.4.14",
"eslint": "8.45.0",
"eslint-config-next": "13.4.12",
"firebase-tools": "^12.4.6",
"highlight.js": "^11.8.0",
"katex": "^0.16.8",
"next": "13.4.12",
@ -46,6 +45,7 @@
"react": "18.2.0",
"react-collapse": "^5.1.1",
"react-dom": "18.2.0",
"serve": "^14.2.0",
"tailwindcss": "3.3.3",
"typescript": "5.1.6"
}

View file

@ -1,20 +0,0 @@
{
"hosting": {
"cleanUrls": true,
"trailingSlash": false,
"public": "apps/blog/build",
"ignore": ["**/.*"]
},
"emulators": {
"hub": {
"name": "hub",
"host": "localhost",
"port": 4400
},
"hosting": {
"host": "localhost",
"port": 3000
}
}
}

View file

@ -1,19 +0,0 @@
{
"hosting": {
"cleanUrls": true,
"trailingSlash": false,
"public": "apps/main/build",
"ignore": ["**/.*"]
},
"emulators": {
"hub": {
"name": "hub",
"host": "localhost",
"port": 4401
},
"hosting": {
"port": 5173
}
}
}

View file

@ -1,19 +0,0 @@
{
"hosting": {
"cleanUrls": true,
"trailingSlash": false,
"public": "apps/portfolio/dist",
"ignore": ["**/.*"]
},
"emulators": {
"hub": {
"name": "hub",
"host": "localhost",
"port": 4402
},
"hosting": {
"port": 5174
}
}
}

3383
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff