magic-regexp
Version:
A compiled-away, type-safe, readable RegExp alternative
85 lines • 2.06 kB
JSON
{
"name": "magic-regexp",
"version": "0.11.0",
"description": "A compiled-away, type-safe, readable RegExp alternative",
"license": "MIT",
"homepage": "https://regexp.dev",
"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.mts",
"files": [
"dist",
"further-magic.d.ts",
"nuxt.mjs",
"transform.d.ts"
],
"dependencies": {
"magic-string": "^0.30.21",
"regexp-tree": "^0.1.27",
"type-level-regexp": "~0.1.17",
"unplugin": "^3.0.0"
},
"devDependencies": {
"@antfu/eslint-config": "7.6.1",
"@codspeed/vitest-plugin": "5.2.0",
"@nuxt/kit": "4.3.1",
"@types/estree": "1.0.8",
"@types/node": "24.10.0",
"@vitest/coverage-v8": "4.0.18",
"acorn": "8.16.0",
"bumpp": "10.4.1",
"eslint": "10.0.2",
"expect-type": "1.3.0",
"nano-staged": "0.9.0",
"simple-git-hooks": "2.13.1",
"tsdown": "0.20.3",
"typescript": "5.9.3",
"vite": "7.3.1",
"vitest": "4.0.18"
},
"resolutions": {
"magic-regexp": "link:.",
"nuxt": "4.3.1",
"vite": "7.3.1",
"vue": "3.5.29"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec nano-staged"
},
"nano-staged": {
"*": "pnpm exec eslint --fix"
},
"scripts": {
"build": "tsdown",
"dev": "vitest dev",
"docs:generate": "nuxt generate docs",
"lint": "eslint .",
"release": "bumpp",
"test": "vitest run",
"test:types": "tsc --noEmit"
}
}