UNPKG

@johnn-e/react-glitch-text

Version:

Creates a glitch text effect for any text element

61 lines 1.77 kB
{ "name": "@johnn-e/react-glitch-text", "version": "1.0.0", "description": "Creates a glitch text effect for any text element", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/esm/index.d.ts", "files": [ "dist", "LICENSE", "README.md" ], "scripts": { "build": "npm run build:esm && npm run build:cjs", "build:esm": "tsc", "build:cjs": "tsc --module commonjs --outDir dist/cjs", "lint": "eslint \"{**/*,*}.{js,ts,jsx,tsx}\"", "prettier": "prettier --write \"{src,tests,example/src}/**/*.{js,ts,jsx,tsx}\"", "test": "jest --config jestconfig.json", "prepare": "npm run build", "prepublishOnly": "npm test && npm run prettier && npm run lint" }, "keywords": [ "react", "typescript", "glitch", "glitch-text", "glitch-effect" ], "author": "Johnny Leek (JohnnyLeek1)", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/JohnnyLeek1/React-Glitch-Text.git" }, "peerDependencies": { "react": ">=18", "styled-components": ">=6" }, "devDependencies": { "@testing-library/react": "^14.0.0", "@types/jest": "^29.5.5", "@types/react": "^18.2.24", "@typescript-eslint/eslint-plugin": "^6.7.4", "@typescript-eslint/parser": "^6.7.4", "eslint": "^8.50.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", "jest": "^29.7.0", "jest-canvas-mock": "^2.5.2", "jest-environment-jsdom": "^29.7.0", "prettier": "^3.0.3", "react": "^18.2.0", "react-dom": "^18.2.0", "ts-jest": "^29.1.1", "typescript": "^5.2.2", "styled-components": "^6.0.8" } }