rc-year-calendar
Advanced tools
Comparing version 1.0.0-alpha.1 to 1.0.0-alpha.2
{ | ||
"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. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
341662
13
4361
86
12
3
1
- Removedprop-types@^15.7.2
- Removedreact@^16.8.4