mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
b92d1a0251
Fix typescript config in the backend GitOrigin-RevId: fb292968bc14da6d7c17bee1da00803a74901899
45 lines
1.5 KiB
JSON
45 lines
1.5 KiB
JSON
{
|
|
"name": "@overleaf/o-error",
|
|
"version": "3.4.0",
|
|
"description": "Light-weight helpers for handling JavaScript Errors in node.js and the browser. Helps with long stack traces, Error subclasses, wrapping internal errors (causes), and attaching extra data to errors for logging.",
|
|
"keywords": [
|
|
"browser",
|
|
"node",
|
|
"error",
|
|
"long stack trace",
|
|
"stack trace",
|
|
"stack",
|
|
"cause",
|
|
"verror"
|
|
],
|
|
"main": "index.cjs",
|
|
"types": "types/index.d.cts",
|
|
"files": [
|
|
"index.cjs",
|
|
"index.d.ts"
|
|
],
|
|
"scripts": {
|
|
"build": "npm run --silent test && npm run --silent update-readme",
|
|
"lint": "eslint --ext .js --ext .cjs --max-warnings 0 --format unix .",
|
|
"lint:fix": "eslint --fix --ext .js --ext .cjs .",
|
|
"test": "npm run lint && npm run format && npm run types:check && npm run test:unit",
|
|
"update-readme": "doc/update-readme.js",
|
|
"format": "prettier --list-different $PWD/'**/*.{js,cjs}'",
|
|
"format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
|
|
"test:ci": "npm run test:unit",
|
|
"test:unit": "mocha --exit test/**/*.{js,cjs}",
|
|
"types:build": "[ -d types ] || tsc --emitDeclarationOnly",
|
|
"types:check": "tsc --noEmit",
|
|
"types:rebuild": "rm -rf types && npm run types:build"
|
|
},
|
|
"author": "Overleaf (https://www.overleaf.com)",
|
|
"license": "MIT",
|
|
"repository": "github:overleaf/o-error",
|
|
"devDependencies": {
|
|
"@types/chai": "^4.3.0",
|
|
"@types/node": "^18.17.4",
|
|
"chai": "^4.3.6",
|
|
"mocha": "^10.2.0",
|
|
"typescript": "^5.0.4"
|
|
}
|
|
}
|