mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-23 02:31:16 +00:00
84be385550
[misc] sync build scripts GitOrigin-RevId: 343fd861b6c7b3d81b21babbd41bbb968f0fd448
40 lines
1.3 KiB
JSON
40 lines
1.3 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",
|
|
"files": [
|
|
"index.cjs"
|
|
],
|
|
"scripts": {
|
|
"build": "npm run --silent test",
|
|
"lint": "eslint --ext .js --ext .cjs --ext .ts --max-warnings 0 --format unix .",
|
|
"lint:fix": "eslint --fix --ext .js --ext .cjs --ext .ts .",
|
|
"test": "npm run lint && npm run format && npm run types:check && npm run test:unit",
|
|
"format": "prettier --list-different $PWD/'**/*.{js,cjs,ts}'",
|
|
"format:fix": "prettier --write $PWD/'**/*.{js,cjs,ts}'",
|
|
"test:ci": "npm run test:unit",
|
|
"test:unit": "mocha --exit test/**/*.{js,cjs}",
|
|
"types:check": "tsc --noEmit"
|
|
},
|
|
"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"
|
|
}
|
|
}
|