unplugin/package.json
2025-11-22 13:04:02 +08:00

95 lines
2.5 KiB
JSON

{
"name": "unplugin",
"type": "module",
"version": "2.3.11",
"packageManager": "pnpm@10.22.0",
"description": "Unified plugin system for build tools",
"license": "MIT",
"homepage": "https://unplugin.unjs.io",
"repository": {
"type": "git",
"url": "git+https://github.com/unjs/unplugin.git"
},
"sideEffects": false,
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./dist/webpack/loaders/*": "./dist/webpack/loaders/*.cjs",
"./dist/rspack/loaders/*": "./dist/rspack/loaders/*.cjs"
},
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"engines": {
"node": ">=18.12.0"
},
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch src",
"lint": "eslint --cache .",
"lint:fix": "nr lint --fix",
"typecheck": "tsc --noEmit",
"docs:dev": "pnpm -C docs run dev",
"docs:build": "pnpm -C docs run build",
"docs:gen-files": "pnpm -C docs run gen-files",
"prepublishOnly": "nr build",
"release": "bumpp",
"test": "nr test:build && vitest run --pool=forks",
"test:build": "jiti scripts/buildFixtures.ts"
},
"dependencies": {
"@jridgewell/remapping": "catalog:prod",
"acorn": "catalog:prod",
"picomatch": "catalog:prod",
"webpack-virtual-modules": "catalog:prod"
},
"devDependencies": {
"@antfu/eslint-config": "catalog:",
"@antfu/ni": "catalog:",
"@farmfe/cli": "catalog:",
"@farmfe/core": "catalog:",
"@rspack/cli": "catalog:",
"@rspack/core": "catalog:",
"@types/fs-extra": "catalog:",
"@types/node": "catalog:",
"@types/picomatch": "catalog:",
"ansis": "catalog:",
"bumpp": "catalog:",
"esbuild": "catalog:",
"esbuild-plugin-copy": "catalog:",
"eslint": "catalog:",
"eslint-plugin-format": "catalog:",
"fast-glob": "catalog:",
"fs-extra": "catalog:",
"jiti": "catalog:",
"lint-staged": "catalog:",
"magic-string": "catalog:",
"rolldown": "catalog:",
"rollup": "catalog:",
"simple-git-hooks": "catalog:",
"tsdown": "catalog:",
"typescript": "catalog:",
"unloader": "catalog:",
"unplugin": "workspace:*",
"unplugin-unused": "catalog:",
"vite": "catalog:",
"vitest": "catalog:",
"webpack": "catalog:",
"webpack-cli": "catalog:"
},
"resolutions": {
"esbuild": "catalog:"
},
"simple-git-hooks": {
"pre-commit": "pnpm i --frozen-lockfile --ignore-scripts --offline && npx lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}