react-heat-calendar
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "react-heat-calendar", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "react heat calendar, which is like a Github's contribution calendar", | ||
@@ -11,3 +11,3 @@ "main": "./build/index.js", | ||
"clean": "rimraf build", | ||
"prepublish": "npm run clean && npm run build", | ||
"preinstall": "npm run clean && npm run build", | ||
"start": "webpack-dev-server --progress --inline" | ||
@@ -14,0 +14,0 @@ }, |
@@ -23,4 +23,5 @@ # React Heat Calendar | ||
<HeatCalendar | ||
beginDate={new Date('2016-12-01')} | ||
endDate={new Date('2017-01-31')} | ||
beginDate={new Date('2016-12-01')} // optional | ||
endDate={new Date('2017-01-31')} // optional | ||
dateField="date" // optional | ||
data={[ | ||
@@ -35,2 +36,11 @@ { date: '2016-12-02', someAttr: "foo" }, | ||
#### Defaults | ||
| property | value | | ||
|-----------|-------| | ||
| beginDate | start date of minimum month in the data | | ||
| endDate | end date of maximum month in the data | | ||
| dateField | "date" | | ||
## Development | ||
@@ -37,0 +47,0 @@ |
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
280370
50
1