mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
Prettier (an auto formatter) is set to only run within the tgui folder currently. This removes that limitation, allowing it to automatically format all supported files in the repo (.js, .html, .yml [etc](https://prettier.io/docs/)) I made a few exceptions for bundled and generated files I'm of the opinion that code should look uniform and am lazy enough to want CTRL-S to format files without having to think beyond that
15 lines
395 B
JSON
15 lines
395 B
JSON
{
|
|
"name": "tgui-setup",
|
|
"version": "0.0.1",
|
|
"description": "Minifies assets to inject into tgui.html",
|
|
"private": true,
|
|
"scripts": {
|
|
"build:helpers": "terser helpers.js -f ascii_only,comments=false -o ../../public/helpers.min.js",
|
|
"build:style": "cleancss -o ../../public/ntos-error.min.css ntos-error.css"
|
|
},
|
|
"dependencies": {
|
|
"clean-css-cli": "^5.6.3",
|
|
"terser": "^5.39.0"
|
|
}
|
|
}
|