mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
b3d4bd397f
[o-error] drop poly filling GitOrigin-RevId: 81bad387b374ce94597d9a34f1dcb0af21c98ad6
49 lines
1.9 KiB
JSON
49 lines
1.9 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.js",
|
|
"files": [
|
|
"index.js",
|
|
"index.d.ts"
|
|
],
|
|
"scripts": {
|
|
"build": "npm run --silent typecheck && npm run --silent test && npm run --silent declaration:build && npm run --silent update-readme",
|
|
"declaration:build": "rm -f index.d.ts && tsc --allowJs --declaration --emitDeclarationOnly --moduleResolution node --target ES6 index.js",
|
|
"declaration:check": "git diff --exit-code -- index.d.ts",
|
|
"lint": "../../node_modules/.bin/eslint --max-warnings 0 --format unix .",
|
|
"lint:fix": "../../node_modules/.bin/eslint --fix .",
|
|
"prepublishOnly": "npm run --silent declaration:build && npm run --silent declaration:check",
|
|
"test": "mocha",
|
|
"test:coverage": "nyc --reporter=lcov --reporter=text-summary npm run test",
|
|
"typecheck": "tsc --allowJs --checkJs --noEmit --moduleResolution node --strict --target ES6 *.js test/**/*.js",
|
|
"update-readme": "doc/update-readme.js",
|
|
"format": "../../node_modules/.bin/prettier --list-different $PWD/'**/*.js'",
|
|
"format:fix": "../../node_modules/.bin/prettier --write $PWD/'**/*.js'",
|
|
"test:ci": "npm run typecheck && npm run test"
|
|
},
|
|
"author": "Overleaf (https://www.overleaf.com)",
|
|
"license": "MIT",
|
|
"repository": "github:overleaf/o-error",
|
|
"devDependencies": {
|
|
"@types/chai": "^4.3.0",
|
|
"@types/node": "^14.18.1",
|
|
"chai": "^4.3.4",
|
|
"jsdoc-to-markdown": "^7.1.0",
|
|
"markdown-toc": "^1.2.0",
|
|
"mocha": "^9.1.3",
|
|
"nyc": "^15.1.0",
|
|
"typescript": "^4.5.4"
|
|
},
|
|
"dependencies": {}
|
|
}
|