UNPKG

megaphone-sdk

Version:

A react component to easily display banners and announcements within your app

72 lines (71 loc) 1.89 kB
{ "name": "megaphone-sdk", "version": "0.8.16", "private": false, "homepage": "https://github.com/connerludlow/megaphone-sdk", "description": "A react component to easily display banners and announcements within your app", "keywords": [ "banner", "announcements", "widget" ], "bugs": { "url": "https://github.com/connerludlow/megaphone-sdk/issues" }, "repository": { "repository": { "type": "git", "url": "https://github.com/connerludlow/megaphone-sdk" } }, "license": "MIT", "dependencies": { "@heroicons/react": "^1.0.5", "axios": "^0.24.0", "babel-plugin-inline-dotenv": "^1.6.0", "react-scripts": "5.0.0", "web-vitals": "^2.1.2" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", "build:tailwind": "npx tailwindcss -i ./src/index.css -o ./src/Widget.scoped.css", "build:package": "rm -rf dist && NODE_ENV=production babel src/Widget.js src/Widget.scoped.css package.json --out-dir dist --copy-files", "test": "react-scripts test", "eject": "react-scripts eject" }, "eslintConfig": { "extends": [ "react-app", "react-app/jest" ] }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] }, "devDependencies": { "tailwindcss": "^3.0.7", "@babel/cli": "^7.16.0", "@babel/core": "^7.16.5", "@babel/preset-env": "^7.16.5", "@testing-library/jest-dom": "^5.16.1", "@testing-library/react": "^12.1.2", "@testing-library/user-event": "^13.5.0", "babel-loader": "^8.2.3", "babel-plugin-react-scoped-css": "^1.1.1" }, "peerDependencies": { "axios": "^0.24.0", "react": "^17.0.2", "react-dom": "^17.0.2" } }