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

This commit is contained in:
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",