unplugin/package.json
2022-08-04 14:20:00 +08:00

85 lines
2.2 KiB
JSON

{
"name": "unplugin",
"version": "0.8.1",
"packageManager": "pnpm@7.8.0",
"description": "Unified plugin system for build tools",
"repository": "unjs/unplugin",
"license": "MIT",
"sideEffects": false,
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./dist/webpack/loaders/load": "./dist/webpack/loaders/load.js",
"./dist/webpack/loaders/transform": "./dist/webpack/loaders/transform.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 --ext ts .",
"prepublishOnly": "nr build",
"release": "bumpp --commit --push --tag --all -x 'npx conventional-changelog -p angular -i CHANGELOG.md -s' && npm publish",
"test": "nr lint && nr test:build && vitest run",
"test:build": "jiti scripts/buildFixtures.ts"
},
"dependencies": {
"acorn": "^8.8.0",
"chokidar": "^3.5.3",
"webpack-sources": "^3.2.3",
"webpack-virtual-modules": "^0.4.4"
},
"devDependencies": {
"@ampproject/remapping": "^2.2.0",
"@antfu/ni": "^0.17.2",
"@nuxtjs/eslint-config-typescript": "^10.0.0",
"@types/express": "^4.17.13",
"@types/fs-extra": "^9.0.13",
"@types/node": "^18.6.1",
"@types/webpack-sources": "^3.2.0",
"bumpp": "^8.2.1",
"conventional-changelog-cli": "^2.2.2",
"enhanced-resolve": "^5.10.0",
"esbuild": "^0.14.53",
"eslint": "^8.21.0",
"fast-glob": "^3.2.11",
"fs-extra": "^10.1.0",
"jiti": "^1.14.0",
"magic-string": "^0.26.2",
"picocolors": "^1.0.0",
"rollup": "^2.77.2",
"tsup": "^6.2.1",
"typescript": "^4.7.4",
"vite": "^3.0.4",
"vitest": "^0.20.3",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
},
"peerDependencies": {
"esbuild": ">=0.13",
"rollup": "^2.50.0",
"vite": "^2.3.0 || ^3.0.0-0",
"webpack": "4 || 5"
},
"peerDependenciesMeta": {
"esbuild": {
"optional": true
},
"rollup": {
"optional": true
},
"vite": {
"optional": true
},
"webpack": {
"optional": true
}
}
}