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

pull/152/head
Daniel Roe 2022-11-26 18:13:47 +00:00
rodzic 19dd7f891d
commit 01b16e2a7a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 22D5008E4F5D9B55
2 zmienionych plików z 2 dodań i 1 usunięć

1
.npmrc
Wyświetl plik

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

Wyświetl plik

@ -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",