overleaf/libraries/o-error/package.json

66 lines
2.4 KiB
JSON
Raw Normal View History

2018-03-07 11:42:39 -05:00
{
2019-07-08 06:35:29 -04:00
"name": "@overleaf/o-error",
2021-01-26 07:10:25 -05:00
"version": "3.3.1",
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"
],
2021-01-22 05:29:31 -05:00
"main": "dist/index.js",
2020-05-15 12:18:01 -04:00
"files": [
2021-01-22 05:29:31 -05:00
"dist/index.js",
"dist/index.d.ts"
2020-05-15 12:18:01 -04:00
],
2021-01-22 05:29:31 -05:00
"types": "dist/index.d.ts",
2018-03-07 11:42:39 -05:00
"scripts": {
2021-01-22 05:29:31 -05:00
"clean": "rm -rf dist",
"build": "npm run --silent clean && npm run --silent typecheck && npm run --silent test && npm run --silent build:compile && npm run --silent declaration:build && npm run --silent update-readme",
"build:compile": "babel index.js --out-dir dist",
"declaration:build": "rm -f dist/index.d.ts && tsc --allowJs --declaration --emitDeclarationOnly --outDir dist --moduleResolution node --target ES6 index.js",
"declaration:check": "git diff --exit-code -- dist/index.d.ts",
2020-04-17 03:43:08 -04:00
"lint": "eslint .",
"prepublishOnly": "npm run --silent declaration:build && npm run --silent declaration:check",
2020-04-28 15:38:34 -04:00
"test": "mocha",
2020-05-15 12:18:01 -04:00
"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"
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": {
2021-01-22 05:29:31 -05:00
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@types/chai": "^4.2.12",
2020-04-28 15:38:34 -04:00
"@types/node": "^13.13.2",
2018-03-07 11:42:39 -05:00
"chai": "^3.3.0",
2020-04-17 03:43:08 -04:00
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
2020-04-17 05:59:27 -04:00
"eslint-config-standard": "^14.1.1",
2020-04-17 03:43:08 -04:00
"eslint-plugin-chai-expect": "^2.1.0",
"eslint-plugin-chai-friendly": "^0.5.0",
2020-04-17 05:59:27 -04:00
"eslint-plugin-import": "^2.20.2",
2020-04-17 03:43:08 -04:00
"eslint-plugin-mocha": "^6.3.0",
2020-04-17 05:59:27 -04:00
"eslint-plugin-node": "^11.1.0",
2020-04-17 03:43:08 -04:00
"eslint-plugin-prettier": "^3.1.3",
2020-04-17 05:59:27 -04:00
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
2020-04-29 15:58:10 -04:00
"jsdoc-to-markdown": "^5.0.3",
"markdown-toc": "^1.2.0",
2020-04-17 03:43:08 -04:00
"mocha": "^7.1.1",
2020-05-15 12:18:01 -04:00
"nyc": "^15.0.1",
2020-04-28 15:38:34 -04:00
"prettier": "^2.0.2",
"typescript": "^3.8.3"
2020-05-15 12:18:01 -04:00
},
"dependencies": {
"core-js": "^3.8.3"
}
2018-03-07 11:42:39 -05:00
}