94 lines
2.2 KiB
JSON
Raw Normal View History

2025-09-05 14:59:21 +08:00
{
"name": "magic-regexp",
"version": "0.10.0",
"packageManager": "pnpm@10.9.0",
"description": "A compiled-away, type-safe, readable RegExp alternative",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/unjs/magic-regexp.git"
},
"sideEffects": false,
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./converter": {
"import": "./dist/converter.mjs",
"require": "./dist/converter.cjs"
},
"./transform": {
"import": "./dist/transform.mjs",
"require": "./dist/transform.cjs"
},
"./further-magic": {
"import": "./dist/further-magic.mjs",
"require": "./dist/further-magic.cjs"
},
"./nuxt": "./nuxt.mjs"
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist",
"further-magic.d.ts",
"nuxt.mjs",
"transform.d.ts"
],
"scripts": {
"build": "unbuild",
"dev": "vitest dev",
"docs:generate": "nuxi generate docs",
"lint": "eslint .",
"prepare": "npx simple-git-hooks && pnpm build",
"prepublishOnly": "pnpm lint && pnpm test",
"release": "bumpp && npm publish",
"test": "vitest run",
"test:types": "tsc --noEmit"
},
"dependencies": {
"estree-walker": "^3.0.3",
"magic-string": "^0.30.12",
"mlly": "^1.7.2",
"regexp-tree": "^0.1.27",
"type-level-regexp": "~0.1.17",
"ufo": "^1.5.4",
"unplugin": "^2.0.0"
},
"devDependencies": {
"@antfu/eslint-config": "4.12.0",
"@codspeed/vitest-plugin": "4.0.1",
"@nuxt/kit": "3.16.2",
"@types/estree": "1.0.7",
"@types/node": "22.14.1",
"@vitest/coverage-v8": "3.1.2",
"acorn": "8.14.1",
"bumpp": "10.1.0",
"eslint": "9.25.0",
"expect-type": "1.2.1",
"lint-staged": "latest",
"rollup": "4.40.0",
"simple-git-hooks": "2.12.1",
"typescript": "5.8.3",
"unbuild": "3.5.0",
"vite": "6.3.2",
"vitest": "3.1.2"
},
"resolutions": {
"magic-regexp": "link:.",
"nuxt": "3.16.2",
"vite": "6.3.2",
"vue": "3.5.13"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*": [
"npx eslint --fix"
]
}
}