mirror of
https://github.com/unjs/unplugin.git
synced 2025-12-08 20:26:33 +00:00
79 lines
2.0 KiB
JSON
79 lines
2.0 KiB
JSON
{
|
|
"name": "unplugin",
|
|
"version": "0.3.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": "nr build && jiti scripts/buildFixtures.ts"
|
|
},
|
|
"dependencies": {
|
|
"webpack-virtual-modules": "^0.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@ampproject/remapping": "^1.0.2",
|
|
"@antfu/ni": "^0.12.0",
|
|
"@nuxtjs/eslint-config-typescript": "^8.0.0",
|
|
"@types/express": "^4.17.13",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/node": "^17.0.8",
|
|
"bumpp": "^7.1.1",
|
|
"conventional-changelog-cli": "^2.2.2",
|
|
"enhanced-resolve": "^5.8.3",
|
|
"esbuild": "^0.14.11",
|
|
"eslint": "^8.6.0",
|
|
"fast-glob": "^3.2.10",
|
|
"fs-extra": "^10.0.0",
|
|
"jiti": "^1.12.9",
|
|
"magic-string": "^0.25.7",
|
|
"rollup": "^2.63.0",
|
|
"tsup": "^5.11.11",
|
|
"typescript": "^4.5.4",
|
|
"vite": "^2.7.10",
|
|
"vitest": "^0.0.141",
|
|
"webpack": "^5.66.0",
|
|
"webpack-cli": "^4.9.1"
|
|
},
|
|
"peerDependencies": {
|
|
"esbuild": ">=0.13",
|
|
"rollup": "^2.50.0",
|
|
"vite": "^2.3.0",
|
|
"webpack": "4 || 5"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"esbuild": {
|
|
"optional": true
|
|
},
|
|
"rollup": {
|
|
"optional": true
|
|
},
|
|
"vite": {
|
|
"optional": true
|
|
},
|
|
"webpack": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|