package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "name": "is-decimal",
  3. "version": "1.0.4",
  4. "description": "Check if a character is decimal",
  5. "license": "MIT",
  6. "keywords": [
  7. "string",
  8. "character",
  9. "char",
  10. "code",
  11. "decimal"
  12. ],
  13. "repository": "wooorm/is-decimal",
  14. "bugs": "https://github.com/wooorm/is-decimal/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. "files": [
  24. "index.js"
  25. ],
  26. "dependencies": {},
  27. "devDependencies": {
  28. "browserify": "^16.0.0",
  29. "nyc": "^15.0.0",
  30. "prettier": "^1.0.0",
  31. "remark-cli": "^7.0.0",
  32. "remark-preset-wooorm": "^6.0.0",
  33. "tape": "^4.0.0",
  34. "tinyify": "^2.0.0",
  35. "xo": "^0.25.0"
  36. },
  37. "scripts": {
  38. "format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
  39. "build-bundle": "browserify . -s isDecimal -o is-decimal.js",
  40. "build-mangle": "browserify . -s isDecimal -p tinyify -o is-decimal.min.js",
  41. "build": "npm run build-bundle && npm run build-mangle",
  42. "test-api": "node test",
  43. "test-coverage": "nyc --reporter lcov tape test.js",
  44. "test": "npm run format && npm run build && npm run test-coverage"
  45. },
  46. "prettier": {
  47. "tabWidth": 2,
  48. "useTabs": false,
  49. "singleQuote": true,
  50. "bracketSpacing": false,
  51. "semi": false,
  52. "trailingComma": "none"
  53. },
  54. "xo": {
  55. "prettier": true,
  56. "esnext": false,
  57. "ignores": [
  58. "is-decimal.js"
  59. ]
  60. },
  61. "nyc": {
  62. "check-coverage": true,
  63. "lines": 100,
  64. "functions": 100,
  65. "branches": 100
  66. },
  67. "remarkConfig": {
  68. "plugins": [
  69. "preset-wooorm"
  70. ]
  71. }
  72. }