react-popupkit
Version:
A lightweight and easy-to-use React component for creating functional popups without managing state or function. Just call the component, apply your styles, and enjoy optimized magical popups.
68 lines (67 loc) • 2.02 kB
JSON
{
"name": "react-popupkit",
"version": "1.0.4",
"description": "A lightweight and easy-to-use React component for creating functional popups without managing state or function. Just call the component, apply your styles, and enjoy optimized magical popups.",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/NahidAhmed47/react-popupkit.git"
},
"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",
"prepare": "npm run build",
"prepublishOnly": "npm run prettier && npm run lint",
"lint": "eslint \"{**/*,*}.{js,ts,jsx,tsx}\"",
"prettier": "prettier --write \"{src,tests,example/src}/**/*.{js,ts,jsx,tsx}\""
},
"keywords": [
"react",
"react-popupkit",
"react-popup",
"popup",
"modal",
"tooltip",
"popup kit",
"react popup kit",
"react-popup-kit",
"react tooltip",
"react popupkit",
"react popup",
"react-component"
],
"author": "nahid_ahmed",
"license": "MIT",
"peerDependencies": {
"react": ">=16"
},
"devDependencies": {
"@testing-library/react": "^14.2.1",
"@types/jest": "^29.5.12",
"@types/react": "^18.2.55",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"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.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-jest": "^29.1.2",
"tslib": "^2.6.2",
"typescript": "^5.3.3"
}
}