react-user-avatar
Version:
React component for a user avatar with fallback to colored initials
39 lines (38 loc) • 1 kB
JSON
{
"name": "react-user-avatar",
"version": "1.10.0",
"description": "React component for a user avatar with fallback to colored initials",
"main": "user-avatar.js",
"style": "example.css",
"scripts": {
"build": "babel index.js -s -o user-avatar.js",
"prepublish": "yarn build",
"test": "budo test.js -- -t babelify"
},
"keywords": [
"react-component",
"avatar",
"initials"
],
"author": "Will Binns-Smith <wbinnssmith@gmail.com>",
"license": "MIT",
"repository": "github:wbinnssmith/react-user-avatar",
"devDependencies": {
"babel-cli": "^6.3.13",
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.3.13",
"babelify": "^7.2.0",
"budo": "^7.0.2",
"react": "^15.0.1",
"react-dom": "^15.0.1"
},
"dependencies": {
"add-px": "^1.0.0",
"contrast": "^1.0.1",
"initials": "^2.1.5"
},
"peerDependencies": {
"react": "^0.14.0 || ^15.0.0 || ^16.0.0",
"react-dom": "^0.14.0 || ^15.0.0 || ^16.0.0"
}
}