mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-10 17:04:49 +08:00
90 lines
2.7 KiB
JSON
90 lines
2.7 KiB
JSON
{
|
|
"name": "monkeytype-frontend",
|
|
"license": "GPL-3.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"lint": "eslint \"./**/*.ts\"",
|
|
"validate-json": "npx gulp validate-json-schema",
|
|
"audit": "vite-bundle-visualizer",
|
|
"dep-graph": "madge -c -i \"dep-graph.png\" ./src/ts",
|
|
"build": "npm run madge && vite build",
|
|
"madge": " madge --circular --extensions ts ./",
|
|
"live": "npm run build && vite preview --port 3000",
|
|
"dev": "vite dev",
|
|
"deploy-live": "npm run validate-json && npm run build && firebase deploy -P live --only hosting",
|
|
"deploy-preview": "npm run validate-json && npm run build && firebase hosting:channel:deploy preview -P live --expires 2h",
|
|
"test": "vitest run",
|
|
"test-coverage": "vitest run --coverage",
|
|
"dev-test": "concurrently --kill-others \"vite dev\" \"vitest\"",
|
|
"tsc": "tsc",
|
|
"knip": "knip",
|
|
"docker": "docker compose -f docker/compose.dev.yml up"
|
|
},
|
|
"engines": {
|
|
"node": "18.19.1",
|
|
"npm": "10.2.4"
|
|
},
|
|
"browserslist": [
|
|
"defaults"
|
|
],
|
|
"devDependencies": {
|
|
"@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": "18.19.1",
|
|
"@types/object-hash": "2.2.1",
|
|
"@types/throttle-debounce": "2.1.0",
|
|
"@vitest/coverage-istanbul": "1.5.0",
|
|
"ajv": "8.12.0",
|
|
"autoprefixer": "10.4.14",
|
|
"dotenv": "16.4.5",
|
|
"gulp": "4.0.2",
|
|
"gulp-eslint-new": "1.9.1",
|
|
"happy-dom": "13.4.1",
|
|
"madge": "6.1.0",
|
|
"normalize.css": "8.0.1",
|
|
"postcss": "8.4.27",
|
|
"sass": "1.70.0",
|
|
"typescript": "5.3.3",
|
|
"vite": "5.1.2",
|
|
"vite-bundle-visualizer": "1.0.1",
|
|
"vite-plugin-checker": "0.6.4",
|
|
"vite-plugin-filter-replace": "0.1.13",
|
|
"vite-plugin-html-inject": "1.1.2",
|
|
"vite-plugin-inspect": "0.8.3",
|
|
"vite-plugin-pwa": "0.19.0",
|
|
"vitest": "1.5.0"
|
|
},
|
|
"dependencies": {
|
|
"axios": "1.6.4",
|
|
"canvas-confetti": "1.5.1",
|
|
"chart.js": "3.7.1",
|
|
"chartjs-adapter-date-fns": "2.0.0",
|
|
"chartjs-plugin-annotation": "1.4.0",
|
|
"chartjs-plugin-trendline": "1.0.2",
|
|
"color-blend": "4.0.0",
|
|
"damerau-levenshtein": "1.0.8",
|
|
"date-fns": "2.28.0",
|
|
"firebase": "10.8.0",
|
|
"hangul-js": "0.2.6",
|
|
"howler": "2.2.3",
|
|
"html2canvas": "1.4.1",
|
|
"jquery": "3.7.1",
|
|
"jquery-color": "2.2.0",
|
|
"jquery.easing": "1.4.1",
|
|
"konami": "1.6.3",
|
|
"lz-ts": "1.1.2",
|
|
"object-hash": "3.0.0",
|
|
"slim-select": "2.8.1",
|
|
"stemmer": "2.0.0",
|
|
"throttle-debounce": "3.0.1"
|
|
},
|
|
"overrides": {
|
|
"madge": {
|
|
"@typescript-eslint/typescript-estree": "7.1.0"
|
|
}
|
|
}
|
|
}
|