UNPKG

unplugin-ast

Version:

Manipulate the AST to transform your code.

82 lines 2.08 kB
{ "name": "unplugin-ast", "type": "module", "version": "0.17.2", "description": "Manipulate the AST to transform your code.", "author": "Kevin Deng <sxzz@sxzz.moe>", "license": "MIT", "funding": "https://github.com/sponsors/sxzz", "homepage": "https://github.com/unplugin/unplugin-ast#readme", "repository": { "type": "git", "url": "git+https://github.com/unplugin/unplugin-ast.git" }, "bugs": { "url": "https://github.com/unplugin/unplugin-ast/issues" }, "keywords": [ "unplugin", "rollup", "vite", "esbuild", "webpack" ], "exports": { ".": "./dist/index.js", "./ast-kit": "./dist/ast-kit.js", "./esbuild": "./dist/esbuild.js", "./rolldown": "./dist/rolldown.js", "./rollup": "./dist/rollup.js", "./rspack": "./dist/rspack.js", "./transformers": "./dist/transformers.js", "./vite": "./dist/vite.js", "./webpack": "./dist/webpack.js", "./package.json": "./package.json" }, "files": [ "dist" ], "publishConfig": { "access": "public" }, "engines": { "node": "^22.18.0 || >=24.11.0" }, "dependencies": { "@babel/generator": "^8.0.0", "@babel/parser": "^8.0.0", "@babel/types": "^8.0.0", "ast-kit": "^3.0.0", "magic-string-ast": "^2.0.0", "unplugin": "^3.0.0" }, "inlinedDependencies": { "@antfu/utils": "9.3.0" }, "devDependencies": { "@antfu/utils": "^9.3.0", "@sxzz/eslint-config": "^8.2.0", "@sxzz/prettier-config": "^2.3.1", "@types/node": "^25.9.3", "@typescript/native-preview": "7.0.0-dev.20260616.1", "bumpp": "^11.1.0", "eslint": "^10.5.0", "prettier": "^3.8.4", "rollup": "^4.62.0", "tsdown": "^0.22.2", "tsdown-preset-sxzz": "^0.6.0", "typescript": "^6.0.3", "vite": "^8.0.16", "vitest": "^4.1.9" }, "prettier": "@sxzz/prettier-config", "scripts": { "lint": "eslint .", "lint:fix": "pnpm run lint --fix", "build": "tsdown", "dev": "tsdown --watch", "test": "vitest", "typecheck": "tsgo --noEmit", "release": "bumpp" } }