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-31 04:36:19 +08:00
|
|
|
"preinstall": "npx only-allow pnpm",
|
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-08-09 18:42:02 +08:00
|
|
|
"ts-check": "turbo run ts-check",
|
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",
|
2024-08-28 20:42:52 +08:00
|
|
|
"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",
|
2024-08-08 22:16:01 +08:00
|
|
|
"release": "monkeytype-release",
|
|
|
|
"release-fe": "monkeytype-release --fe",
|
|
|
|
"release-be": "monkeytype-release --be",
|
|
|
|
"release-no-deploy": "monkeytype-release --no-deploy",
|
|
|
|
"release-dry": "monkeytype-release --dry",
|
2024-08-09 00:16:28 +08:00
|
|
|
"hotfix-fe": "npm run build-fe && cd frontend && npm run deploy-live && monkeytype-purge",
|
|
|
|
"hotfix-be": "monkeytype-deploy-be",
|
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-31 00:44:35 +08:00
|
|
|
"node": "20.16.0"
|
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",
|
2024-08-20 22:54:17 +08:00
|
|
|
"@commitlint/config-conventional": "19.2.2",
|
2024-08-13 02:18:22 +08:00
|
|
|
"@vitest/coverage-v8": "2.0.5",
|
2024-08-09 19:19:53 +08:00
|
|
|
"@monkeytype/release": "workspace:*",
|
2024-08-15 16:45:30 +08:00
|
|
|
"conventional-changelog": "6.0.0",
|
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",
|
2024-07-31 04:36:19 +08:00
|
|
|
"only-allow": "1.2.1",
|
2022-02-20 00:44:27 +08:00
|
|
|
"prettier": "2.5.1",
|
2024-08-14 18:22:04 +08:00
|
|
|
"turbo": "2.0.12",
|
2024-08-13 02:18:22 +08:00
|
|
|
"vitest": "2.0.5"
|
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-09-06 18:53:17 +08:00
|
|
|
"version": "24.36.0",
|
2024-07-31 04:36:19 +08:00
|
|
|
"packageManager": "pnpm@9.6.0"
|
2020-10-27 09:54:17 +08:00
|
|
|
}
|