98 lines
2.6 KiB
JSON
98 lines
2.6 KiB
JSON
{
|
|
"name": "unplugin",
|
|
"type": "commonjs",
|
|
"version": "1.14.1",
|
|
"packageManager": "pnpm@8.15.9",
|
|
"description": "Unified plugin system for build tools",
|
|
"license": "MIT",
|
|
"repository": "unjs/unplugin",
|
|
"sideEffects": false,
|
|
"exports": {
|
|
".": {
|
|
"types": {
|
|
"import": "./dist/index.d.mts",
|
|
"require": "./dist/index.d.ts"
|
|
},
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js"
|
|
},
|
|
"./dist/webpack/loaders/*": "./dist/webpack/loaders/*.js",
|
|
"./dist/rspack/loaders/*": "./dist/rspack/loaders/*.js"
|
|
},
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.mjs",
|
|
"types": "dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"engines": {
|
|
"node": ">=14.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"dev": "tsup --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 --all -x 'npx conventional-changelog -p angular -i CHANGELOG.md -s' && npm publish",
|
|
"test": "nr test:build && vitest run --pool=forks",
|
|
"test:build": "jiti scripts/buildFixtures.ts"
|
|
},
|
|
"peerDependencies": {
|
|
"webpack-sources": "^3"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"webpack-sources": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"acorn": "^8.12.1",
|
|
"webpack-virtual-modules": "^0.6.2"
|
|
},
|
|
"devDependencies": {
|
|
"@ampproject/remapping": "^2.3.0",
|
|
"@antfu/eslint-config": "^3.0.0",
|
|
"@antfu/ni": "^0.22.4",
|
|
"@farmfe/cli": "^1.0.3",
|
|
"@farmfe/core": "^1.3.12",
|
|
"@rspack/cli": "1.0.0-beta.5",
|
|
"@rspack/core": "1.0.0-beta.5",
|
|
"@types/fs-extra": "^11.0.4",
|
|
"@types/node": "^20.14.15",
|
|
"@types/webpack-sources": "^3.2.3",
|
|
"bumpp": "^9.5.1",
|
|
"conventional-changelog-cli": "^5.0.0",
|
|
"esbuild": "^0.23.0",
|
|
"esbuild-plugin-copy": "^2.1.1",
|
|
"eslint": "^9.9.1",
|
|
"fast-glob": "^3.3.2",
|
|
"fs-extra": "^11.2.0",
|
|
"jiti": "^1.21.6",
|
|
"lint-staged": "^15.2.9",
|
|
"magic-string": "^0.30.11",
|
|
"picocolors": "^1.0.1",
|
|
"rolldown": "^0.12.2",
|
|
"rollup": "^4.20.0",
|
|
"simple-git-hooks": "^2.11.1",
|
|
"tsup": "^8.2.4",
|
|
"typescript": "^5.5.4",
|
|
"unplugin": "workspace:*",
|
|
"unplugin-unused": "^0.1.1",
|
|
"vite": "^5.4.1",
|
|
"vitest": "^2.0.5",
|
|
"webpack": "^5.93.0",
|
|
"webpack-cli": "4.10.0"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "pnpm lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*": "eslint --fix"
|
|
}
|
|
}
|