{
	"name": "altcha",
	"description": "Privacy-first CAPTCHA widget, compliant with global regulations (GDPR/HIPAA/CCPA/LGDP/DPDPA/PIPL) and WCAG accessible. No tracking, self-verifying.",
	"version": "3.2.1",
	"license": "MIT",
	"author": {
		"name": "Daniel Regeci",
		"url": "https://altcha.org"
	},
	"homepage": "https://altcha.org",
	"repository": {
		"type": "git",
		"url": "git+https://github.com/altcha-org/altcha.git"
	},
	"keywords": [
		"altcha",
		"altcaptcha",
		"captcha",
		"captcha alternative",
		"recaptcha",
		"hcaptcha",
		"antispam",
		"anti-abuse",
		"anti-bot",
		"anti-ddos",
		"anti-scraping",
		"ddos",
		"security",
		"pow",
		"proof-of-work",
		"spam",
		"spam filter",
		"protection",
		"svelte"
	],
	"type": "module",
	"files": [
		"dist"
	],
	"main": "./dist/main/altcha.umd.cjs",
	"module": "./dist/main/altcha.js",
	"exports": {
		".": {
			"types": "./dist/types/generic.d.ts",
			"import": "./dist/main/altcha.js",
			"require": "./dist/main/altcha.umd.cjs"
		},
		"./altcha.css": {
			"import": "./dist/external/altcha.css",
			"require": "./dist/external/altcha.css"
		},
		"./external": {
			"types": "./dist/types/generic.d.ts",
			"import": "./dist/external/altcha.js",
			"require": "./dist/external/altcha.umd.cjs"
		},
		"./i18n": {
			"types": "./dist/types/generic.d.ts",
			"import": "./dist/main/altcha.i18n.js",
			"require": "./dist/main/altcha.i18n.umd.cjs"
		},
		"./i18n/*": {
			"types": "./dist/external/*.d.ts",
			"import": "./dist/i18n/*.js",
			"require": "./dist/i18n/*.umd.cjs"
		},
		"./lib": {
			"types": "./dist/lib/index.d.ts",
			"import": "./dist/lib/index.js",
			"require": "./dist/lib/index.umd.cjs"
		},
		"./plugins/*": {
			"types": "./dist/plugins/*.plugin.d.ts",
			"import": "./dist/plugins/*.plugin.js",
			"require": "./dist/plugins/*.plugin.umd.cjs"
		},
		"./themes/*": {
			"import": "./dist/themes/*",
			"require": "./dist/themes/*"
		},
		"./types": {
			"types": "./dist/types/index.d.ts",
			"import": "./dist/types/index.js"
		},
		"./types/*": {
			"types": "./dist/types/*.d.ts",
			"import": "./dist/types/*.js"
		},
		"./workers/*": {
			"import": "./dist/workers/*.js"
		}
	},
	"scripts": {
		"dev": "vite -c vite.config.playground.ts",
		"build": "npm run build:main && npm run build:external && npm run build:i18n && npm run build:plugins && npm run build:themes && npm run build:types && npm run build:lib",
		"build:main": "rimraf dist/main && vite build && vite build --config vite.config.i18n-bundle.ts",
		"build:external": "rimraf dist/external && vite build --config vite.config.external.ts",
		"build:i18n": "rimraf dist/i18n && find src/i18n -type f -name '*.ts' | xargs -I {} vite build -c vite.config.i18n.ts -- {}",
		"build:lib": "rimraf dist/lib && vite build -c vite.config.lib.ts && npm run build:lib:types",
		"build:lib:types": "dts-bundle-generator --project tsconfig.lib.json -o dist/lib/index.d.ts src/entry-lib.ts",
		"build:plugins": "rimraf dist/plugins && find src/plugins -type f -name '*.ts' -not -name 'base.plugin.ts' | xargs -I {} vite build -c vite.config.plugins.ts -- {}",
		"build:themes": "rimraf dist/themes && vite build --config vite.config.themes.ts",
		"build:types": "rimraf dist/types && tsc --declaration --target es6 --jsx react-jsx --skipLibCheck --moduleResolution bundler --outDir dist/types src/types/*.ts",
		"build:playground": "rimraf dist_playground && vite build --config vite.config.playground.ts",
		"preview": "vite preview",
		"check": "svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json",
		"lint": "prettier --check .",
		"format": "prettier --write .",
		"test": "vitest",
		"test:e2e": "vitest run --config vite.config.e2e.ts",
		"prepare": "husky"
	},
	"devDependencies": {
		"@rollup/plugin-terser": "^1.0.0",
		"@sveltejs/vite-plugin-svelte": "^6.2.1",
		"@tailwindcss/typography": "^0.5.19",
		"@tailwindcss/vite": "^4.1.18",
		"@tsconfig/svelte": "^5.0.6",
		"@types/node": "^24.10.1",
		"@types/react": "^19.2.10",
		"@types/react-dom": "^19.2.3",
		"@vitest/browser-playwright": "4.1.8",
		"cssnano": "^7.1.2",
		"daisyui": "^5.5.14",
		"dts-bundle-generator": "^9.5.1",
		"glob": "^13.0.0",
		"husky": "^9.1.7",
		"playwright": "1.60.0",
		"prettier": "^3.8.1",
		"prettier-plugin-svelte": "^3.4.1",
		"prettier-plugin-tailwindcss": "^0.7.2",
		"rimraf": "^6.1.2",
		"sass-embedded": "^1.97.1",
		"svelte": "^5.53.10",
		"svelte-check": "^4.3.4",
		"tailwindcss": "^4.1.18",
		"terser": "^5.44.1",
		"typescript": "~5.9.3",
		"vite": "^7.3.5",
		"vite-plugin-markdown": "^2.2.0",
		"vitest": "^4.1.8"
	},
	"dependencies": {
		"hash-wasm": "^4.12.0"
	},
	"overrides": {
		"esbuild": "^0.28.1",
		"markdown-it": "^14.2.0",
		"tmp": "^0.2.7",
		"underscore": "^1.13.8"
	}
}
