UNPKG

unplugin-ast

Version:

Manipulate the AST to transform your code.

87 lines 2.11 kB
{ "name": "unplugin-ast", "type": "module", "version": "0.16.0", "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" }, "types": "./dist/index.d.mts", "typesVersions": { "*": { "*": [ "./dist/*", "./*" ] } }, "files": [ "dist" ], "publishConfig": { "access": "public" }, "engines": { "node": ">=20.19.0" }, "dependencies": { "@babel/generator": "^8.0.0-beta.4", "@babel/parser": "^8.0.0-beta.4", "@babel/types": "^8.0.0-beta.4", "ast-kit": "^3.0.0-beta.1", "magic-string-ast": "^1.0.3", "unplugin": "^3.0.0" }, "devDependencies": { "@antfu/utils": "^9.3.0", "@sxzz/eslint-config": "^7.5.0", "@sxzz/prettier-config": "^2.2.6", "@types/node": "^25.0.10", "bumpp": "^10.4.0", "eslint": "^9.39.2", "prettier": "^3.8.1", "rollup": "^4.56.0", "tsdown": "^0.20.0", "tsdown-preset-sxzz": "^0.3.1", "typescript": "^5.9.3", "vite": "^7.3.1", "vitest": "^4.0.17" }, "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" } }