mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-01 03:19:20 +08:00
3e88ac2f12
* split ts files * packages * nomore workspace? * blah * build, exports * declaration * blargh * turrrrbo * fix fontawesome paths * allow file in eslint, fix ts errors * optimise package, update tsconfig * fix ts * update turbo config * eslint split * fix imports * fix types * lock * add turbo task * script * test task * pretty scripts * update prettier ignore * no cache for tests * lint task * turbo * no out * depend on env * fix mono breaking things * odl * fix version dependency of mongodb-memory-server * Revert "fix version dependency of mongodb-memory-server" This reverts commit52ffac47b1
. * update vitest-mongodb * release scripts * update ci * update dev script * ignore issues around firebase config * add check ts tasks * import isaxioserror * shared types package * replace tsnodedev with tsx * fix import * shared types * module * backend imports * declaration * node version * test code * assert json * verbatim * type * lodash * ts ver * fix fix fix? * remove assert * remove module and resolution * cleanup * tsconfig * fix frontend * remove unecessary props * more unused * remove skiplib * declaration map, dev script * remove install scripts * fix regex * move shared types to package * dont include shared types * remove path * update scripts * test code * test code * fix backend types * fully fix backend * fix frontend d.ts * add .js to imports * remove module * revert add .js * update tsconfig * use bundler module resolution * almost all frontend types * mooore * date fns * fix backend docker * fix ape keys * fix type * clean rimraf type * fix shared-types in workspace * fix import resolving * fix docker builds * ignore type problems on slim-select until new version is released * turrrrbo * fix npm ci * fix lint task * expose env variables needed by frontend build * fix dependencies * package-lock * backend watch ts and lint * add fe and be build scripts to root * fix dev not building packages * shared-types missing eslint * move shared types back to dev-deps * add packages to labeler * add packages step to ci * typo * filter update * remove concurrently from root * add scripts * abbreviate * rename * yeet * fixed path * test pkg * consistent ordering * rename * Revert "backend imports" This reverts commitd715198829
. * fix missing imports, remove last .js * remove test package --------- Co-authored-by: Christian Fehmer <cfe@sexy-developer.com>
85 lines
3.6 KiB
JSON
85 lines
3.6 KiB
JSON
{
|
|
"name": "monkeytype",
|
|
"license": "GPL-3.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"prepare": "husky install",
|
|
"pre-commit": "lint-staged",
|
|
"lint": "turbo run lint",
|
|
"lint-be": "turbo run lint --filter @monkeytype/backend",
|
|
"lint-fe": "turbo run lint --filter @monkeytype/frontend",
|
|
"lint-pkg": "turbo run lint --filter=\"./packages/*\"",
|
|
"build": "turbo run build",
|
|
"build-be": "turbo run build --filter @monkeytype/backend",
|
|
"build-fe": "turbo run build --filter @monkeytype/frontend",
|
|
"build-pkg": "turbo run build --filter=\"./packages/*\"",
|
|
"test": "turbo run test",
|
|
"test-be": "turbo run test --filter @monkeytype/backend",
|
|
"test-fe": "turbo run test --filter @monkeytype/frontend",
|
|
"test-pkg": "turbo run test --filter=\"./packages/*\"",
|
|
"dev": "turbo run dev",
|
|
"dev-be": "turbo run dev --filter @monkeytype/backend",
|
|
"dev-fe": "turbo run dev --filter @monkeytype/frontend",
|
|
"dev-pkg": "turbo run dev --filter=\"./packages/*\"",
|
|
"live": "concurrently --kill-others \"cd frontend && npm run live\" \"cd backend && npm run start\"",
|
|
"docker": "cd backend && docker compose up",
|
|
"audit-fe": "cd frontend && npm run audit",
|
|
"release": "release-it -c .release-it.json",
|
|
"release-fe": "release-it -c .release-it-fe.json",
|
|
"hotfix": "cd frontend && npm run deploy-live && cd .. && sh ./bin/purgeCfCache.sh",
|
|
"pretty": "prettier --check \"./backend/**/*.{ts,json,js,css,html}\" \"./frontend/**/*.{ts,js,scss}\" \"./packages/**/*.{ts,js,json}\" \"./frontend/static/**/*.{json,html,css}\"",
|
|
"pretty-code": "prettier --check \"./backend/**/*.{ts,js,json,css,html}\" \"./frontend/**/*.{ts,js}\" \"./packages/**/*.{ts,js,json}\" \"./frontend/src/**/*.scss\" ",
|
|
"pretty-code-be": "prettier --check \"./backend/**/*.{ts,js,json,css,html}\"",
|
|
"pretty-code-fe": "prettier --check \"./frontend/**/*.{ts,js}\" \"./frontend/src/**/*.scss\"",
|
|
"pretty-code-pkg": "prettier --check \"./packages/**/*.{ts,js}\"",
|
|
"pretty-fix": "prettier --write \"./backend/**/*.{ts,json,js,css,html}\" \"./frontend/**/*.{ts,js,scss}\" \"./packages/**/*.{ts,js,json}\" \"./frontend/static/**/*.{json,html,css}\"",
|
|
"pr-check-lint-json": "cd frontend && eslint './static/**/*.json'",
|
|
"pr-check-quote-json": "cd frontend && npx gulp pr-check-quote-json",
|
|
"pr-check-language-json": "cd frontend && npx gulp pr-check-language-json",
|
|
"pr-check-other-json": "cd frontend && npx gulp pr-check-other-json"
|
|
},
|
|
"engines": {
|
|
"node": "18.20.4",
|
|
"npm": "10.7.0"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "17.7.1",
|
|
"@commitlint/config-conventional": "17.7.0",
|
|
"@csmith/release-it-calver-plugin": "2023.9.0",
|
|
"@release-it/conventional-changelog": "7.0.0",
|
|
"@typescript-eslint/eslint-plugin": "7.1.0",
|
|
"@typescript-eslint/parser": "7.1.0",
|
|
"conventional-changelog": "4.0.0",
|
|
"eslint": "8.57.0",
|
|
"eslint-config-prettier": "9.0.0",
|
|
"eslint-import-resolver-typescript": "3.6.1",
|
|
"eslint-plugin-import": "2.29.0",
|
|
"eslint-plugin-json": "2.1.2",
|
|
"eslint-plugin-require-path-exists": "1.1.9",
|
|
"husky": "8.0.1",
|
|
"knip": "2.19.2",
|
|
"lint-staged": "13.2.3",
|
|
"prettier": "2.5.1",
|
|
"release-it": "16.1.4",
|
|
"turbo": "2.0.9",
|
|
"typescript": "5.3.3",
|
|
"wait-for-localhost-cli": "3.2.0"
|
|
},
|
|
"lint-staged": {
|
|
"*.{json,scss,css,html}": [
|
|
"prettier --write"
|
|
],
|
|
"*.{ts,js}": [
|
|
"prettier --write",
|
|
"eslint"
|
|
]
|
|
},
|
|
"workspaces": [
|
|
"frontend",
|
|
"backend",
|
|
"packages/*"
|
|
],
|
|
"version": "24.29.0",
|
|
"packageManager": "npm@10.2.4"
|
|
}
|