package.json 1.8 KB

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