unplugin/package.json
2021-09-13 09:36:21 +08:00

73 lines
1.8 KiB
JSON

{
"name": "unplugin",
"version": "0.2.9",
"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": {
"upath": "^2.0.1",
"webpack-virtual-modules": "^0.4.3"
},
"devDependencies": {
"@nuxtjs/eslint-config-typescript": "^6.0.1",
"@types/express": "^4.17.13",
"@types/fs-extra": "^9.0.12",
"@types/jest": "^27.0.1",
"@types/node": "^16.9.1",
"chalk": "^4.1.2",
"enhanced-resolve": "^5.8.2",
"eslint": "^7.32.0",
"fast-glob": "^3.2.7",
"fs-extra": "^10.0.0",
"jest": "^27.1.1",
"jiti": "^1.11.0",
"rollup": "^2.56.3",
"standard-version": "^9.3.1",
"ts-jest": "^27.0.5",
"tsup": "^4.14.0",
"typescript": "^4.4.3",
"vite": "^2.5.6",
"webpack": "^5.52.1",
"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
}
}
}