package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "name": "comma-separated-tokens",
  3. "version": "2.0.3",
  4. "description": "Parse and stringify comma-separated tokens",
  5. "license": "MIT",
  6. "keywords": [
  7. "dom",
  8. "html",
  9. "comma",
  10. "separated",
  11. "tokens",
  12. "parse",
  13. "stringify"
  14. ],
  15. "repository": "wooorm/comma-separated-tokens",
  16. "bugs": "https://github.com/wooorm/comma-separated-tokens/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. }
  72. }