mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #16524 from overleaf/em-fix-typescript-backend
Fix typescript config in the backend GitOrigin-RevId: fb292968bc14da6d7c17bee1da00803a74901899
This commit is contained in:
@@ -7,19 +7,20 @@
|
||||
"url": "https://github.com/overleaf/overleaf"
|
||||
},
|
||||
"main": "index.js",
|
||||
"types": "types/index.js",
|
||||
"types": "types/index.d.ts",
|
||||
"license": "AGPL-3.0-only",
|
||||
"version": "3.1.1",
|
||||
"scripts": {
|
||||
"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",
|
||||
"format": "prettier --list-different $PWD/'**/*.{js,cjs}'",
|
||||
"format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
|
||||
"lint": "eslint --ext .js --ext .cjs --max-warnings 0 --format unix .",
|
||||
"lint:fix": "eslint --fix --ext .js --ext .cjs .",
|
||||
"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"
|
||||
},
|
||||
"dependencies": {
|
||||
"@google-cloud/logging-bunyan": "^5.0.0",
|
||||
|
||||
Reference in New Issue
Block a user