67 lines
1.9 KiB
JSON
67 lines
1.9 KiB
JSON
{
|
|
"name": "unplugin",
|
|
"version": "1.0.1",
|
|
"packageManager": "pnpm@7.18.1",
|
|
"description": "Unified plugin system for build tools",
|
|
"license": "MIT",
|
|
"repository": "unjs/unplugin",
|
|
"sideEffects": false,
|
|
"exports": {
|
|
".": {
|
|
"require": "./dist/index.js",
|
|
"import": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"./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 --cache --ext ts .",
|
|
"lint:fix": "nr lint --fix",
|
|
"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.1",
|
|
"chokidar": "^3.5.3",
|
|
"webpack-sources": "^3.2.3",
|
|
"webpack-virtual-modules": "^0.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@ampproject/remapping": "^2.2.0",
|
|
"@antfu/eslint-config": "^0.33.1",
|
|
"@antfu/ni": "^0.18.8",
|
|
"@types/express": "^4.17.14",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/node": "^18.11.13",
|
|
"@types/webpack-sources": "^3.2.0",
|
|
"bumpp": "^8.2.1",
|
|
"conventional-changelog-cli": "^2.2.2",
|
|
"enhanced-resolve": "^5.12.0",
|
|
"esbuild": "^0.16.4",
|
|
"eslint": "^8.29.0",
|
|
"fast-glob": "^3.2.12",
|
|
"fs-extra": "^11.1.0",
|
|
"jiti": "^1.16.0",
|
|
"magic-string": "^0.27.0",
|
|
"picocolors": "^1.0.0",
|
|
"rollup": "^3.7.3",
|
|
"tsup": "^6.5.0",
|
|
"typescript": "^4.9.4",
|
|
"vite": "^4.0.0",
|
|
"vitest": "^0.25.7",
|
|
"webpack": "^5.75.0",
|
|
"webpack-cli": "^5.0.1"
|
|
}
|
|
}
|