Files
Bubberstation/tgui/package.json
Jeremiah 3ed7d7c276 you can now write unit tests for tgui interfaces (#94971)
## About The Pull Request
now the trick is wanting to, amirite

... anyway you can write tests with [React Testing
Library](https://testing-library.com/docs/react-testing-library/intro/).
It looks pretty bare bones but I still had to fight this to get it
working ~:^)
## Why It's Good For The Game
Devs can have little a tests, as a treat
## Changelog
nothing *directly* player facing
2026-01-24 17:56:30 -05:00

32 lines
784 B
JSON

{
"name": "tgui-workspace",
"version": "6.0.0",
"devDependencies": {
"@happy-dom/global-registrator": "^20.0.11",
"@rspack/cli": "^1.6.8",
"@rspack/core": "^1.6.8",
"@testing-library/react": "^16.3.2",
"@types/bun": "^1.3.5",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@types/webpack-env": "^1.18.8",
"@types/wicg-file-system-access": "^2023.10.6",
"css-loader": "^7.1.2",
"sass-embedded": "^1.97.1",
"sass-loader": "^16.0.6",
"typescript": "^5.8.3"
},
"packageManager": "bun@1.2.16",
"private": true,
"scripts": {
"tgui:analyze": "rspack --analyze",
"tgui:build": "rspack build",
"tgui:dev": "bun --smol packages/tgui-dev-server/index.ts",
"tgui:test": "bun test",
"tgui:tsc": "tsc"
},
"workspaces": [
"packages/*"
]
}