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 1
1
<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 " />
2
2
3
3
[ ![ ] ( 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)
5
5
6
6
> random svg blob generator
7
7
@@ -50,13 +50,15 @@ Name | Type | Description
50
50
51
51
Name | Type | Default | Description
52
52
-------------- | ---------- | ---------- | -------------------------------------
53
- ` color ` | ` string? ` | ` none ` | Fill color
53
+ ` color ` | ` string? ` | ` " none" ` | Fill color
54
54
` stroke ` | ` object? ` | ` ... ` | Stroke options
55
- ` stroke.color ` | ` string ` | ` none ` | Stroke color
55
+ ` stroke.color ` | ` string ` | ` " none" ` | Stroke color
56
56
` stroke.width ` | ` number ` | ` 0 ` | Stroke width (in pixels)
57
57
` seed ` | ` string? ` | _ ` random ` _ | Value to seed random number generator
58
58
` guides ` | ` boolean? ` | ` false ` | Render points, handles and stroke
59
59
60
+ _ Either ` stroke ` or ` color ` must be defined._
61
+
60
62
_ Guides will use stroke color and width if defined. Otherwise, they default to ` black ` stroke with width of ` 1 ` ._
61
63
62
64
## License
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " blobs" ,
3
- "version" : " 1.0.1 " ,
3
+ "version" : " 1.0.2 " ,
4
4
"description" : " svg blob generator" ,
5
5
"author" : " g-harel" ,
6
6
"license" : " MIT" ,
17
17
"prettier" : " ^1.14.2" ,
18
18
"rollup" : " ^1.1.0" ,
19
19
"rollup-plugin-typescript2" : " ^0.18.1" ,
20
+ "rollup-plugin-uglify" : " ^6.0.1" ,
20
21
"trash-cli" : " ^1.4.0" ,
21
22
"tslib" : " ^1.9.3" ,
22
23
"typescript" : " ^3.1.3"
Original file line number Diff line number Diff line change 1
1
import typescript from "rollup-plugin-typescript2" ;
2
+ import { uglify } from "rollup-plugin-uglify" ;
2
3
3
4
export default {
4
5
input : "./index.ts" ,
@@ -7,5 +8,5 @@ export default {
7
8
format : "umd" ,
8
9
name : "blobs" ,
9
10
} ,
10
- plugins : [ typescript ( { cacheRoot : "./node_modules/.cache/rpt2" } ) ] ,
11
+ plugins : [ typescript ( { cacheRoot : "./node_modules/.cache/rpt2" } ) , uglify ( ) ] ,
11
12
} ;
You can’t perform that action at this time.
0 commit comments