test: use static server (#2996)

This commit is contained in:
Alex Yang
2023-07-04 13:37:06 +08:00
committed by GitHub
parent 3d70148e0f
commit edb7847e95
2 changed files with 4 additions and 3 deletions

View File

@@ -4,8 +4,9 @@
"version": "0.7.0-canary.31",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "ts-node-esm server.mts"
"build": "next build && next export",
"start": "NODE_ENV=development next start",
"static-server": "ts-node-esm server.mts"
},
"dependencies": {
"@affine-test/fixtures": "workspace:*",