package.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "name": "bail",
  3. "version": "2.0.2",
  4. "description": "Throw a given error",
  5. "license": "MIT",
  6. "keywords": [
  7. "fail",
  8. "bail",
  9. "throw",
  10. "callback",
  11. "error"
  12. ],
  13. "repository": "wooorm/bail",
  14. "bugs": "https://github.com/wooorm/bail/issues",
  15. "funding": {
  16. "type": "github",
  17. "url": "https://github.com/sponsors/wooorm"
  18. },
  19. "author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
  20. "contributors": [
  21. "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
  22. ],
  23. "sideEffects": false,
  24. "type": "module",
  25. "main": "index.js",
  26. "types": "index.d.ts",
  27. "files": [
  28. "index.d.ts",
  29. "index.js"
  30. ],
  31. "devDependencies": {
  32. "@types/tape": "^4.0.0",
  33. "c8": "^7.0.0",
  34. "prettier": "^2.0.0",
  35. "remark-cli": "^10.0.0",
  36. "remark-preset-wooorm": "^9.0.0",
  37. "rimraf": "^3.0.0",
  38. "tape": "^5.0.0",
  39. "tsd": "^0.18.0",
  40. "type-coverage": "^2.0.0",
  41. "typescript": "^4.0.0",
  42. "xo": "^0.46.0"
  43. },
  44. "scripts": {
  45. "prepublishOnly": "npm run build && npm run format",
  46. "build": "rimraf \"*.d.ts\" && tsc && tsd && type-coverage",
  47. "format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
  48. "test-api": "node --conditions development test.js",
  49. "test-coverage": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api",
  50. "test": "npm run build && npm run format && npm run test-coverage"
  51. },
  52. "prettier": {
  53. "tabWidth": 2,
  54. "useTabs": false,
  55. "singleQuote": true,
  56. "bracketSpacing": false,
  57. "semi": false,
  58. "trailingComma": "none"
  59. },
  60. "xo": {
  61. "prettier": true
  62. },
  63. "remarkConfig": {
  64. "plugins": [
  65. "preset-wooorm"
  66. ]
  67. },
  68. "typeCoverage": {
  69. "atLeast": 100,
  70. "detail": true,
  71. "strict": true
  72. }
  73. }