monkeytype/package.json

76 lines
3.2 KiB
JSON
Raw Normal View History

{
"name": "monkeytype",
2020-10-27 11:08:16 +08:00
"license": "GPL-3.0",
2020-11-02 19:35:22 +08:00
"private": true,
"scripts": {
2022-10-21 20:49:14 +08:00
"prepare": "husky install",
"pre-commit": "lint-staged",
"lint": "npm run lint-be && npm run lint-fe",
"lint-be": "eslint \"./backend/**/*.ts\"",
"lint-fe": "eslint \"./frontend/**/*.ts\"",
2022-05-06 05:11:09 +08:00
"install-all": "sh ./bin/install.sh",
"install-windows": ".\\bin\\install.cmd",
"docker": "cd backend && docker compose up",
2024-02-08 20:51:02 +08:00
"test": "npm run test-be && npm run test-fe",
"test-be": "cd backend && npm run test",
"test-fe": "cd frontend && npm run test",
"dev": "concurrently --kill-others \"wait-for-localhost 5005 --status-codes 200,503 && npm run dev-fe\" \"npm run dev-be\"",
2022-05-06 05:11:09 +08:00
"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",
"release": "release-it -c .release-it.json",
"release-fe": "release-it -c .release-it-fe.json",
2023-08-21 18:11:15 +08:00
"hotfix": "cd frontend && npm run deploy-live && cd .. && sh ./bin/purgeCfCache.sh",
"build-fe": "cd ./frontend && npm run build",
"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 && eslint './static/**/*.json'",
2022-02-19 02:25:33 +08:00
"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-build-fe": "cd frontend && npm run build",
2022-05-06 05:11:09 +08:00
"pr-check-build-be": "cd backend && npm run build"
},
"engines": {
"node": "18.19.1",
"npm": "10.2.4"
},
"devDependencies": {
2023-08-11 04:51:58 +08:00
"@commitlint/cli": "17.7.1",
"@commitlint/config-conventional": "17.7.0",
2023-09-25 21:15:45 +08:00
"@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",
2022-06-05 20:41:46 +08:00
"concurrently": "7.2.1",
"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",
2022-10-21 20:49:14 +08:00
"husky": "8.0.1",
2023-08-11 00:32:33 +08:00
"knip": "2.19.2",
"lint-staged": "13.2.3",
"prettier": "2.5.1",
2023-08-11 17:19:31 +08:00
"release-it": "16.1.4",
"typescript": "5.3.3",
"wait-for-localhost-cli": "3.2.0"
},
"lint-staged": {
"*.{json,scss,css,html}": [
"prettier --write"
],
"*.{ts,js}": [
"prettier --write",
"eslint"
]
2023-09-25 21:15:45 +08:00
},
2024-07-16 19:45:04 +08:00
"version": "24.29.0"
}