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"
] ,
2023-01-05 10:16:39 +00:00
"main" : "index.cjs" ,
2020-05-15 16:18:01 +00:00
"files" : [
2024-05-06 11:57:39 +00:00
"index.cjs"
2020-05-15 16:18:01 +00:00
] ,
2018-03-07 16:42:39 +00:00
"scripts" : {
2024-01-23 09:24:14 +00:00
"build" : "npm run --silent test" ,
2024-09-09 09:23:59 +00:00
"lint" : "eslint --ext .js --ext .cjs --ext .ts --max-warnings 0 --format unix ." ,
"lint:fix" : "eslint --fix --ext .js --ext .cjs --ext .ts ." ,
2024-01-16 19:24:03 +00:00
"test" : "npm run lint && npm run format && npm run types:check && npm run test:unit" ,
2024-09-09 09:23:59 +00:00
"format" : "prettier --list-different $PWD/'**/*.{js,cjs,ts}'" ,
"format:fix" : "prettier --write $PWD/'**/*.{js,cjs,ts}'" ,
2024-01-11 13:26:29 +00:00
"test:ci" : "npm run test:unit" ,
"test:unit" : "mocha --exit test/**/*.{js,cjs}" ,
2024-05-06 11:57:39 +00:00
"types:check" : "tsc --noEmit"
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" ,
2023-08-14 13:54:15 +00:00
"@types/node" : "^18.17.4" ,
2022-02-07 11:46:51 +00:00
"chai" : "^4.3.6" ,
2023-01-16 15:55:29 +00:00
"mocha" : "^10.2.0" ,
2023-06-08 08:38:16 +00:00
"typescript" : "^5.0.4"
2023-01-16 15:55:29 +00:00
}
2018-03-07 16:42:39 +00:00
}