mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-28 19:08:32 +08:00
rework `onChild` to behave mostly like jQuery `.on` with selector. - we remove `currentTarget` from the `onChild` event handler because native events and jQuery events have different values for it - the jQuery `currentTarget` is available with `childTarget` in our events --------- Co-authored-by: Miodec <jack@monkeytype.com>
119 lines
3.6 KiB
JSON
119 lines
3.6 KiB
JSON
{
|
|
"name": "@monkeytype/frontend",
|
|
"private": true,
|
|
"license": "GPL-3.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"lint": "oxlint . --type-aware --type-check && oxlint . -c .oxlintrc-plugin.json",
|
|
"lint-fast": "oxlint .",
|
|
"lint-json": "eslint static/**/*.json",
|
|
"check-assets": "tsx ./scripts/check-assets.ts",
|
|
"audit": "vite-bundle-visualizer",
|
|
"dep-graph": "madge -c -i \"dep-graph.png\" ./src/ts",
|
|
"ts-check": "tsc --noEmit",
|
|
"build": "npm run madge && vite build",
|
|
"madge": " madge --circular --extensions ts ./src",
|
|
"start": "vite preview --port 3000",
|
|
"dev": "vite dev",
|
|
"test": "vitest run",
|
|
"test-coverage": "vitest run --coverage",
|
|
"dev-test": "concurrently --kill-others \"vite dev\" \"vitest\"",
|
|
"tsc": "tsc",
|
|
"docker": "docker compose -f docker/compose.dev.yml up"
|
|
},
|
|
"dependencies": {
|
|
"@date-fns/utc": "1.2.0",
|
|
"@monkeytype/contracts": "workspace:*",
|
|
"@monkeytype/funbox": "workspace:*",
|
|
"@monkeytype/schemas": "workspace:*",
|
|
"@monkeytype/util": "workspace:*",
|
|
"@sentry/browser": "9.14.0",
|
|
"@sentry/vite-plugin": "3.3.1",
|
|
"@ts-rest/core": "3.52.1",
|
|
"animejs": "4.2.2",
|
|
"balloon-css": "1.2.0",
|
|
"canvas-confetti": "1.5.1",
|
|
"chart.js": "3.7.1",
|
|
"chartjs-adapter-date-fns": "3.0.0",
|
|
"chartjs-plugin-annotation": "2.2.1",
|
|
"chartjs-plugin-trendline": "1.0.2",
|
|
"color-blend": "4.0.0",
|
|
"damerau-levenshtein": "1.0.8",
|
|
"date-fns": "3.6.0",
|
|
"disposable-email-domains-js": "^1.0.35",
|
|
"firebase": "12.0.0",
|
|
"hangul-js": "0.2.6",
|
|
"howler": "2.2.3",
|
|
"idb": "8.0.3",
|
|
"jquery": "3.7.1",
|
|
"konami": "1.7.0",
|
|
"lz-ts": "1.1.2",
|
|
"modern-screenshot": "4.6.5",
|
|
"object-hash": "3.0.0",
|
|
"slim-select": "2.9.2",
|
|
"stemmer": "2.0.1",
|
|
"throttle-debounce": "5.0.2",
|
|
"zod": "3.23.8",
|
|
"zod-urlsearchparams": "0.0.16"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/json": "0.14.0",
|
|
"@fortawesome/fontawesome-free": "5.15.4",
|
|
"@monkeytype/oxlint-config": "workspace:*",
|
|
"@monkeytype/typescript-config": "workspace:*",
|
|
"@testing-library/dom": "10.4.1",
|
|
"@testing-library/user-event": "14.6.1",
|
|
"@types/canvas-confetti": "1.4.3",
|
|
"@types/chartjs-plugin-trendline": "1.0.1",
|
|
"@types/damerau-levenshtein": "1.0.0",
|
|
"@types/howler": "2.2.7",
|
|
"@types/jquery": "3.5.14",
|
|
"@types/node": "24.9.1",
|
|
"@types/object-hash": "3.0.6",
|
|
"@types/subset-font": "1.4.3",
|
|
"@types/throttle-debounce": "5.0.2",
|
|
"@vitest/coverage-v8": "4.0.15",
|
|
"autoprefixer": "10.4.20",
|
|
"concurrently": "8.2.2",
|
|
"eslint": "9.39.1",
|
|
"eslint-plugin-compat": "6.0.2",
|
|
"firebase-tools": "13.15.1",
|
|
"fontawesome-subset": "4.4.0",
|
|
"happy-dom": "20.0.10",
|
|
"madge": "8.0.0",
|
|
"magic-string": "0.30.17",
|
|
"normalize.css": "8.0.1",
|
|
"oxlint": "1.34.0",
|
|
"oxlint-tsgolint": "0.9.2",
|
|
"postcss": "8.4.31",
|
|
"sass": "1.70.0",
|
|
"subset-font": "2.3.0",
|
|
"tsx": "4.16.2",
|
|
"typescript": "5.9.3",
|
|
"unplugin-inject-preload": "3.0.0",
|
|
"vite": "7.1.12",
|
|
"vite-bundle-visualizer": "1.2.1",
|
|
"vite-plugin-filter-replace": "0.1.14",
|
|
"vite-plugin-html-inject": "1.1.2",
|
|
"vite-plugin-inspect": "11.3.3",
|
|
"vite-plugin-minify": "2.1.0",
|
|
"vite-plugin-pwa": "1.1.0",
|
|
"vitest": "4.0.15"
|
|
},
|
|
"lint-staged": {
|
|
"*": [
|
|
"oxfmt --no-error-on-unmatched-pattern"
|
|
],
|
|
"*.{ts,js}": [
|
|
"oxlint --type-aware --type-check"
|
|
]
|
|
},
|
|
"browserslist": [
|
|
"defaults",
|
|
"not op_mini all",
|
|
"not dead"
|
|
],
|
|
"engines": {
|
|
"node": "24.11.0 || 22.21.0"
|
|
}
|
|
}
|