78 lines
2.1 KiB
JSON
78 lines
2.1 KiB
JSON
|
{
|
||
|
"name": "unplugin",
|
||
|
"version": "1.7.1",
|
||
|
"packageManager": "pnpm@8.15.1",
|
||
|
"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"
|
||
|
],
|
||
|
"scripts": {
|
||
|
"build": "tsup",
|
||
|
"dev": "tsup --watch src",
|
||
|
"lint": "eslint --cache .",
|
||
|
"lint:fix": "nr lint --fix",
|
||
|
"prepublishOnly": "nr build",
|
||
|
"release": "bumpp --all -x 'npx conventional-changelog -p angular -i CHANGELOG.md -s' && npm publish",
|
||
|
"test": "nr lint && nr test:build && vitest run --pool=forks",
|
||
|
"test:build": "jiti scripts/buildFixtures.ts"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"acorn": "^8.11.3",
|
||
|
"chokidar": "^3.5.3",
|
||
|
"webpack-sources": "^3.2.3",
|
||
|
"webpack-virtual-modules": "^0.6.1"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@ampproject/remapping": "^2.2.1",
|
||
|
"@antfu/eslint-config": "^2.6.4",
|
||
|
"@antfu/ni": "^0.21.12",
|
||
|
"@rspack/cli": "^0.5.3",
|
||
|
"@rspack/core": "^0.5.3",
|
||
|
"@types/fs-extra": "^11.0.4",
|
||
|
"@types/node": "^20.11.15",
|
||
|
"@types/webpack-sources": "^3.2.3",
|
||
|
"bumpp": "^9.3.0",
|
||
|
"conventional-changelog-cli": "^4.1.0",
|
||
|
"esbuild": "^0.20.0",
|
||
|
"eslint": "^8.56.0",
|
||
|
"fast-glob": "^3.3.2",
|
||
|
"fs-extra": "^11.2.0",
|
||
|
"jiti": "^1.21.0",
|
||
|
"lint-staged": "^15.2.1",
|
||
|
"magic-string": "^0.30.6",
|
||
|
"picocolors": "^1.0.0",
|
||
|
"rollup": "^4.9.6",
|
||
|
"simple-git-hooks": "^2.9.0",
|
||
|
"tsup": "^8.0.1",
|
||
|
"typescript": "^5.3.3",
|
||
|
"vite": "^5.0.12",
|
||
|
"vitest": "^1.2.2",
|
||
|
"webpack": "^5.90.0",
|
||
|
"webpack-cli": "4.10.0"
|
||
|
},
|
||
|
"simple-git-hooks": {
|
||
|
"pre-commit": "pnpm lint-staged"
|
||
|
},
|
||
|
"lint-staged": {
|
||
|
"*": "eslint --fix"
|
||
|
}
|
||
|
}
|