package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. {
  2. "_from": "confbox@^0.1.8",
  3. "_id": "confbox@0.1.8",
  4. "_inBundle": false,
  5. "_integrity": "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==",
  6. "_location": "/confbox",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "confbox@^0.1.8",
  12. "name": "confbox",
  13. "escapedName": "confbox",
  14. "rawSpec": "^0.1.8",
  15. "saveSpec": null,
  16. "fetchSpec": "^0.1.8"
  17. },
  18. "_requiredBy": [
  19. "/pkg-types"
  20. ],
  21. "_resolved": "https://registry.npmmirror.com/confbox/-/confbox-0.1.8.tgz",
  22. "_shasum": "820d73d3b3c82d9bd910652c5d4d599ef8ff8b06",
  23. "_spec": "confbox@^0.1.8",
  24. "_where": "E:\\qinduan\\mallbackinfrontend\\node_modules\\pkg-types",
  25. "bugs": {
  26. "url": "https://github.com/unjs/confbox/issues"
  27. },
  28. "bundleDependencies": false,
  29. "deprecated": false,
  30. "description": "Compact and high quality YAML, TOML, JSONC and JSON5 parsers",
  31. "devDependencies": {
  32. "@types/js-yaml": "^4.0.9",
  33. "@types/node": "^22.7.4",
  34. "@vitest/coverage-v8": "^2.1.2",
  35. "automd": "^0.3.10",
  36. "changelogen": "^0.5.7",
  37. "detect-indent": "^7.0.1",
  38. "eslint": "^9.12.0",
  39. "eslint-config-unjs": "^0.4.1",
  40. "jiti": "^2.3.1",
  41. "js-toml": "^1.0.0",
  42. "js-yaml": "^4.1.0",
  43. "json5": "^2.2.3",
  44. "jsonc-parser": "^3.3.1",
  45. "mitata": "^1.0.10",
  46. "prettier": "^3.3.3",
  47. "smol-toml": "^1.3.0",
  48. "toml": "^3.0.0",
  49. "typescript": "^5.6.2",
  50. "unbuild": "^2.0.0",
  51. "vitest": "^2.1.2",
  52. "yaml": "^2.5.1"
  53. },
  54. "exports": {
  55. ".": {
  56. "types": "./dist/index.d.ts",
  57. "import": "./dist/index.mjs",
  58. "require": "./dist/index.cjs"
  59. },
  60. "./json5": {
  61. "types": "./dist/json5.d.ts",
  62. "import": "./dist/json5.mjs",
  63. "require": "./dist/json5.cjs"
  64. },
  65. "./jsonc": {
  66. "types": "./dist/jsonc.d.ts",
  67. "import": "./dist/jsonc.mjs",
  68. "require": "./dist/jsonc.cjs"
  69. },
  70. "./toml": {
  71. "types": "./dist/toml.d.ts",
  72. "import": "./dist/toml.mjs",
  73. "require": "./dist/toml.cjs"
  74. },
  75. "./yaml": {
  76. "types": "./dist/yaml.d.ts",
  77. "import": "./dist/yaml.mjs",
  78. "require": "./dist/yaml.cjs"
  79. }
  80. },
  81. "files": [
  82. "dist",
  83. "*.d.ts"
  84. ],
  85. "homepage": "https://github.com/unjs/confbox#readme",
  86. "keywords": [
  87. "yaml",
  88. "toml",
  89. "jsonc",
  90. "json5",
  91. "unjs",
  92. "config"
  93. ],
  94. "license": "MIT",
  95. "main": "./dist/index.cjs",
  96. "module": "./dist/index.mjs",
  97. "name": "confbox",
  98. "packageManager": "pnpm@9.12.0",
  99. "repository": {
  100. "type": "git",
  101. "url": "git+https://github.com/unjs/confbox.git"
  102. },
  103. "scripts": {
  104. "bench": "pnpm build && node test/bench.mjs",
  105. "build": "unbuild",
  106. "dev": "vitest dev --coverage",
  107. "lint": "eslint && prettier -c src test",
  108. "lint:fix": "eslint --fix && prettier -c src test -w",
  109. "prepack": "pnpm build",
  110. "release": "pnpm test && changelogen --release && npm publish && git push --follow-tags",
  111. "test": "pnpm lint && pnpm test:types && vitest run --coverage",
  112. "test:types": "tsc --noEmit --skipLibCheck"
  113. },
  114. "sideEffects": false,
  115. "type": "module",
  116. "types": "./dist/index.d.ts",
  117. "version": "0.1.8"
  118. }