Fix devcontainer websocket/port issues, update/add npm scripts

This commit is contained in:
2025-12-03 21:51:21 +00:00
parent 0b88b3d5e5
commit a54c729e46
5 changed files with 123 additions and 4 deletions

View File

@@ -22,11 +22,17 @@
"tailwindcss-animate": "^1.0.7"
},
"scripts": {
"start": "cross-env HOST=0.0.0.0 BROWSER=none CHOKIDAR_USEPOLLING=true FAST_REFRESH=false react-scripts start",
"start": "cross-env BROWSER=none react-scripts start",
"start:wsl2": "cross-env HOST=0.0.0.0 BROWSER=none CHOKIDAR_USEPOLLING=true react-scripts start",
"kill": "lsof -ti:3000 | xargs kill -9 2>/dev/null && echo 'Cleared port 3000' || echo 'Port 3000 was not in use'",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"webhint": "hint"
"check": "tsc --noEmit",
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
"lint:fix": "eslint 'src/**/*.{js,jsx,ts,tsx}' --fix",
"_postbuild": "webhint build/",
"_webhint": "hint"
},
"eslintConfig": {
"extends": [