File tree Expand file tree Collapse file tree 4 files changed +22
-5
lines changed Expand file tree Collapse file tree 4 files changed +22
-5
lines changed Original file line number Diff line number Diff line change 1+ # 1.0.2
2+
3+ - Make transpiled output minified
4+ - Minor changes to the README
5+
6+ # 1.0.1
7+
8+ - Remove accidental dependency
9+ - Minor changes to the README
10+
11+ # 1.0.0
12+
13+ - Initial release
Original file line number Diff line number Diff line change 11<img src =" https://svgsaur.us/?t=blobs&f=Comic_Sans_MS,cursive,sans-serif&s=42&w=160&h=50&y=40&o=biu&c=222 " />
22
33[ ![ ] ( https://img.shields.io/npm/v/blobs.svg )] ( https://www.npmjs.com/package/blobs )
4- [ ![ ] ( https://img.shields.io/bundlephobia/minzip/blobs.svg )] ( hhttps ://bundlephobia.com/result?p=blobs)
4+ [ ![ ] ( https://img.shields.io/bundlephobia/minzip/blobs.svg )] ( https ://bundlephobia.com/result?p=blobs)
55
66> random svg blob generator
77
@@ -50,13 +50,15 @@ Name | Type | Description
5050
5151Name | Type | Default | Description
5252-------------- | ---------- | ---------- | -------------------------------------
53- ` color ` | ` string? ` | ` none ` | Fill color
53+ ` color ` | ` string? ` | ` " none" ` | Fill color
5454` stroke ` | ` object? ` | ` ... ` | Stroke options
55- ` stroke.color ` | ` string ` | ` none ` | Stroke color
55+ ` stroke.color ` | ` string ` | ` " none" ` | Stroke color
5656` stroke.width ` | ` number ` | ` 0 ` | Stroke width (in pixels)
5757` seed ` | ` string? ` | _ ` random ` _ | Value to seed random number generator
5858` guides ` | ` boolean? ` | ` false ` | Render points, handles and stroke
5959
60+ _ Either ` stroke ` or ` color ` must be defined._
61+
6062_ Guides will use stroke color and width if defined. Otherwise, they default to ` black ` stroke with width of ` 1 ` ._
6163
6264## License
Original file line number Diff line number Diff line change 11{
22 "name" : " blobs" ,
3- "version" : " 1.0.1 " ,
3+ "version" : " 1.0.2 " ,
44 "description" : " svg blob generator" ,
55 "author" : " g-harel" ,
66 "license" : " MIT" ,
1717 "prettier" : " ^1.14.2" ,
1818 "rollup" : " ^1.1.0" ,
1919 "rollup-plugin-typescript2" : " ^0.18.1" ,
20+ "rollup-plugin-uglify" : " ^6.0.1" ,
2021 "trash-cli" : " ^1.4.0" ,
2122 "tslib" : " ^1.9.3" ,
2223 "typescript" : " ^3.1.3"
Original file line number Diff line number Diff line change 11import typescript from "rollup-plugin-typescript2" ;
2+ import { uglify } from "rollup-plugin-uglify" ;
23
34export default {
45 input : "./index.ts" ,
@@ -7,5 +8,5 @@ export default {
78 format : "umd" ,
89 name : "blobs" ,
910 } ,
10- plugins : [ typescript ( { cacheRoot : "./node_modules/.cache/rpt2" } ) ] ,
11+ plugins : [ typescript ( { cacheRoot : "./node_modules/.cache/rpt2" } ) , uglify ( ) ] ,
1112} ;
You can’t perform that action at this time.
0 commit comments