fix: make template build, lint and test cleanly out of the box

This commit is contained in:
2026-09-25 09:05:40 +03:00
parent f3452876da
commit f0e09ef8c9
24 changed files with 128 additions and 244 deletions
+8 -4
View File
@@ -6,10 +6,14 @@
},
"scripts": {
"build": "vite build",
"build:watch": "vite build --watch",
"debug": "vite build --minify false --sourcemap inline",
"debug:watch": "vite build --minify false --sourcemap inline --watch",
"dev": "vite",
"lint": "eslint --ignore-pattern node_modules --ignore-pattern dist --ext .js --ext .jsx --ext tsx --ext ts . --quiet --cache",
"fix": "eslint --ignore-pattern node_modules --ignore-pattern dist --ext .js --ext .jsx --ext tsx --ext ts . --quiet --fix --cache",
"check-types": "tsc"
"lint": "eslint . --quiet --cache",
"fix": "eslint . --quiet --fix --cache",
"check-types": "tsc",
"test": "echo \"no webapp tests\""
},
"devDependencies": {
"@babel/plugin-transform-modules-umd": "^7.27.1",
@@ -33,7 +37,7 @@
"eslint": "^9.26.0",
"eslint-plugin-import": "2.22.0",
"eslint-plugin-react": "7.20.3",
"eslint-plugin-react-hooks": "4.0.6",
"eslint-plugin-react-hooks": "5.2.0",
"eslint-plugin-unused-imports": "^4.1.4",
"file-loader": "6.0.0",
"identity-obj-proxy": "3.0.0",