59 lines
1.4 KiB
JSON
59 lines
1.4 KiB
JSON
{
|
|
"name": "impound",
|
|
"type": "module",
|
|
"version": "1.0.0",
|
|
"description": "Builder-agnostic plugin to allow restricting import patterns in certain parts of your code-base.",
|
|
"license": "MIT",
|
|
"repository": "unjs/impound",
|
|
"sideEffects": false,
|
|
"exports": {
|
|
".": "./dist/index.js"
|
|
},
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"dependencies": {
|
|
"exsolve": "^1.0.5",
|
|
"mocked-exports": "^0.1.1",
|
|
"pathe": "^2.0.3",
|
|
"unplugin": "^2.3.2",
|
|
"unplugin-utils": "^0.2.4"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "4.12.0",
|
|
"@types/node": "22.14.1",
|
|
"@vitest/coverage-v8": "3.1.2",
|
|
"bumpp": "10.1.0",
|
|
"eslint": "9.25.0",
|
|
"lint-staged": "15.5.1",
|
|
"rollup": "4.40.0",
|
|
"simple-git-hooks": "2.12.1",
|
|
"typescript": "5.8.3",
|
|
"unbuild": "3.5.0",
|
|
"vite": "6.3.2",
|
|
"vitest": "3.1.2"
|
|
},
|
|
"resolutions": {
|
|
"impound": "link:."
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "npx lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,mjs,cjs,json,.*rc}": [
|
|
"npx eslint --fix"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"build": "unbuild",
|
|
"dev": "vitest dev",
|
|
"lint": "eslint . --fix",
|
|
"release": "bumpp && pnpm publish",
|
|
"test": "pnpm test:unit && pnpm test:types",
|
|
"test:unit": "vitest",
|
|
"test:types": "tsc --noEmit"
|
|
}
|
|
} |