mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-10 08:55:37 +08:00
daa930bcd8
* Update _groups.json test * check pretty in assets step * fix indentation
87 lines
3.8 KiB
JSON
87 lines
3.8 KiB
JSON
{
|
|
"name": "monkeytype",
|
|
"license": "GPL-3.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"full-check": "turbo lint ts-check build test validate-json",
|
|
"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 --force",
|
|
"dev-be": "turbo run dev --force --filter @monkeytype/backend",
|
|
"dev-fe": "turbo run dev --force --filter @monkeytype/frontend",
|
|
"dev-pkg": "turbo run dev ---force -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": "npm run build-fe && 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-assets-fe": "prettier --check \"./frontend/static/**/*.json\"",
|
|
"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.30.0",
|
|
"packageManager": "npm@10.2.4"
|
|
}
|