UNPKG

magic-string

Version:

Modify strings, generate sourcemaps

60 lines 1.54 kB
{ "name": "magic-string", "type": "module", "version": "1.2.2", "description": "Modify strings, generate sourcemaps", "author": "Rich Harris", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/Rich-Harris/magic-string.git" }, "keywords": [ "string", "string manipulation", "sourcemap", "templating", "transpilation" ], "sideEffects": false, "exports": { ".": "./dist/index.mjs", "./package.json": "./package.json" }, "types": "./dist/index.d.mts", "files": [ "README.md", "dist/*" ], "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.5" }, "devDependencies": { "@antfu/eslint-config": "^9.1.0", "@types/node": "^26.1.1", "benchmark": "^2.1.4", "bumpp": "^11.1.0", "conventional-changelog": "^8.1.0", "conventional-changelog-angular": "^9.2.1", "eslint": "^10.7.0", "publint": "^0.3.21", "source-map-js": "^1.2.1", "source-map-support": "^0.5.21", "tsdown": "^0.22.8", "typescript": "~6.0.3", "vitest": "^4.1.10" }, "scripts": { "build": "tsdown", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", "lint": "eslint", "lint:fix": "eslint --fix", "release": "bumpp -x \"pnpm run changelog\" --all", "pretest": "pnpm run build", "test": "vitest run", "test:dev": "vitest", "typecheck": "tsc && tsc -p tsconfig.test.json", "bench": "pnpm run build && node benchmark/index.mjs", "watch": "tsdown -w" } }