mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-10 08:55:37 +08:00
50 lines
2.3 KiB
JSON
50 lines
2.3 KiB
JSON
{
|
|
"name": "monkeytype",
|
|
"version": "1.14.3",
|
|
"license": "GPL-3.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"prepare": "husky install",
|
|
"pre-commit": "pretty-quick --staged",
|
|
"lint": "npm run lint-be && npm run lint-fe",
|
|
"lint-be": "eslint \"./backend/**/*.ts\"",
|
|
"lint-fe": "eslint \"./frontend/**/*.ts\"",
|
|
"install-all": "sh ./bin/install.sh",
|
|
"install-windows": ".\\bin\\install.cmd",
|
|
"docker": "cd backend && docker-compose up",
|
|
"test-be": "cd backend && npm run test",
|
|
"dev": "concurrently --kill-others \"npm run dev-fe\" \"npm run dev-be\"",
|
|
"dev-be": "cd backend && npm run dev",
|
|
"dev-fe": "cd frontend && npm run dev",
|
|
"live": "concurrently --kill-others \"cd frontend && npm run live\" \"cd backend && npm run start\"",
|
|
"audit-fe": "cd frontend && npm run audit",
|
|
"deploy-live": "cd frontend && npm run deploy-live",
|
|
"build-fe": "cd ./frontend && npm run build-live",
|
|
"pretty": "prettier --check \"./backend/**/*.{ts,json,js,css,html}\" \"./frontend/**/*.{ts,js,scss}\" \"./frontend/static/**/*.{json,html,css}\"",
|
|
"pretty-code": "prettier --check \"./backend/**/*.{ts,js,json,css,html}\" \"./frontend/**/*.{ts,js}\" \"./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-fix": "prettier --write \"./backend/**/*.{ts,json,js,css,html}\" \"./frontend/**/*.{ts,js,scss}\" \"./frontend/static/**/*.{json,html,css}\"",
|
|
"pr-check-lint-json": "cd frontend && npx gulp pr-check-lint-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",
|
|
"pr-check-ts": "cd frontend && npx gulp pr-check-ts",
|
|
"pr-check-build-be": "cd backend && npm run build"
|
|
},
|
|
"engines": {
|
|
"npm": "8.1.2"
|
|
},
|
|
"devDependencies": {
|
|
"@typescript-eslint/eslint-plugin": "5.59.11",
|
|
"@typescript-eslint/parser": "5.59.11",
|
|
"concurrently": "7.2.1",
|
|
"eslint": "8.42.0",
|
|
"eslint-plugin-json": "2.1.2",
|
|
"eslint-plugin-require-path-exists": "1.1.9",
|
|
"husky": "8.0.1",
|
|
"prettier": "2.5.1",
|
|
"pretty-quick": "3.1.0",
|
|
"typescript": "4.5.5"
|
|
}
|
|
}
|