package.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. {
  2. "_args": [
  3. [
  4. "magic-string@0.30.17",
  5. "/usr/local/develop/php/www/waibao/NN2025081602/NN2025081602/addons/min-exam"
  6. ]
  7. ],
  8. "_from": "magic-string@0.30.17",
  9. "_id": "magic-string@0.30.17",
  10. "_inBundle": false,
  11. "_integrity": "sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==",
  12. "_location": "/magic-string",
  13. "_phantomChildren": {},
  14. "_requested": {
  15. "type": "version",
  16. "registry": true,
  17. "raw": "magic-string@0.30.17",
  18. "name": "magic-string",
  19. "escapedName": "magic-string",
  20. "rawSpec": "0.30.17",
  21. "saveSpec": null,
  22. "fetchSpec": "0.30.17"
  23. },
  24. "_requiredBy": [
  25. "/",
  26. "/@vue/compiler-sfc"
  27. ],
  28. "_resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.30.17.tgz",
  29. "_spec": "0.30.17",
  30. "_where": "/usr/local/develop/php/www/waibao/NN2025081602/NN2025081602/addons/min-exam",
  31. "author": {
  32. "name": "Rich Harris"
  33. },
  34. "bugs": {
  35. "url": "https://github.com/rich-harris/magic-string/issues"
  36. },
  37. "dependencies": {
  38. "@jridgewell/sourcemap-codec": "^1.5.0"
  39. },
  40. "description": "Modify strings, generate sourcemaps",
  41. "devDependencies": {
  42. "@eslint/js": "^9.16.0",
  43. "@rollup/plugin-node-resolve": "^15.3.0",
  44. "@rollup/plugin-replace": "^5.0.7",
  45. "benchmark": "^2.1.4",
  46. "bumpp": "^9.9.1",
  47. "conventional-changelog-cli": "^3.0.0",
  48. "eslint": "^9.16.0",
  49. "prettier": "^3.4.2",
  50. "publint": "^0.2.12",
  51. "rollup": "^3.29.5",
  52. "source-map-js": "^1.2.1",
  53. "source-map-support": "^0.5.21",
  54. "vitest": "^2.1.8"
  55. },
  56. "exports": {
  57. "./package.json": "./package.json",
  58. ".": {
  59. "import": "./dist/magic-string.es.mjs",
  60. "require": "./dist/magic-string.cjs.js"
  61. }
  62. },
  63. "files": [
  64. "dist/*",
  65. "index.d.ts",
  66. "README.md"
  67. ],
  68. "homepage": "https://github.com/rich-harris/magic-string#readme",
  69. "jsnext:main": "./dist/magic-string.es.mjs",
  70. "keywords": [
  71. "string",
  72. "string manipulation",
  73. "sourcemap",
  74. "templating",
  75. "transpilation"
  76. ],
  77. "license": "MIT",
  78. "main": "./dist/magic-string.cjs.js",
  79. "module": "./dist/magic-string.es.mjs",
  80. "name": "magic-string",
  81. "repository": {
  82. "type": "git",
  83. "url": "git+https://github.com/rich-harris/magic-string.git"
  84. },
  85. "scripts": {
  86. "bench": "npm run build && node benchmark/index.mjs",
  87. "build": "rollup -c",
  88. "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
  89. "format": "prettier --single-quote --print-width 100 --use-tabs --write .",
  90. "lint": "eslint src test && publint",
  91. "lint:fix": "eslint src test --fix",
  92. "pretest": "npm run build",
  93. "release": "bumpp -x \"npm run changelog\" --all --commit --tag --push && npm publish",
  94. "test": "vitest run",
  95. "test:dev": "vitest",
  96. "watch": "rollup -cw"
  97. },
  98. "sideEffects": false,
  99. "types": "./dist/magic-string.cjs.d.ts",
  100. "version": "0.30.17"
  101. }