unplugin/package.json
2021-12-28 20:28:15 +08:00

79 lines
1.9 KiB
JSON

{
"name": "unplugin",
"version": "0.2.21",
"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 .",
"release": "yarn build && standard-version && yarn publish --non-interactive && git push --follow-tags",
"test": "yarn lint && yarn test:build && jest",
"test:build": "yarn build && jiti scripts/buildFixtures.ts"
},
"dependencies": {
"webpack-virtual-modules": "^0.4.3"
},
"devDependencies": {
"@ampproject/remapping": "^1.0.2",
"@nuxtjs/eslint-config-typescript": "^7.0.2",
"@types/express": "^4.17.13",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.0.2",
"@types/node": "^16.11.4",
"chalk": "^4.1.2",
"enhanced-resolve": "^5.8.3",
"esbuild": "^0.14.8",
"eslint": "^8.1.0",
"fast-glob": "^3.2.7",
"fs-extra": "^10.0.0",
"jest": "^27.3.1",
"jiti": "^1.12.9",
"magic-string": "^0.25.7",
"rollup": "^2.58.1",
"standard-version": "^9.3.2",
"ts-jest": "^27.0.7",
"tsup": "^5.5.0",
"typescript": "^4.4.4",
"vite": "^2.6.11",
"webpack": "^5.59.1",
"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
}
}
}