mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 01:15:25 -05:00
d227dfba0c
Add type checking to libraries GitOrigin-RevId: bed79f5123081773d6ac6e27698246726184c5e6
42 lines
1.3 KiB
JSON
42 lines
1.3 KiB
JSON
{
|
|
"name": "@overleaf/logger",
|
|
"homepage": "www.overleaf.com",
|
|
"description": "A centralised logging system for Overleaf",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/overleaf/overleaf"
|
|
},
|
|
"main": "index.js",
|
|
"types": "types/index.js",
|
|
"license": "AGPL-3.0-only",
|
|
"version": "3.1.1",
|
|
"scripts": {
|
|
"test": "npm run lint && npm run format && npm run typecheck && 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"
|
|
},
|
|
"dependencies": {
|
|
"@google-cloud/logging-bunyan": "^5.0.0",
|
|
"@overleaf/fetch-utils": "*",
|
|
"@overleaf/o-error": "*",
|
|
"@sentry/node": "^6.13.2",
|
|
"bunyan": "^1.8.14"
|
|
},
|
|
"devDependencies": {
|
|
"chai": "^4.3.6",
|
|
"mocha": "^10.2.0",
|
|
"sandboxed-module": "^2.0.4",
|
|
"sinon": "^9.2.4",
|
|
"sinon-chai": "^3.7.0",
|
|
"typescript": "^5.0.4"
|
|
},
|
|
"peerDependencies": {
|
|
"@overleaf/metrics": "*"
|
|
}
|
|
}
|