2018-03-07 16:42:39 +00:00
{
2019-07-08 10:35:29 +00:00
"name" : "@overleaf/o-error" ,
2022-01-24 14:55:48 +00:00
"version" : "3.4.0" ,
2020-05-15 15:50:37 +00:00
"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." ,
2020-05-15 16:18:01 +00:00
"keywords" : [
"browser" ,
"node" ,
"error" ,
"long stack trace" ,
"stack trace" ,
"stack" ,
"cause" ,
"verror"
] ,
2022-01-24 14:55:48 +00:00
"main" : "index.js" ,
2020-05-15 16:18:01 +00:00
"files" : [
2022-01-24 14:55:48 +00:00
"index.js" ,
"index.d.ts"
2020-05-15 16:18:01 +00:00
] ,
2018-03-07 16:42:39 +00:00
"scripts" : {
2022-01-24 14:55:48 +00:00
"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" ,
2022-02-07 11:46:51 +00:00
"lint" : "eslint --max-warnings 0 --format unix ." ,
"lint:fix" : "eslint --fix ." ,
2020-09-17 14:17:44 +00:00
"prepublishOnly" : "npm run --silent declaration:build && npm run --silent declaration:check" ,
2020-04-28 19:38:34 +00:00
"test" : "mocha" ,
2020-05-15 16:18:01 +00:00
"test:coverage" : "nyc --reporter=lcov --reporter=text-summary npm run test" ,
2020-09-11 09:05:54 +00:00
"typecheck" : "tsc --allowJs --checkJs --noEmit --moduleResolution node --strict --target ES6 *.js test/**/*.js" ,
2021-08-10 16:58:29 +00:00
"update-readme" : "doc/update-readme.js" ,
2022-02-07 11:46:51 +00:00
"format" : "prettier --list-different $PWD/'**/*.js'" ,
"format:fix" : "prettier --write $PWD/'**/*.js'" ,
2021-08-10 16:58:29 +00:00
"test:ci" : "npm run typecheck && npm run test"
2018-03-07 16:42:39 +00:00
} ,
2018-04-21 22:24:23 +00:00
"author" : "Overleaf (https://www.overleaf.com)" ,
"license" : "MIT" ,
2019-07-08 12:22:49 +00:00
"repository" : "github:overleaf/o-error" ,
2018-03-07 16:42:39 +00:00
"devDependencies" : {
2022-01-24 14:55:48 +00:00
"@types/chai" : "^4.3.0" ,
"@types/node" : "^14.18.1" ,
2022-02-07 11:46:51 +00:00
"chai" : "^4.3.6" ,
2022-01-24 14:55:48 +00:00
"jsdoc-to-markdown" : "^7.1.0" ,
2020-04-29 19:58:10 +00:00
"markdown-toc" : "^1.2.0" ,
2022-01-24 14:55:48 +00:00
"mocha" : "^9.1.3" ,
"nyc" : "^15.1.0" ,
"typescript" : "^4.5.4"
2020-05-15 16:18:01 +00:00
} ,
2022-01-24 14:55:48 +00:00
"dependencies" : { }
2018-03-07 16:42:39 +00:00
}