148 lines
3.6 KiB
JSON
148 lines
3.6 KiB
JSON
|
|
{
|
||
|
|
"name": "unplugin",
|
||
|
|
"type": "module",
|
||
|
|
"version": "3.7.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"
|
||
|
|
},
|
||
|
|
"bugs": {
|
||
|
|
"url": "https://github.com/unjs/unplugin/issues"
|
||
|
|
},
|
||
|
|
"sideEffects": false,
|
||
|
|
"exports": {
|
||
|
|
".": "./dist/index.mjs",
|
||
|
|
"./rspack/loaders/load": "./dist/rspack/loaders/load.mjs",
|
||
|
|
"./rspack/loaders/transform": "./dist/rspack/loaders/transform.mjs",
|
||
|
|
"./utils/filter": "./dist/utils/filter.mjs",
|
||
|
|
"./webpack/loaders/load": "./dist/webpack/loaders/load.mjs",
|
||
|
|
"./webpack/loaders/transform": "./dist/webpack/loaders/transform.mjs",
|
||
|
|
"./package.json": "./package.json"
|
||
|
|
},
|
||
|
|
"types": "./dist/index.d.mts",
|
||
|
|
"files": [
|
||
|
|
"dist"
|
||
|
|
],
|
||
|
|
"engines": {
|
||
|
|
"node": "^20.19.0 || >=22.12.0"
|
||
|
|
},
|
||
|
|
"devEngines": {
|
||
|
|
"packageManager": {
|
||
|
|
"name": "pnpm",
|
||
|
|
"version": "12.14.0",
|
||
|
|
"onFail": "download"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"peerDependencies": {
|
||
|
|
"@farmfe/core": "*",
|
||
|
|
"@rsbuild/core": "*",
|
||
|
|
"@rspack/core": "*",
|
||
|
|
"bun-types-no-globals": "*",
|
||
|
|
"esbuild": "*",
|
||
|
|
"rolldown": "*",
|
||
|
|
"rollup": "*",
|
||
|
|
"unloader": "*",
|
||
|
|
"vite": "*",
|
||
|
|
"webpack": "*"
|
||
|
|
},
|
||
|
|
"peerDependenciesMeta": {
|
||
|
|
"@farmfe/core": {
|
||
|
|
"optional": true
|
||
|
|
},
|
||
|
|
"@rsbuild/core": {
|
||
|
|
"optional": true
|
||
|
|
},
|
||
|
|
"@rspack/core": {
|
||
|
|
"optional": true
|
||
|
|
},
|
||
|
|
"bun-types-no-globals": {
|
||
|
|
"optional": true
|
||
|
|
},
|
||
|
|
"esbuild": {
|
||
|
|
"optional": true
|
||
|
|
},
|
||
|
|
"rolldown": {
|
||
|
|
"optional": true
|
||
|
|
},
|
||
|
|
"rollup": {
|
||
|
|
"optional": true
|
||
|
|
},
|
||
|
|
"unloader": {
|
||
|
|
"optional": true
|
||
|
|
},
|
||
|
|
"vite": {
|
||
|
|
"optional": true
|
||
|
|
},
|
||
|
|
"webpack": {
|
||
|
|
"optional": true
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"dependencies": {
|
||
|
|
"@jridgewell/remapping": "^2.3.5",
|
||
|
|
"@rolldown/pluginutils": "^1.0.1",
|
||
|
|
"picomatch": "^4.0.7",
|
||
|
|
"webpack-virtual-modules": "^0.6.2"
|
||
|
|
},
|
||
|
|
"devDependencies": {
|
||
|
|
"@antfu/eslint-config": "^10.0.0",
|
||
|
|
"@antfu/ni": "^30.6.0",
|
||
|
|
"@antfu/skills": "^0.1.2",
|
||
|
|
"@arethetypeswrong/core": "^0.18.5",
|
||
|
|
"@farmfe/cli": "^1.0.5",
|
||
|
|
"@farmfe/core": "^1.7.11",
|
||
|
|
"@rsbuild/core": "^2.2.14",
|
||
|
|
"@rspack/cli": "^2.2.9",
|
||
|
|
"@rspack/core": "^2.2.9",
|
||
|
|
"@types/node": "^26.6.5",
|
||
|
|
"@types/picomatch": "^4.0.3",
|
||
|
|
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
||
|
|
"ansis": "^4.4.0",
|
||
|
|
"bumpp": "^12.3.0",
|
||
|
|
"bun-types-no-globals": "^1.4.4",
|
||
|
|
"esbuild": "^0.28.2",
|
||
|
|
"eslint": "^10.13.0",
|
||
|
|
"eslint-plugin-format": "^2.0.1",
|
||
|
|
"lint-staged": "^17.6.0",
|
||
|
|
"magic-string": "^1.4.3",
|
||
|
|
"publint": "^0.3.25",
|
||
|
|
"rolldown": "^1.2.15",
|
||
|
|
"rollup": "^4.65.0",
|
||
|
|
"simple-git-hooks": "^2.14.0",
|
||
|
|
"skills": "^1.7.4",
|
||
|
|
"tsdown": "^0.23.2",
|
||
|
|
"typescript": "~6.0.3",
|
||
|
|
"unloader": "^0.10.1",
|
||
|
|
"unplugin": "3.7.0",
|
||
|
|
"unplugin-unused": "^0.6.0",
|
||
|
|
"vite": "^8.3.5",
|
||
|
|
"vitest": "^5.0.5",
|
||
|
|
"webpack": "^5.112.2",
|
||
|
|
"webpack-cli": "^7.2.3"
|
||
|
|
},
|
||
|
|
"resolutions": {
|
||
|
|
"esbuild": "catalog:peer"
|
||
|
|
},
|
||
|
|
"simple-git-hooks": {
|
||
|
|
"pre-commit": "pnpm lint-staged"
|
||
|
|
},
|
||
|
|
"lint-staged": {
|
||
|
|
"*": "eslint --fix"
|
||
|
|
},
|
||
|
|
"scripts": {
|
||
|
|
"build": "tsdown",
|
||
|
|
"dev": "tsdown --watch src",
|
||
|
|
"lint": "eslint --cache .",
|
||
|
|
"lint:fix": "nr lint --fix",
|
||
|
|
"typecheck": "tsgo --noEmit",
|
||
|
|
"docs:dev": "pnpm -C docs run dev",
|
||
|
|
"docs:build": "pnpm -C docs run build",
|
||
|
|
"docs:gen-files": "pnpm -C docs run gen-files",
|
||
|
|
"release": "bumpp",
|
||
|
|
"test": "nr build && nr test:build && vitest run",
|
||
|
|
"test:build": "node scripts/buildFixtures.ts",
|
||
|
|
"test:unit": "vitest run test/unit-tests"
|
||
|
|
}
|
||
|
|
}
|