UNPKG

react-social-detector

Version:

A comprehensive TypeScript library for detecting and validating social network URLs with React hooks support

99 lines 2.76 kB
{ "name": "react-social-detector", "version": "1.1.0", "description": "A comprehensive TypeScript library for detecting and validating social network URLs with React hooks support", "main": "dist/index.cjs.js", "module": "dist/index.esm.mjs", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.esm.mjs", "require": "./dist/index.cjs.js" } }, "files": [ "dist" ], "keywords": [ "social-network", "url-detection", "social-media", "typescript", "react", "hooks", "validation" ], "author": "Rogerio Felix", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/zeroskullx/react-social-detector.git" }, "bugs": { "url": "https://github.com/zeroskullx/react-social-detector/issues" }, "homepage": "https://github.com/zeroskullx/react-social-detector#readme", "devDependencies": { "@biomejs/biome": "^2.1.3", "@eslint/eslintrc": "^3.3.1", "@rollup/plugin-commonjs": "^28.0.6", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.4", "@testing-library/jest-dom": "^6.6.4", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.6.1", "@types/node": "^24.1.0", "@types/react": "^19.1.9", "@types/react-dom": "^19.1.7", "@vitejs/plugin-react": "^4.7.0", "@vitest/coverage-v8": "^3.2.4", "@vitest/ui": "^3.2.4", "husky": "^9.1.7", "jsdom": "^26.1.0", "lint-staged": "^16.1.4", "next": "15.4.5", "react": "19.1.1", "react-dom": "19.1.1", "rollup": "^4.46.2", "rollup-plugin-dts": "^6.2.1", "typescript": "^5.9.2", "vite": "^7.0.6", "vitest": "^3.2.4" }, "peerDependencies": { "react": ">=18.0.0" }, "engines": { "node": ">=18.0.0", "pnpm": ">=8.0.0" }, "lint-staged": { "src/**/*.{ts,tsx,js,jsx}": [ "biome check --write", "biome format --write" ] }, "scripts": { "dev": "next dev --turbopack --port 3080", "build": "rollup -c && next build", "build:lib": "rollup -c", "build:next": "next build", "start": "next start", "lint": "biome check .", "lint:fix": "biome check --write .", "lint:show-error": "biome check --diagnostic-level=error", "format": "biome format --write .", "test": "vitest", "test:ui": "vitest --ui", "test:coverage": "vitest --coverage", "test:watch": "vitest --watch", "typecheck": "tsc --noEmit", "clean": "rimraf dist", "husky:lint": "pnpm lint-staged", "husky:check": "pnpm typecheck", "husky:test": "vitest run" } }