unplugin-ast
Version:
Manipulate the AST to transform your code.
90 lines • 2.18 kB
JSON
{
"name": "unplugin-ast",
"version": "0.15.1",
"description": "Manipulate the AST to transform your code.",
"type": "module",
"keywords": [
"unplugin",
"rollup",
"vite",
"esbuild",
"webpack"
],
"license": "MIT",
"homepage": "https://github.com/unplugin/unplugin-ast#readme",
"bugs": {
"url": "https://github.com/unplugin/unplugin-ast/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/unplugin/unplugin-ast.git"
},
"author": "三咲智子 Kevin Deng <sxzz@sxzz.moe>",
"funding": "https://github.com/sponsors/sxzz",
"files": [
"dist"
],
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": "./dist/index.js",
"./vite": "./dist/vite.js",
"./webpack": "./dist/webpack.js",
"./rspack": "./dist/rspack.js",
"./rollup": "./dist/rollup.js",
"./rolldown": "./dist/rolldown.js",
"./esbuild": "./dist/esbuild.js",
"./transformers": "./dist/transformers.js",
"./ast-kit": "./dist/ast-kit.js",
"./*": "./*"
},
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./*"
]
}
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@babel/generator": "^7.28.0",
"ast-kit": "^2.1.1",
"magic-string-ast": "^1.0.0",
"unplugin": "^2.3.5"
},
"devDependencies": {
"@antfu/utils": "^9.2.0",
"@babel/parser": "^7.28.0",
"@babel/types": "^7.28.1",
"@sxzz/eslint-config": "^7.0.6",
"@sxzz/prettier-config": "^2.2.3",
"@types/babel__generator": "^7.27.0",
"@types/node": "^24.0.14",
"bumpp": "^10.2.0",
"eslint": "^9.31.0",
"prettier": "^3.6.2",
"rollup": "^4.45.1",
"tsdown": "^0.12.9",
"tsx": "^4.20.3",
"typescript": "^5.8.3",
"vite": "^7.0.5",
"vitest": "^3.2.4"
},
"engines": {
"node": ">=20.18.0"
},
"prettier": "@sxzz/prettier-config",
"scripts": {
"lint": "eslint .",
"lint:fix": "pnpm run lint --fix",
"build": "tsdown",
"dev": "tsdown --watch",
"test": "vitest",
"typecheck": "tsc --noEmit",
"release": "bumpp && pnpm publish"
}
}