UNPKG

unplugin-ast

Version:

Manipulate the AST to transform your code.

89 lines 2.17 kB
{ "name": "unplugin-ast", "version": "0.15.4", "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.mjs", "module": "./dist/index.mjs", "types": "./dist/index.d.mts", "exports": { ".": "./dist/index.mjs", "./ast-kit": "./dist/ast-kit.mjs", "./esbuild": "./dist/esbuild.mjs", "./rolldown": "./dist/rolldown.mjs", "./rollup": "./dist/rollup.mjs", "./rspack": "./dist/rspack.mjs", "./transformers": "./dist/transformers.mjs", "./vite": "./dist/vite.mjs", "./webpack": "./dist/webpack.mjs", "./package.json": "./package.json" }, "typesVersions": { "*": { "*": [ "./dist/*", "./*" ] } }, "publishConfig": { "access": "public" }, "dependencies": { "@babel/generator": "^7.28.5", "ast-kit": "^2.2.0", "magic-string-ast": "^1.0.3", "unplugin": "^2.3.10" }, "devDependencies": { "@antfu/utils": "^9.3.0", "@babel/parser": "^7.28.5", "@babel/types": "^7.28.5", "@sxzz/eslint-config": "^7.2.8", "@sxzz/prettier-config": "^2.2.4", "@types/babel__generator": "^7.27.0", "@types/node": "^24.10.0", "bumpp": "^10.3.1", "eslint": "^9.39.1", "prettier": "^3.6.2", "rollup": "^4.53.0", "tsdown": "^0.16.1", "typescript": "^5.9.3", "vite": "^7.2.2", "vitest": "^4.0.8" }, "engines": { "node": ">=20.19.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" } }