react-nice-avatar
Advanced tools
Comparing version 0.1.1 to 1.0.0
{ | ||
"name": "react-nice-avatar", | ||
"version": "0.1.1", | ||
"version": "1.0.0", | ||
"description": "Beautiful default avatar for your users", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"prebuild": "rm -rf demo/dist", | ||
"build": "rollup -c rollup.config.demo.js" | ||
}, | ||
"types": "dist/react-nice-avatar.d.ts", | ||
"scripts": {}, | ||
"keywords": [ | ||
@@ -18,7 +16,7 @@ "react", | ||
"peerDependencies": { | ||
"prop-types": "^15.7.2", | ||
"react": ">=16.0.0" | ||
}, | ||
"dependencies": { | ||
"chroma-js": "^2.1.2" | ||
"chroma-js": "^2.1.2", | ||
"prop-types": "^15.7.2" | ||
}, | ||
@@ -34,2 +32,3 @@ "devDependencies": { | ||
"classnames": "^2.3.1", | ||
"dom-to-image": "^2.6.0", | ||
"eslint": "^7.27.0", | ||
@@ -41,3 +40,5 @@ "eslint-config-airbnb": "^18.2.1", | ||
"eslint-plugin-react-hooks": "^4.2.0", | ||
"file-saver": "^2.0.5", | ||
"prop-types": "^15.7.2", | ||
"rc-slider": "^9.7.2", | ||
"react": "^17.0.2", | ||
@@ -53,3 +54,7 @@ "react-color": "^2.19.3", | ||
"rollup-plugin-serve": "^1.1.0" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/chilllab/react-nice-avatar" | ||
} | ||
} |
@@ -15,3 +15,3 @@ # react-nice-avatar | ||
## Assets | ||
* Maker: [Micah](https://www.figma.com/@Micah) | ||
* Designer: [Micah](https://www.figma.com/@Micah) | ||
* Figma files: https://www.figma.com/community/file/829741575478342595 | ||
@@ -42,3 +42,3 @@ | ||
```js | ||
const myConfig = genConfig(optObj?) | ||
const myConfig = genConfig(AvatarConfig?) | ||
``` | ||
@@ -65,2 +65,3 @@ | ||
|---|---|---|---| | ||
|id|string| | ||
|className|string| | ||
@@ -67,0 +68,0 @@ |style|object| |
@@ -20,4 +20,4 @@ import babel from "rollup-plugin-babel"; | ||
scss() | ||
] | ||
if (process.env.NODE_ENV === 'development' && process.env.MODE !== 'build') { | ||
]; | ||
if (process.env.NODE_ENV === "development" && process.env.MODE !== "build") { | ||
plugins = plugins.concat([ | ||
@@ -32,3 +32,3 @@ serve({ | ||
livereload({ watch: "demo" }) | ||
]) | ||
]); | ||
} | ||
@@ -35,0 +35,0 @@ |
Sorry, the diff of this file is too big to display
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
159358
7
3889
1
82
7
28
+ Addedprop-types@^15.7.2