99 lines
2.8 KiB
JSON
Raw Normal View History

2025-12-11 15:38:52 +08:00
{
"_from": "magic-string@^0.30.21",
"_id": "magic-string@0.30.21",
"_inBundle": false,
"_integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",
"_location": "/magic-string",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "magic-string@^0.30.21",
"name": "magic-string",
"escapedName": "magic-string",
"rawSpec": "^0.30.21",
"saveSpec": null,
"fetchSpec": "^0.30.21"
},
"_requiredBy": [
"/@vue/compiler-sfc"
],
"_resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.30.21.tgz",
"_shasum": "56763ec09a0fa8091df27879fd94d19078c00d91",
"_spec": "magic-string@^0.30.21",
"_where": "C:\\Users\\chunfen\\Documents\\HBuilderProjects\\shop_h5\\node_modules\\@vue\\compiler-sfc",
"author": {
"name": "Rich Harris"
},
"bugs": {
"url": "https://github.com/Rich-Harris/magic-string/issues"
},
"bundleDependencies": false,
"dependencies": {
"@jridgewell/sourcemap-codec": "^1.5.5"
},
"deprecated": false,
"description": "Modify strings, generate sourcemaps",
"devDependencies": {
"@eslint/js": "^9.38.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-replace": "^6.0.2",
"benchmark": "^2.1.4",
"bumpp": "^10.3.1",
"conventional-changelog-cli": "^5.0.0",
"eslint": "^9.38.0",
"prettier": "^3.6.2",
"publint": "^0.3.15",
"rollup": "^4.52.5",
"source-map-js": "^1.2.1",
"source-map-support": "^0.5.21",
"vitest": "^4.0.2"
},
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/magic-string.es.mjs",
"require": "./dist/magic-string.cjs.js"
}
},
"files": [
"dist/*",
"index.d.ts",
"README.md"
],
"homepage": "https://github.com/Rich-Harris/magic-string#readme",
"jsnext:main": "./dist/magic-string.es.mjs",
"keywords": [
"string",
"string manipulation",
"sourcemap",
"templating",
"transpilation"
],
"license": "MIT",
"main": "./dist/magic-string.cjs.js",
"module": "./dist/magic-string.es.mjs",
"name": "magic-string",
"repository": {
"type": "git",
"url": "git+https://github.com/Rich-Harris/magic-string.git"
},
"scripts": {
"bench": "pnpm run build && node benchmark/index.mjs",
"build": "rollup -c",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"format": "prettier --single-quote --print-width 100 --use-tabs --write .",
"lint": "eslint src test && publint",
"lint:fix": "eslint src test --fix",
"pretest": "pnpm run build",
"release": "bumpp -x \"pnpm run changelog\" --all",
"test": "vitest run",
"test:dev": "vitest",
"watch": "rollup -cw"
},
"sideEffects": false,
"type": "commonjs",
"types": "./dist/magic-string.cjs.d.ts",
"version": "0.30.21"
}