88 lines
2.9 KiB
JSON
88 lines
2.9 KiB
JSON
{
|
|
"name": "@suaveplan/react-auth-whitelabel",
|
|
"version": "0.1.0",
|
|
"description": "White-label authentication React components with tenant branding wired through @suaveplan/react-ui runtime theme mutator",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"license": "MIT",
|
|
"author": "Suaveplan Team",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"./components": {
|
|
"import": {
|
|
"types": "./dist/components/index.d.ts",
|
|
"default": "./dist/components/index.js"
|
|
}
|
|
},
|
|
"./context": {
|
|
"import": {
|
|
"types": "./dist/context/index.d.ts",
|
|
"default": "./dist/context/index.js"
|
|
}
|
|
},
|
|
"./hooks": {
|
|
"import": {
|
|
"types": "./dist/hooks/index.d.ts",
|
|
"default": "./dist/hooks/index.js"
|
|
}
|
|
},
|
|
"./errors": {
|
|
"import": {
|
|
"types": "./dist/errors/index.d.ts",
|
|
"default": "./dist/errors/index.js"
|
|
}
|
|
}
|
|
},
|
|
"files": ["dist", "src", "README.md"],
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"dev": "vite build --watch",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage",
|
|
"lint": "bunx biome check .",
|
|
"typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json"
|
|
},
|
|
"dependencies": {
|
|
"@suaveplan/error": "workspace:^",
|
|
"@suaveplan/react-i18n": "workspace:^",
|
|
"@suaveplan/react-ui": "workspace:^",
|
|
"@suaveplan/types": "workspace:^",
|
|
"tslib": "catalog:build",
|
|
"zod": "catalog:forms"
|
|
},
|
|
"devDependencies": {
|
|
"@suaveplan/i18n": "workspace:*",
|
|
"@suaveplan/testing": "workspace:*",
|
|
"@suaveplan/testing-dom": "workspace:*",
|
|
"@suaveplan/typescript-config": "workspace:*",
|
|
"@testing-library/jest-dom": "catalog:testing",
|
|
"@testing-library/react": "catalog:testing",
|
|
"@testing-library/user-event": "catalog:testing",
|
|
"@types/react": "catalog:testing",
|
|
"@types/react-dom": "catalog:testing",
|
|
"@vitejs/plugin-react": "catalog:build",
|
|
"happy-dom": "catalog:testing",
|
|
"react": "catalog:testing",
|
|
"react-dom": "catalog:testing",
|
|
"typescript": "catalog:",
|
|
"vite": "catalog:build",
|
|
"vite-plugin-dts": "catalog:build",
|
|
"vitest": "catalog:testing",
|
|
"@vitest/coverage-istanbul": "catalog:testing"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=19.0.0",
|
|
"react-dom": ">=19.0.0"
|
|
}
|
|
}
|