package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "name": "confbox",
  3. "version": "0.2.2",
  4. "description": "Compact YAML, TOML, JSONC, JSON5 and INI parser and serializer",
  5. "keywords": [
  6. "yaml",
  7. "toml",
  8. "jsonc",
  9. "json5",
  10. "unjs",
  11. "config",
  12. "ini"
  13. ],
  14. "repository": "unjs/confbox",
  15. "license": "MIT",
  16. "sideEffects": false,
  17. "type": "module",
  18. "exports": {
  19. ".": {
  20. "types": "./dist/index.d.mts",
  21. "default": "./dist/index.mjs"
  22. },
  23. "./json5": {
  24. "types": "./dist/json5.d.mts",
  25. "default": "./dist/json5.mjs"
  26. },
  27. "./jsonc": {
  28. "types": "./dist/jsonc.d.mts",
  29. "default": "./dist/jsonc.mjs"
  30. },
  31. "./toml": {
  32. "types": "./dist/toml.d.mts",
  33. "default": "./dist/toml.mjs"
  34. },
  35. "./yaml": {
  36. "types": "./dist/yaml.d.mts",
  37. "default": "./dist/yaml.mjs"
  38. },
  39. "./ini": {
  40. "types": "./dist/ini.d.mts",
  41. "default": "./dist/ini.mjs"
  42. }
  43. },
  44. "types": "./dist/index.d.mts",
  45. "files": [
  46. "dist"
  47. ],
  48. "scripts": {
  49. "build": "unbuild",
  50. "dev": "vitest dev --coverage",
  51. "bench": "pnpm build && node test/bench.mjs",
  52. "lint": "eslint && prettier -c src test",
  53. "lint:fix": "eslint --fix && prettier -c src test -w",
  54. "prepack": "pnpm build",
  55. "release": "pnpm test && changelogen --release && npm publish && git push --follow-tags",
  56. "test": "pnpm lint && pnpm test:types && vitest run --coverage",
  57. "test:types": "tsc --noEmit --skipLibCheck"
  58. },
  59. "devDependencies": {
  60. "@types/ini": "^4.1.1",
  61. "@types/js-yaml": "^4.0.9",
  62. "@types/node": "^22.14.0",
  63. "@vitest/coverage-v8": "^3.1.1",
  64. "automd": "^0.4.0",
  65. "changelogen": "^0.6.1",
  66. "detect-indent": "^7.0.1",
  67. "eslint": "^9.23.0",
  68. "eslint-config-unjs": "^0.4.2",
  69. "ini": "^5.0.0",
  70. "jiti": "^2.4.2",
  71. "js-toml": "^1.0.1",
  72. "js-yaml": "^4.1.0",
  73. "json5": "^2.2.3",
  74. "jsonc-parser": "^3.3.1",
  75. "mitata": "^1.0.34",
  76. "prettier": "^3.5.3",
  77. "smol-toml": "^1.3.1",
  78. "toml": "^3.0.0",
  79. "typescript": "^5.8.2",
  80. "unbuild": "^3.5.0",
  81. "vitest": "^3.1.1",
  82. "yaml": "^2.7.1"
  83. },
  84. "packageManager": "pnpm@10.7.1"
  85. }