chore: enable shell emulator on windows and start preview with correct port

zio/stable
Daniel Roe 2022-11-26 18:13:47 +00:00
parent 19dd7f891d
commit 01b16e2a7a
No known key found for this signature in database
GPG Key ID: 22D5008E4F5D9B55
2 changed files with 2 additions and 1 deletions

1
.npmrc
View File

@ -1,2 +1,3 @@
shamefully-hoist=true
strict-peer-dependencies=false
shell-emulator=true

View File

@ -7,7 +7,7 @@
"scripts": {
"build": "nuxi build",
"dev": "nuxi dev --port 5314",
"start": "node .output/server/index.mjs",
"start": "PORT=5314 node .output/server/index.mjs",
"lint": "eslint .",
"postinstall": "nuxi prepare",
"prepare": "esno scripts/prepare.ts",