mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-28 02:48:43 +08:00
### Description 1. fix openapi specification path so that /docs endpoint would work on dev. > Error: ENOENT: no such file or directory, stat 'backend/src/static/api/public.html' Stack: Error: ENOENT: no such file or directory 2. fix openapi specification path so that API Operation would work on /stats endpoint on dev. > Cannot read openApi specification from backend/src/api/routes/../../static/api/openapi.json. Swagger stats will not fully work.  3. remove unneeded `files` & `ts-node` options from `tsconfig.json` in various places. > File 'backend/src/types/types.d.ts' not found. The file is in the program because: Part of 'files' list in tsconfig.json 4. add the missing `pnpm test` script to the funbox package.
33 lines
817 B
JSON
33 lines
817 B
JSON
{
|
|
"name": "@monkeytype/funbox",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "tsup-node --watch",
|
|
"build": "npm run madge && tsup-node",
|
|
"test": "vitest run",
|
|
"madge": " madge --circular --extensions ts ./src",
|
|
"ts-check": "tsc --noEmit",
|
|
"lint": "eslint \"./**/*.ts\""
|
|
},
|
|
"devDependencies": {
|
|
"@monkeytype/eslint-config": "workspace:*",
|
|
"@monkeytype/tsup-config": "workspace:*",
|
|
"@monkeytype/typescript-config": "workspace:*",
|
|
"chokidar": "3.6.0",
|
|
"eslint": "8.57.1",
|
|
"madge": "8.0.0",
|
|
"tsup": "8.4.0",
|
|
"typescript": "5.5.4",
|
|
"vitest": "2.1.9"
|
|
},
|
|
"dependencies": {
|
|
"@monkeytype/util": "workspace:*"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./src/index.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js"
|
|
}
|
|
}
|
|
}
|