chore: establish formatting baseline and verification scripts

This commit is contained in:
2026-10-28 12:11:36 +03:30
parent 751af768ce
commit 08b6cd464b
33 changed files with 7264 additions and 5006 deletions
+7 -1
View File
@@ -5,7 +5,12 @@
"scripts": {
"dev": "vite --host 0.0.0.0",
"build": "vite build",
"preview": "vite preview --host 0.0.0.0"
"preview": "vite preview --host 0.0.0.0",
"format": "prettier --write \"src/**/*.{js,jsx,css,md}\" \"tests/**/*.js\" vite.config.js",
"format:check": "prettier --check \"src/**/*.{js,jsx,css,md}\" \"tests/**/*.js\" vite.config.js",
"predev": "npm run format",
"prebuild": "npm run format",
"test": "node --test tests/*.test.js"
},
"keywords": [],
"author": "",
@@ -16,6 +21,7 @@
"three": "^0.180.0"
},
"devDependencies": {
"prettier": "^3.9.10",
"vite": "^6.4.3"
}
}