package.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "name": "is-alphanumerical",
  3. "version": "2.0.1",
  4. "description": "Check if a character is alphanumerical",
  5. "license": "MIT",
  6. "keywords": [
  7. "string",
  8. "character",
  9. "char",
  10. "code",
  11. "alphabetical",
  12. "numerical",
  13. "alphanumerical"
  14. ],
  15. "repository": "wooorm/is-alphanumerical",
  16. "bugs": "https://github.com/wooorm/is-alphanumerical/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. "dependencies": {
  34. "is-alphabetical": "^2.0.0",
  35. "is-decimal": "^2.0.0"
  36. },
  37. "devDependencies": {
  38. "@types/tape": "^4.0.0",
  39. "c8": "^7.0.0",
  40. "prettier": "^2.0.0",
  41. "remark-cli": "^10.0.0",
  42. "remark-preset-wooorm": "^9.0.0",
  43. "rimraf": "^3.0.0",
  44. "tape": "^5.0.0",
  45. "type-coverage": "^2.0.0",
  46. "typescript": "^4.0.0",
  47. "xo": "^0.46.0"
  48. },
  49. "scripts": {
  50. "prepublishOnly": "npm run build && npm run format",
  51. "build": "rimraf \"*.d.ts\" && tsc && type-coverage",
  52. "format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
  53. "test-api": "node --conditions development test.js",
  54. "test-coverage": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api",
  55. "test": "npm run build && npm run format && npm run test-coverage"
  56. },
  57. "prettier": {
  58. "tabWidth": 2,
  59. "useTabs": false,
  60. "singleQuote": true,
  61. "bracketSpacing": false,
  62. "semi": false,
  63. "trailingComma": "none"
  64. },
  65. "xo": {
  66. "prettier": true
  67. },
  68. "remarkConfig": {
  69. "plugins": [
  70. "preset-wooorm"
  71. ]
  72. },
  73. "typeCoverage": {
  74. "atLeast": 100,
  75. "detail": true,
  76. "strict": true,
  77. "ignoreCatch": true
  78. }
  79. }