2020-10-27 09:54:17 +08:00
|
|
|
{
|
|
|
|
"name": "monkeytype",
|
2020-10-27 11:08:16 +08:00
|
|
|
"license": "GPL-3.0",
|
2020-11-02 19:35:22 +08:00
|
|
|
"private": true,
|
2024-07-22 21:08:11 +08:00
|
|
|
"type": "module",
|
2020-10-27 09:54:17 +08:00
|
|
|
"scripts": {
|
2024-07-22 22:56:26 +08:00
|
|
|
"full-check": "turbo lint ts-check build test validate-json",
|
2022-10-21 20:49:14 +08:00
|
|
|
"prepare": "husky install",
|
2023-08-11 22:50:56 +08:00
|
|
|
"pre-commit": "lint-staged",
|
2024-07-22 21:08:11 +08:00
|
|
|
"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/*\"",
|
2024-07-24 17:39:00 +08:00
|
|
|
"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/*\"",
|
2024-07-29 17:31:14 +08:00
|
|
|
"start": "turbo run start",
|
|
|
|
"start-be": "turbo run start --filter @monkeytype/backend",
|
|
|
|
"start-fe": "turbo run start --filter @monkeytype/frontend",
|
2024-07-22 21:08:11 +08:00
|
|
|
"docker": "cd backend && docker compose up",
|
2022-05-06 05:11:09 +08:00
|
|
|
"audit-fe": "cd frontend && npm run audit",
|
2023-09-14 00:29:23 +08:00
|
|
|
"release": "release-it -c .release-it.json",
|
|
|
|
"release-fe": "release-it -c .release-it-fe.json",
|
2024-07-27 00:38:42 +08:00
|
|
|
"hotfix": "npm run build-fe && cd frontend && npm run deploy-live && cd .. && sh ./bin/purgeCfCache.sh",
|
2024-07-28 20:15:11 +08:00
|
|
|
"pretty-check": "prettier --check .",
|
|
|
|
"pretty-check-be": "prettier --check ./backend",
|
|
|
|
"pretty-check-fe": "prettier --check ./frontend/src",
|
|
|
|
"pretty-check-assets": "prettier --check ./frontend/static",
|
|
|
|
"pretty-check-pkg": "prettier --check ./packages",
|
|
|
|
"pretty-fix": "prettier --write .",
|
|
|
|
"pretty-fix-be": "prettier --write ./backend",
|
|
|
|
"pretty-fix-fe": "prettier --write ./frontend/src",
|
|
|
|
"pretty-fix-assets": "prettier --write ./frontend/static",
|
|
|
|
"pretty-fix-pkg": "prettier --write ./packages",
|
2024-02-22 09:24:20 +08:00
|
|
|
"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",
|
2024-07-22 21:08:11 +08:00
|
|
|
"pr-check-other-json": "cd frontend && npx gulp pr-check-other-json"
|
2020-10-27 09:54:17 +08:00
|
|
|
},
|
2020-12-05 22:50:33 +08:00
|
|
|
"engines": {
|
2024-07-29 17:49:28 +08:00
|
|
|
"node": "18.20.4"
|
2020-12-05 22:50:33 +08:00
|
|
|
},
|
2020-10-27 09:59:02 +08:00
|
|
|
"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",
|
2023-08-11 20:47:21 +08:00
|
|
|
"@release-it/conventional-changelog": "7.0.0",
|
2024-03-01 05:44:33 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "7.1.0",
|
|
|
|
"@typescript-eslint/parser": "7.1.0",
|
2023-08-17 22:42:50 +08:00
|
|
|
"conventional-changelog": "4.0.0",
|
2024-03-01 05:44:33 +08:00
|
|
|
"eslint": "8.57.0",
|
2023-11-17 22:44:01 +08:00
|
|
|
"eslint-config-prettier": "9.0.0",
|
2023-11-09 22:03:56 +08:00
|
|
|
"eslint-import-resolver-typescript": "3.6.1",
|
|
|
|
"eslint-plugin-import": "2.29.0",
|
2022-02-09 03:33:41 +08:00
|
|
|
"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",
|
2023-08-11 22:50:56 +08:00
|
|
|
"lint-staged": "13.2.3",
|
2022-02-20 00:44:27 +08:00
|
|
|
"prettier": "2.5.1",
|
2023-08-11 17:19:31 +08:00
|
|
|
"release-it": "16.1.4",
|
2024-07-22 21:08:11 +08:00
|
|
|
"turbo": "2.0.9",
|
2024-02-26 20:48:05 +08:00
|
|
|
"typescript": "5.3.3",
|
2024-05-20 21:48:42 +08:00
|
|
|
"wait-for-localhost-cli": "3.2.0"
|
2023-08-11 22:50:56 +08:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
2023-08-17 17:13:56 +08:00
|
|
|
"*.{json,scss,css,html}": [
|
|
|
|
"prettier --write"
|
|
|
|
],
|
|
|
|
"*.{ts,js}": [
|
2023-08-11 22:50:56 +08:00
|
|
|
"prettier --write",
|
|
|
|
"eslint"
|
|
|
|
]
|
2023-09-25 21:15:45 +08:00
|
|
|
},
|
2024-07-22 21:08:11 +08:00
|
|
|
"workspaces": [
|
|
|
|
"frontend",
|
|
|
|
"backend",
|
|
|
|
"packages/*"
|
|
|
|
],
|
2024-07-29 17:37:47 +08:00
|
|
|
"version": "24.31.0",
|
2024-07-22 21:08:11 +08:00
|
|
|
"packageManager": "npm@10.2.4"
|
2020-10-27 09:54:17 +08:00
|
|
|
}
|