package.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "_from": "magic-string@^0.30.21",
  3. "_id": "magic-string@0.30.21",
  4. "_inBundle": false,
  5. "_integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",
  6. "_location": "/magic-string",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "magic-string@^0.30.21",
  12. "name": "magic-string",
  13. "escapedName": "magic-string",
  14. "rawSpec": "^0.30.21",
  15. "saveSpec": null,
  16. "fetchSpec": "^0.30.21"
  17. },
  18. "_requiredBy": [
  19. "/@vue/babel-plugin-resolve-type/@vue/compiler-sfc"
  20. ],
  21. "_resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.30.21.tgz",
  22. "_shasum": "56763ec09a0fa8091df27879fd94d19078c00d91",
  23. "_spec": "magic-string@^0.30.21",
  24. "_where": "E:\\git\\2021项目\\安科院大屏\\node_modules\\@vue\\babel-plugin-resolve-type\\node_modules\\@vue\\compiler-sfc",
  25. "author": {
  26. "name": "Rich Harris"
  27. },
  28. "bugs": {
  29. "url": "https://github.com/Rich-Harris/magic-string/issues"
  30. },
  31. "bundleDependencies": false,
  32. "dependencies": {
  33. "@jridgewell/sourcemap-codec": "^1.5.5"
  34. },
  35. "deprecated": false,
  36. "description": "Modify strings, generate sourcemaps",
  37. "devDependencies": {
  38. "@eslint/js": "^9.38.0",
  39. "@rollup/plugin-node-resolve": "^16.0.3",
  40. "@rollup/plugin-replace": "^6.0.2",
  41. "benchmark": "^2.1.4",
  42. "bumpp": "^10.3.1",
  43. "conventional-changelog-cli": "^5.0.0",
  44. "eslint": "^9.38.0",
  45. "prettier": "^3.6.2",
  46. "publint": "^0.3.15",
  47. "rollup": "^4.52.5",
  48. "source-map-js": "^1.2.1",
  49. "source-map-support": "^0.5.21",
  50. "vitest": "^4.0.2"
  51. },
  52. "exports": {
  53. "./package.json": "./package.json",
  54. ".": {
  55. "import": "./dist/magic-string.es.mjs",
  56. "require": "./dist/magic-string.cjs.js"
  57. }
  58. },
  59. "files": [
  60. "dist/*",
  61. "index.d.ts",
  62. "README.md"
  63. ],
  64. "homepage": "https://github.com/Rich-Harris/magic-string#readme",
  65. "jsnext:main": "./dist/magic-string.es.mjs",
  66. "keywords": [
  67. "string",
  68. "string manipulation",
  69. "sourcemap",
  70. "templating",
  71. "transpilation"
  72. ],
  73. "license": "MIT",
  74. "main": "./dist/magic-string.cjs.js",
  75. "module": "./dist/magic-string.es.mjs",
  76. "name": "magic-string",
  77. "repository": {
  78. "type": "git",
  79. "url": "git+https://github.com/Rich-Harris/magic-string.git"
  80. },
  81. "scripts": {
  82. "bench": "pnpm run build && node benchmark/index.mjs",
  83. "build": "rollup -c",
  84. "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
  85. "format": "prettier --single-quote --print-width 100 --use-tabs --write .",
  86. "lint": "eslint src test && publint",
  87. "lint:fix": "eslint src test --fix",
  88. "pretest": "pnpm run build",
  89. "release": "bumpp -x \"pnpm run changelog\" --all",
  90. "test": "vitest run",
  91. "test:dev": "vitest",
  92. "watch": "rollup -cw"
  93. },
  94. "sideEffects": false,
  95. "type": "commonjs",
  96. "types": "./dist/magic-string.cjs.d.ts",
  97. "version": "0.30.21"
  98. }