package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "name": "@overleaf/o-error",
  3. "version": "2.1.0",
  4. "description": "Make custom error types that pass `instanceof` checks, have stack traces, support custom messages and properties, and can wrap causes (like VError).",
  5. "main": "index.js",
  6. "types": "index.d.ts",
  7. "scripts": {
  8. "lint": "eslint .",
  9. "update-readme": "doc/update-readme.js",
  10. "test": "mocha",
  11. "typecheck": "tsc --allowJs --checkJs --noEmit --moduleResolution node --target ES6 *.js test/**/*.js",
  12. "declaration:build": "rm -f index.d.ts && tsc --allowJs --declaration --emitDeclarationOnly --moduleResolution node --target ES6 index.js",
  13. "declaration:check": "git diff --exit-code -- index.d.ts",
  14. "prepublishOnly": "npm run --silent declaration:build && npm run --silent declaration:check"
  15. },
  16. "author": "Overleaf (https://www.overleaf.com)",
  17. "license": "MIT",
  18. "repository": "github:overleaf/o-error",
  19. "devDependencies": {
  20. "@types/node": "^13.13.2",
  21. "chai": "^3.3.0",
  22. "eslint": "^6.8.0",
  23. "eslint-config-prettier": "^6.10.1",
  24. "eslint-config-standard": "^14.1.1",
  25. "eslint-plugin-chai-expect": "^2.1.0",
  26. "eslint-plugin-chai-friendly": "^0.5.0",
  27. "eslint-plugin-import": "^2.20.2",
  28. "eslint-plugin-mocha": "^6.3.0",
  29. "eslint-plugin-node": "^11.1.0",
  30. "eslint-plugin-prettier": "^3.1.3",
  31. "eslint-plugin-promise": "^4.2.1",
  32. "eslint-plugin-standard": "^4.0.1",
  33. "jsdoc-to-markdown": "^5.0.3",
  34. "markdown-toc": "^1.2.0",
  35. "mocha": "^7.1.1",
  36. "prettier": "^2.0.2",
  37. "typescript": "^3.8.3"
  38. }
  39. }