mirror of
https://github.com/unjs/unplugin.git
synced 2026-02-01 16:56:37 +00:00
73 lines
1.8 KiB
JSON
73 lines
1.8 KiB
JSON
{
|
|
"name": "unplugin",
|
|
"version": "0.2.17",
|
|
"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": {
|
|
"@nuxtjs/eslint-config-typescript": "^6.0.1",
|
|
"@types/express": "^4.17.13",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/jest": "^27.0.2",
|
|
"@types/node": "^16.9.6",
|
|
"chalk": "^4.1.2",
|
|
"enhanced-resolve": "^5.8.3",
|
|
"eslint": "^7.32.0",
|
|
"fast-glob": "^3.2.7",
|
|
"fs-extra": "^10.0.0",
|
|
"jest": "^27.2.1",
|
|
"jiti": "^1.12.3",
|
|
"magic-string": "^0.25.7",
|
|
"rollup": "^2.57.0",
|
|
"standard-version": "^9.3.1",
|
|
"ts-jest": "^27.0.5",
|
|
"tsup": "^5.2.0",
|
|
"typescript": "^4.4.3",
|
|
"vite": "^2.5.10",
|
|
"webpack": "^5.54.0",
|
|
"webpack-cli": "^4.8.0"
|
|
},
|
|
"peerDependencies": {
|
|
"rollup": "^2.50.0",
|
|
"vite": "^2.3.0",
|
|
"webpack": "4 || 5"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"rollup": {
|
|
"optional": true
|
|
},
|
|
"vite": {
|
|
"optional": true
|
|
},
|
|
"webpack": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|