90 lines
2.5 KiB
JSON
90 lines
2.5 KiB
JSON
{
|
|
"name": "unplugin",
|
|
"type": "module",
|
|
"version": "3.0.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"
|
|
},
|
|
"types": "./dist/index.d.mts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"engines": {
|
|
"node": "^20.19.0 || >=22.12.0"
|
|
},
|
|
"publishConfig": {
|
|
"tag": "beta"
|
|
},
|
|
"dependencies": {
|
|
"@jridgewell/remapping": "^2.3.5",
|
|
"picomatch": "^4.0.3",
|
|
"webpack-virtual-modules": "^0.6.2"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "^7.2.0",
|
|
"@antfu/ni": "^28.2.0",
|
|
"@farmfe/cli": "^1.0.5",
|
|
"@farmfe/core": "^1.7.11",
|
|
"@rspack/cli": "^1.7.3",
|
|
"@rspack/core": "^1.7.3",
|
|
"@types/node": "^25.0.10",
|
|
"@types/picomatch": "^4.0.2",
|
|
"@typescript/native-preview": "7.0.0-dev.20260122.3",
|
|
"ansis": "^4.2.0",
|
|
"bumpp": "^10.4.0",
|
|
"bun-types-no-globals": "^1.3.6",
|
|
"esbuild": "^0.27.2",
|
|
"eslint": "^9.39.2",
|
|
"eslint-plugin-format": "^1.3.1",
|
|
"jiti": "^2.6.1",
|
|
"lint-staged": "^16.2.7",
|
|
"magic-string": "^0.30.21",
|
|
"rolldown": "^1.0.0-rc.1",
|
|
"rollup": "^4.56.0",
|
|
"simple-git-hooks": "^2.13.1",
|
|
"tsdown": "^0.20.0",
|
|
"typescript": "~5.9.3",
|
|
"unloader": "^0.8.3",
|
|
"unplugin-unused": "^0.5.6",
|
|
"vite": "^7.3.1",
|
|
"vitest": "^4.0.17",
|
|
"webpack": "^5.104.1",
|
|
"webpack-cli": "^6.0.1",
|
|
"unplugin": "3.0.0"
|
|
},
|
|
"resolutions": {
|
|
"esbuild": "catalog:"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "pnpm i --frozen-lockfile --ignore-scripts --offline && pnpm exec 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 test:build && vitest run",
|
|
"test:build": "jiti scripts/buildFixtures.ts"
|
|
}
|
|
} |