Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rc-year-calendar

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-year-calendar - npm Package Compare versions

Comparing version 1.0.0-alpha.1 to 1.0.0-alpha.2

dist/rc-year-calendar.css/js-year-calendar.css

20

package.json
{
"name": "rc-year-calendar",
"version": "1.0.0-alpha.1",
"version": "1.0.0-alpha.2",
"description": "Official react wrapper for the year-calendar widget",
"main": "./dist/rc-year-calendar.js",
"scripts": {
"watch": "babel --watch lib --out-dir dist",
"build": "babel lib --out-dir dist",
"watch": "rollup -c --watch",
"build": "rollup -c && npm run build:css",
"build:css": "cpx node_modules/js-year-calendar/dist/js-year-calendar.css dist/rc-year-calendar.css && cpx node_modules/js-year-calendar/dist/js-year-calendar.min.css dist/rc-year-calendar.min.css",
"prepare": "npm run build"

@@ -33,3 +34,5 @@ },

"dependencies": {
"js-year-calendar": "^1.0.0-alpha.3",
"js-year-calendar": "^1.0.0-alpha.3"
},
"peerDependencies": {
"prop-types": "^15.7.2",

@@ -42,5 +45,12 @@ "react": "^16.8.4"

"@babel/plugin-proposal-class-properties": "^7.3.3",
"@babel/plugin-transform-modules-umd": "^7.2.0",
"@babel/plugin-transform-react-jsx": "^7.3.0",
"@babel/preset-env": "^7.3.1"
"@babel/preset-env": "^7.3.1",
"cpx": "^1.5.0",
"rollup": "^1.6.0",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^9.2.1",
"rollup-plugin-node-resolve": "^4.0.1",
"rollup-plugin-uglify": "^6.0.2"
}
}

@@ -1,4 +0,4 @@

# react-year-calendar
# rc-year-calendar
A fully customizable year calendar widget
Official wrapper for the year-calendar widget. https://year-calendar.github.io/

@@ -9,6 +9,13 @@ ![alt tag](http://www.bootstrap-year-calendar.com/img/calendar.png)

You can get the widget using the following methods:
- From the [GitHub repository](https://github.com/year-calendar/react-year-calendar/releases)
- From the Node package manager, using the following command: `npm install react-year-calendar`
- From the CDN, by adding the following script directly in your HTML page: `<script src="https://unpkg.com/react-year-calendar@latest/dist/year-calendar.js"></script>`
- From the [GitHub repository](https://github.com/year-calendar/rc-year-calendar/releases)
- From the Node package manager, using the following command: `npm install rc-year-calendar`
- From Yarn, using the following command: `yarn add rc-year-calendar`
- From the CDN, by adding the following script directly in your HTML page:
`<script src="https://unpkg.com/rc-year-calendar@latest/dist/rc-year-calendar.umd.min.js"></script>`
AND
`<link rel="stylesheet" type="text/css" href="https://unpkg.com/rc-year-calendar@latest/dist/rc-year-calendar.min.css" />`
## Usage

@@ -19,3 +26,4 @@

// Import
import Calendar from 'react-year-calendar';
import Calendar from 'rc-year-calendar';
import 'rc-year-calendar/dist/rc-year-calendar.css';

@@ -80,2 +88,2 @@ // Render

Check the [examples](/examples) pages and the [documentation](/documentation) to discover all the functionalities
Check the [examples](https://year-calendar.github.io/rc-year-calendar/examples) page to discover all the functionalities.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc