92 lines
No EOL
2.4 KiB
JSON
92 lines
No EOL
2.4 KiB
JSON
{
|
|
"name": "unplugin",
|
|
"type": "module",
|
|
"version": "2.3.11",
|
|
"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"
|
|
},
|
|
"dependencies": {
|
|
"@jridgewell/remapping": "^2.3.5",
|
|
"acorn": "^8.15.0",
|
|
"picomatch": "^4.0.3",
|
|
"webpack-virtual-modules": "^0.6.2"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "^6.2.0",
|
|
"@antfu/ni": "^27.0.1",
|
|
"@farmfe/cli": "^1.0.5",
|
|
"@farmfe/core": "^1.7.11",
|
|
"@rspack/cli": "^1.6.0",
|
|
"@rspack/core": "^1.6.0",
|
|
"@types/fs-extra": "^11.0.4",
|
|
"@types/node": "^24.10.0",
|
|
"@types/picomatch": "^4.0.2",
|
|
"ansis": "^4.2.0",
|
|
"bumpp": "^10.3.1",
|
|
"esbuild": "^0.25.12",
|
|
"esbuild-plugin-copy": "^2.1.1",
|
|
"eslint": "^9.39.0",
|
|
"eslint-plugin-format": "^1.0.2",
|
|
"fast-glob": "^3.3.3",
|
|
"fs-extra": "^11.3.2",
|
|
"jiti": "^2.6.1",
|
|
"lint-staged": "^16.2.6",
|
|
"magic-string": "^0.30.21",
|
|
"rolldown": "^1.0.0-beta.46",
|
|
"rollup": "^4.52.5",
|
|
"simple-git-hooks": "^2.13.1",
|
|
"tsdown": "^0.15.12",
|
|
"typescript": "~5.9.3",
|
|
"unloader": "^0.5.0",
|
|
"unplugin-unused": "^0.5.5",
|
|
"vite": "^7.1.12",
|
|
"vitest": "^4.0.6",
|
|
"webpack": "^5.102.1",
|
|
"webpack-cli": "^6.0.1",
|
|
"unplugin": "2.3.11"
|
|
},
|
|
"resolutions": {
|
|
"esbuild": "catalog:"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "pnpm i --frozen-lockfile --ignore-scripts --offline && npx lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*": "eslint --fix"
|
|
},
|
|
"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",
|
|
"release": "bumpp",
|
|
"test": "nr test:build && vitest run --pool=forks",
|
|
"test:build": "jiti scripts/buildFixtures.ts"
|
|
}
|
|
} |