mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01: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,7 +7,7 @@
|
||||
"url": "https://github.com/overleaf/metrics-module.git"
|
||||
},
|
||||
"main": "index.js",
|
||||
"types": "types/index.js",
|
||||
"types": "types/index.d.ts",
|
||||
"dependencies": {
|
||||
"@google-cloud/opentelemetry-cloud-trace-exporter": "^2.1.0",
|
||||
"@google-cloud/profiler": "^6.0.0",
|
||||
@@ -34,12 +34,13 @@
|
||||
"lint:fix": "eslint --fix --ext .js --ext .cjs .",
|
||||
"test:unit": "mocha --exit test/**/*.{js,cjs}",
|
||||
"test:acceptance": "mocha --reporter spec --recursive --exit --grep=$MOCHA_GREP test/acceptance",
|
||||
"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}'",
|
||||
"test:ci": "npm run test:unit",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"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"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@overleaf/logger": "*"
|
||||
|
||||
Reference in New Issue
Block a user