Skip to content

Commit

Permalink
adding engine, changin port in script
Browse files Browse the repository at this point in the history
  • Loading branch information
devLeticia committed Oct 31, 2024
1 parent fb64cae commit f65c6d0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@
"private": true,
"version": "0.0.0",
"type": "module",
"engines": {
"node": "20"
},
"scripts": {
"dev": "vite",
"start": "vite --host 0.0.0.0 --port $PORT",
"start": "vite --host 0.0.0.0 ${PORT-3000}",
"lint": "eslint src --ext .ts,.tsx --fix",
"build": "vite build --debug",
"preview": "vite preview"
Expand Down
6 changes: 5 additions & 1 deletion tsconfig.node.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
"composite": true,
"module": "ESNext",
"moduleResolution": "Node",
"allowSyntheticDefaultImports": true
"allowSyntheticDefaultImports": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
"skipLibCheck": true,
"strict": true,
"noEmit": true
},
"include": ["vite.config.ts"]
}

0 comments on commit f65c6d0

Please sign in to comment.