2018-03-07 11:42:39 -05:00
{
2019-07-08 06:35:29 -04:00
"name" : "@overleaf/o-error" ,
2022-01-24 09:55:48 -05:00
"version" : "3.4.0" ,
2020-05-15 11:50:37 -04: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 12:18:01 -04:00
"keywords" : [
"browser" ,
"node" ,
"error" ,
"long stack trace" ,
"stack trace" ,
"stack" ,
"cause" ,
"verror"
] ,
2023-01-05 05:16:39 -05:00
"main" : "index.cjs" ,
2024-01-16 14:24:03 -05:00
"types" : "types/index.d.cts" ,
2020-05-15 12:18:01 -04:00
"files" : [
2023-01-05 05:16:39 -05:00
"index.cjs" ,
2024-01-23 04:24:14 -05:00
"types/index.d.cts"
2020-05-15 12:18:01 -04:00
] ,
2018-03-07 11:42:39 -05:00
"scripts" : {
2024-01-23 04:24:14 -05:00
"build" : "npm run --silent test" ,
2024-01-11 08:26:29 -05:00
"lint" : "eslint --ext .js --ext .cjs --max-warnings 0 --format unix ." ,
"lint:fix" : "eslint --fix --ext .js --ext .cjs ." ,
2024-01-16 14:24:03 -05:00
"test" : "npm run lint && npm run format && npm run types:check && npm run test:unit" ,
2024-01-11 08:26:29 -05:00
"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}" ,
2024-01-23 14:53:37 -05:00
"types:build" : "[ -d types ] || tsc --noEmit false --emitDeclarationOnly" ,
2024-01-16 14:24:03 -05:00
"types:check" : "tsc --noEmit" ,
"types:rebuild" : "rm -rf types && npm run types:build"
2018-03-07 11:42:39 -05:00
} ,
2018-04-21 18:24:23 -04:00
"author" : "Overleaf (https://www.overleaf.com)" ,
"license" : "MIT" ,
2019-07-08 08:22:49 -04:00
"repository" : "github:overleaf/o-error" ,
2018-03-07 11:42:39 -05:00
"devDependencies" : {
2022-01-24 09:55:48 -05:00
"@types/chai" : "^4.3.0" ,
2023-08-14 09:54:15 -04:00
"@types/node" : "^18.17.4" ,
2022-02-07 06:46:51 -05:00
"chai" : "^4.3.6" ,
2023-01-16 10:55:29 -05:00
"mocha" : "^10.2.0" ,
2023-06-08 04:38:16 -04:00
"typescript" : "^5.0.4"
2023-01-16 10:55:29 -05:00
}
2018-03-07 11:42:39 -05:00
}