Se vuelve a empaquetar con create react library ya que se coloco el nombre mal.

Se sube a version 1.0.8
Se sube a GitHub 1.0.8
Se sube a NPM 1.0.8
This commit is contained in:
Alejandro Lembke Barrientos 2019-12-05 15:44:46 -06:00
parent c7ee667af7
commit c8306d2382
8 changed files with 19 additions and 14941 deletions

14930
example/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "chart-2-react-example",
"homepage": "https://aleleba.github.io/chart-2-react",
"name": "chartjs-2-react-example",
"homepage": "https://aleleba.github.io/chartjs-2-react",
"version": "0.0.0",
"license": "MIT",
"private": true,
@ -9,7 +9,7 @@
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react-scripts": "^1.1.4",
"chart-2-react": "file:.."
"chartjs-2-react": "file:.."
},
"scripts": {
"start": "react-scripts start",

View File

@ -7,7 +7,7 @@
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<title>chart-2-react</title>
<title>chartjs-2-react</title>
</head>
<body>

View File

@ -1,6 +1,6 @@
{
"short_name": "chart-2-react",
"name": "chart-2-react",
"short_name": "chartjs-2-react",
"name": "chartjs-2-react",
"start_url": "./index.html",
"display": "standalone",
"theme_color": "#000000",

View File

@ -1,13 +1,13 @@
import React, { Component } from 'react'
import { RadialGaugue } from 'chart-2-react'
import { RadialGauge } from 'chartjs-2-react'
export default class App extends Component {
render () {
return (
<div style={{maxWidth: '600px', marginTop: '25px'}}>
<h3 style={{textAlign: 'center'}}>RadialGaugue Component:</h3>
<RadialGaugue />
<h3 style={{textAlign: 'center'}}>RadialGauge Component:</h3>
<RadialGauge />
</div>
)
}

2
package-lock.json generated
View File

@ -1,5 +1,5 @@
{
"name": "chart-2-react",
"name": "chartjs-2-react",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,

View File

@ -1,10 +1,10 @@
{
"name": "chartjs-2-react",
"version": "1.0.7",
"version": "1.0.8",
"description": "Libreria de chart.js para React.js",
"author": "aleleba",
"license": "MIT",
"repository": "aleleba/chart-2-react",
"repository": "aleleba/chartjs-2-react",
"main": "dist/index.js",
"module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js",

View File

@ -1,3 +1,5 @@
import RadialGaugue from './RadialGauge.jsx';
import RadialGauge from './RadialGauge.jsx';
export default { RadialGaugue }
export { RadialGauge }
export default { RadialGauge }