61 lines
1.5 KiB
JSON
61 lines
1.5 KiB
JSON
{
|
|
"name": "magic-string",
|
|
"type": "module",
|
|
"version": "1.3.1",
|
|
"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.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "^9.5.1",
|
|
"@types/node": "^26.5.1",
|
|
"@vitest/coverage-v8": "^5.0.0",
|
|
"benchmark": "^2.1.4",
|
|
"bumpp": "^12.3.0",
|
|
"conventional-changelog": "^8.1.3",
|
|
"conventional-changelog-angular": "^9.4.0",
|
|
"eslint": "^10.10.0",
|
|
"publint": "^0.3.24",
|
|
"source-map-js": "^1.2.1",
|
|
"source-map-support": "^0.5.21",
|
|
"tsdown": "^0.23.0",
|
|
"typescript": "~6.0.3",
|
|
"vitest": "^5.0.0"
|
|
},
|
|
"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"
|
|
}
|
|
} |