package.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. "name": "is-alphanumerical",
  3. "version": "1.0.4",
  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. "files": [
  26. "index.js"
  27. ],
  28. "dependencies": {
  29. "is-alphabetical": "^1.0.0",
  30. "is-decimal": "^1.0.0"
  31. },
  32. "devDependencies": {
  33. "browserify": "^16.0.0",
  34. "nyc": "^15.0.0",
  35. "prettier": "^1.0.0",
  36. "remark-cli": "^7.0.0",
  37. "remark-preset-wooorm": "^6.0.0",
  38. "tape": "^4.0.0",
  39. "tinyify": "^2.0.0",
  40. "xo": "^0.25.0"
  41. },
  42. "scripts": {
  43. "format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
  44. "build-bundle": "browserify . -s isAlphanumerical -o is-alphanumerical.js",
  45. "build-mangle": "browserify . -s isAlphanumerical -p tinyify -o is-alphanumerical.min.js",
  46. "build": "npm run build-bundle && npm run build-mangle",
  47. "test-api": "node test",
  48. "test-coverage": "nyc --reporter lcov tape test.js",
  49. "test": "npm run format && npm run build && 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. "esnext": false,
  62. "ignores": [
  63. "is-alphanumerical.js"
  64. ]
  65. },
  66. "nyc": {
  67. "check-coverage": true,
  68. "lines": 100,
  69. "functions": 100,
  70. "branches": 100
  71. },
  72. "remarkConfig": {
  73. "plugins": [
  74. "preset-wooorm"
  75. ]
  76. }
  77. }