mirror of
https://github.com/unjs/unplugin.git
synced 2025-12-08 20:26:33 +00:00
95 lines
2.7 KiB
JSON
95 lines
2.7 KiB
JSON
{
|
|
"name": "unplugin",
|
|
"type": "module",
|
|
"version": "3.0.0-beta.3",
|
|
"packageManager": "pnpm@10.24.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": {
|
|
".": "./dist/index.mjs",
|
|
"./rspack/loaders/load": "./dist/rspack/loaders/load.mjs",
|
|
"./rspack/loaders/transform": "./dist/rspack/loaders/transform.mjs",
|
|
"./webpack/loaders/load": "./dist/webpack/loaders/load.mjs",
|
|
"./webpack/loaders/transform": "./dist/webpack/loaders/transform.mjs",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"main": "./dist/index.mjs",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.mts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"engines": {
|
|
"node": "^20.19.0 || >=22.12.0"
|
|
},
|
|
"publishConfig": {
|
|
"tag": "beta"
|
|
},
|
|
"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",
|
|
"prepublishOnly": "nr build",
|
|
"release": "bumpp",
|
|
"test": "nr test:build && vitest run",
|
|
"test:build": "jiti scripts/buildFixtures.ts"
|
|
},
|
|
"dependencies": {
|
|
"@jridgewell/remapping": "catalog:prod",
|
|
"picomatch": "catalog:prod",
|
|
"webpack-virtual-modules": "catalog:prod"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "catalog:",
|
|
"@antfu/ni": "catalog:",
|
|
"@farmfe/cli": "catalog:test",
|
|
"@farmfe/core": "catalog:peer",
|
|
"@rspack/cli": "catalog:test",
|
|
"@rspack/core": "catalog:peer",
|
|
"@types/node": "catalog:",
|
|
"@types/picomatch": "catalog:",
|
|
"@typescript/native-preview": "catalog:",
|
|
"ansis": "catalog:",
|
|
"bumpp": "catalog:",
|
|
"bun-types-no-globals": "catalog:",
|
|
"esbuild": "catalog:",
|
|
"eslint": "catalog:",
|
|
"eslint-plugin-format": "catalog:",
|
|
"jiti": "catalog:default",
|
|
"lint-staged": "catalog:",
|
|
"magic-string": "catalog:test",
|
|
"rolldown": "catalog:peer",
|
|
"rollup": "catalog:peer",
|
|
"simple-git-hooks": "catalog:",
|
|
"tsdown": "catalog:",
|
|
"typescript": "catalog:",
|
|
"unloader": "catalog:peer",
|
|
"unplugin": "workspace:*",
|
|
"unplugin-unused": "catalog:",
|
|
"vite": "catalog:peer",
|
|
"vitest": "catalog:test",
|
|
"webpack": "catalog:peer",
|
|
"webpack-cli": "catalog:test"
|
|
},
|
|
"resolutions": {
|
|
"esbuild": "catalog:"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "pnpm i --frozen-lockfile --ignore-scripts --offline && pnpm exec lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*": "eslint --fix"
|
|
}
|
|
}
|