monkeytype/package.json

84 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,
refactor: restructure project to a true monorepo (#5626) * split ts files * packages * nomore workspace? * blah * build, exports * declaration * blargh * turrrrbo * fix fontawesome paths * allow file in eslint, fix ts errors * optimise package, update tsconfig * fix ts * update turbo config * eslint split * fix imports * fix types * lock * add turbo task * script * test task * pretty scripts * update prettier ignore * no cache for tests * lint task * turbo * no out * depend on env * fix mono breaking things * odl * fix version dependency of mongodb-memory-server * Revert "fix version dependency of mongodb-memory-server" This reverts commit 52ffac47b14ba398c0ce018ba963fd06f11b58fb. * update vitest-mongodb * release scripts * update ci * update dev script * ignore issues around firebase config * add check ts tasks * import isaxioserror * shared types package * replace tsnodedev with tsx * fix import * shared types * module * backend imports * declaration * node version * test code * assert json * verbatim * type * lodash * ts ver * fix fix fix? * remove assert * remove module and resolution * cleanup * tsconfig * fix frontend * remove unecessary props * more unused * remove skiplib * declaration map, dev script * remove install scripts * fix regex * move shared types to package * dont include shared types * remove path * update scripts * test code * test code * fix backend types * fully fix backend * fix frontend d.ts * add .js to imports * remove module * revert add .js * update tsconfig * use bundler module resolution * almost all frontend types * mooore * date fns * fix backend docker * fix ape keys * fix type * clean rimraf type * fix shared-types in workspace * fix import resolving * fix docker builds * ignore type problems on slim-select until new version is released * turrrrbo * fix npm ci * fix lint task * expose env variables needed by frontend build * fix dependencies * package-lock * backend watch ts and lint * add fe and be build scripts to root * fix dev not building packages * shared-types missing eslint * move shared types back to dev-deps * add packages to labeler * add packages step to ci * typo * filter update * remove concurrently from root * add scripts * abbreviate * rename * yeet * fixed path * test pkg * consistent ordering * rename * Revert "backend imports" This reverts commit d7151988290a9692ea7b0942feeaaff5d2da8224. * fix missing imports, remove last .js * remove test package --------- Co-authored-by: Christian Fehmer <cfe@sexy-developer.com>
2024-07-22 21:08:11 +08:00
"type": "module",
"scripts": {
"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",
"pre-commit": "lint-staged",
2024-08-09 18:42:02 +08:00
"ts-check": "turbo run ts-check",
refactor: restructure project to a true monorepo (#5626) * split ts files * packages * nomore workspace? * blah * build, exports * declaration * blargh * turrrrbo * fix fontawesome paths * allow file in eslint, fix ts errors * optimise package, update tsconfig * fix ts * update turbo config * eslint split * fix imports * fix types * lock * add turbo task * script * test task * pretty scripts * update prettier ignore * no cache for tests * lint task * turbo * no out * depend on env * fix mono breaking things * odl * fix version dependency of mongodb-memory-server * Revert "fix version dependency of mongodb-memory-server" This reverts commit 52ffac47b14ba398c0ce018ba963fd06f11b58fb. * update vitest-mongodb * release scripts * update ci * update dev script * ignore issues around firebase config * add check ts tasks * import isaxioserror * shared types package * replace tsnodedev with tsx * fix import * shared types * module * backend imports * declaration * node version * test code * assert json * verbatim * type * lodash * ts ver * fix fix fix? * remove assert * remove module and resolution * cleanup * tsconfig * fix frontend * remove unecessary props * more unused * remove skiplib * declaration map, dev script * remove install scripts * fix regex * move shared types to package * dont include shared types * remove path * update scripts * test code * test code * fix backend types * fully fix backend * fix frontend d.ts * add .js to imports * remove module * revert add .js * update tsconfig * use bundler module resolution * almost all frontend types * mooore * date fns * fix backend docker * fix ape keys * fix type * clean rimraf type * fix shared-types in workspace * fix import resolving * fix docker builds * ignore type problems on slim-select until new version is released * turrrrbo * fix npm ci * fix lint task * expose env variables needed by frontend build * fix dependencies * package-lock * backend watch ts and lint * add fe and be build scripts to root * fix dev not building packages * shared-types missing eslint * move shared types back to dev-deps * add packages to labeler * add packages step to ci * typo * filter update * remove concurrently from root * add scripts * abbreviate * rename * yeet * fixed path * test pkg * consistent ordering * rename * Revert "backend imports" This reverts commit d7151988290a9692ea7b0942feeaaff5d2da8224. * fix missing imports, remove last .js * remove test package --------- Co-authored-by: Christian Fehmer <cfe@sexy-developer.com>
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/*\"",
"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/*\"",
"start": "turbo run start",
"start-be": "turbo run start --filter @monkeytype/backend",
"start-fe": "turbo run start --filter @monkeytype/frontend",
refactor: restructure project to a true monorepo (#5626) * split ts files * packages * nomore workspace? * blah * build, exports * declaration * blargh * turrrrbo * fix fontawesome paths * allow file in eslint, fix ts errors * optimise package, update tsconfig * fix ts * update turbo config * eslint split * fix imports * fix types * lock * add turbo task * script * test task * pretty scripts * update prettier ignore * no cache for tests * lint task * turbo * no out * depend on env * fix mono breaking things * odl * fix version dependency of mongodb-memory-server * Revert "fix version dependency of mongodb-memory-server" This reverts commit 52ffac47b14ba398c0ce018ba963fd06f11b58fb. * update vitest-mongodb * release scripts * update ci * update dev script * ignore issues around firebase config * add check ts tasks * import isaxioserror * shared types package * replace tsnodedev with tsx * fix import * shared types * module * backend imports * declaration * node version * test code * assert json * verbatim * type * lodash * ts ver * fix fix fix? * remove assert * remove module and resolution * cleanup * tsconfig * fix frontend * remove unecessary props * more unused * remove skiplib * declaration map, dev script * remove install scripts * fix regex * move shared types to package * dont include shared types * remove path * update scripts * test code * test code * fix backend types * fully fix backend * fix frontend d.ts * add .js to imports * remove module * revert add .js * update tsconfig * use bundler module resolution * almost all frontend types * mooore * date fns * fix backend docker * fix ape keys * fix type * clean rimraf type * fix shared-types in workspace * fix import resolving * fix docker builds * ignore type problems on slim-select until new version is released * turrrrbo * fix npm ci * fix lint task * expose env variables needed by frontend build * fix dependencies * package-lock * backend watch ts and lint * add fe and be build scripts to root * fix dev not building packages * shared-types missing eslint * move shared types back to dev-deps * add packages to labeler * add packages step to ci * typo * filter update * remove concurrently from root * add scripts * abbreviate * rename * yeet * fixed path * test pkg * consistent ordering * rename * Revert "backend imports" This reverts commit d7151988290a9692ea7b0942feeaaff5d2da8224. * fix missing imports, remove last .js * remove test package --------- Co-authored-by: Christian Fehmer <cfe@sexy-developer.com>
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",
"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",
"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",
"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",
refactor: restructure project to a true monorepo (#5626) * split ts files * packages * nomore workspace? * blah * build, exports * declaration * blargh * turrrrbo * fix fontawesome paths * allow file in eslint, fix ts errors * optimise package, update tsconfig * fix ts * update turbo config * eslint split * fix imports * fix types * lock * add turbo task * script * test task * pretty scripts * update prettier ignore * no cache for tests * lint task * turbo * no out * depend on env * fix mono breaking things * odl * fix version dependency of mongodb-memory-server * Revert "fix version dependency of mongodb-memory-server" This reverts commit 52ffac47b14ba398c0ce018ba963fd06f11b58fb. * update vitest-mongodb * release scripts * update ci * update dev script * ignore issues around firebase config * add check ts tasks * import isaxioserror * shared types package * replace tsnodedev with tsx * fix import * shared types * module * backend imports * declaration * node version * test code * assert json * verbatim * type * lodash * ts ver * fix fix fix? * remove assert * remove module and resolution * cleanup * tsconfig * fix frontend * remove unecessary props * more unused * remove skiplib * declaration map, dev script * remove install scripts * fix regex * move shared types to package * dont include shared types * remove path * update scripts * test code * test code * fix backend types * fully fix backend * fix frontend d.ts * add .js to imports * remove module * revert add .js * update tsconfig * use bundler module resolution * almost all frontend types * mooore * date fns * fix backend docker * fix ape keys * fix type * clean rimraf type * fix shared-types in workspace * fix import resolving * fix docker builds * ignore type problems on slim-select until new version is released * turrrrbo * fix npm ci * fix lint task * expose env variables needed by frontend build * fix dependencies * package-lock * backend watch ts and lint * add fe and be build scripts to root * fix dev not building packages * shared-types missing eslint * move shared types back to dev-deps * add packages to labeler * add packages step to ci * typo * filter update * remove concurrently from root * add scripts * abbreviate * rename * yeet * fixed path * test pkg * consistent ordering * rename * Revert "backend imports" This reverts commit d7151988290a9692ea7b0942feeaaff5d2da8224. * fix missing imports, remove last .js * remove test package --------- Co-authored-by: Christian Fehmer <cfe@sexy-developer.com>
2024-07-22 21:08:11 +08:00
"pr-check-other-json": "cd frontend && npx gulp pr-check-other-json"
},
"engines": {
"node": "20.16.0"
},
"devDependencies": {
2023-08-11 04:51:58 +08:00
"@commitlint/cli": "17.7.1",
"@commitlint/config-conventional": "19.2.2",
"@vitest/coverage-v8": "2.0.5",
"@monkeytype/release": "workspace:*",
"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",
"lint-staged": "13.2.3",
"only-allow": "1.2.1",
"prettier": "2.5.1",
"turbo": "2.0.12",
"vitest": "2.0.5"
},
"lint-staged": {
"*.{json,scss,css,html}": [
"prettier --write"
],
"*.{ts,js}": [
"prettier --write",
"eslint"
]
2023-09-25 21:15:45 +08:00
},
2024-08-06 00:05:23 +08:00
"version": "24.32.0",
"packageManager": "pnpm@9.6.0"
}