Merge pull request #16524 from overleaf/em-fix-typescript-backend

Fix typescript config in the backend

GitOrigin-RevId: fb292968bc14da6d7c17bee1da00803a74901899
This commit is contained in:
Eric Mc Sween
2024-01-16 14:24:03 -05:00
committed by Copybot
parent c20e1b13c8
commit b92d1a0251
50 changed files with 324 additions and 180 deletions

View File

@@ -3,16 +3,19 @@
"description": "A centralised settings system for Overleaf",
"version": "3.0.0",
"repository": "overleaf/settings-module",
"main": "index.js",
"types": "types/index.d.ts",
"scripts": {
"lint": "eslint --ext .js --ext .cjs --max-warnings 0 --format unix .",
"lint:fix": "eslint --fix --ext .js --ext .cjs .",
"format": "prettier --list-different $PWD/'**/*.{js,cjs}'",
"format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
"test": "npm run lint && npm run format && npm run typecheck && npm run test:unit",
"test": "npm run lint && npm run format && npm run types:check && npm run test:unit",
"test:ci": "npm run test:unit",
"typecheck": "tsc --noEmit",
"test:unit": "mocha --exit test/**/*.{js,cjs}",
"update-types": "rm -rf types && tsc --emitDeclarationOnly"
"types:build": "[ -d types ] || tsc --emitDeclarationOnly",
"types:check": "tsc --noEmit",
"types:rebuild": "rm -rf types && npm run types:build"
},
"devDependencies": {
"mocha": "^10.2.0",