react-sparklines
Advanced tools
Comparing version 1.0.2 to 1.0.3
describe('Sparklines', function() { | ||
it('is rendered as svg', function() { | ||
import React from 'react' | ||
import { TestUtils } from "react/addons"; | ||
import { Sparklines } from '../src/Sparklines.js'; | ||
import { Sparklines } from '../build'; | ||
@@ -6,0 +7,0 @@ const sparklines = TestUtils.renderIntoDocument(<Sparklines/>); |
@@ -509,1 +509,2 @@ import React from 'react'; | ||
} | ||
{ | ||
"name": "react-sparklines", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Beautiful and expressive Sparklines component for React ", | ||
"main": "index.js", | ||
"main": "build/index.js", | ||
"directories": { | ||
@@ -10,4 +10,6 @@ "src": "src/" | ||
"scripts": { | ||
"start": "node ./node_modules/webpack-dev-server/bin/webpack-dev-server --progress --content-base demo/", | ||
"test": "jest" | ||
"start": "cd demo && webpack-dev-server --progress", | ||
"test": "jest", | ||
"compile": "webpack", | ||
"prepublish": "npm run compile" | ||
}, | ||
@@ -45,4 +47,6 @@ "repository": { | ||
"dependencies": { | ||
"react": "^0.13.3" | ||
}, | ||
"peerDependencies": { | ||
"react": "*" | ||
}, | ||
"jest": { | ||
@@ -49,0 +53,0 @@ "scriptPreprocessor": "<rootDir>/node_modules/babel-jest", |
# Beautiful and expressive sparklines component for React | ||
Live demos and docs: [borisyankov.github.io/react-sparklines/](borisyankov.github.io/react-sparklines/) | ||
Live demos and docs: [borisyankov.github.io/react-sparklines/](http://borisyankov.github.io/react-sparklines/) | ||
@@ -5,0 +5,0 @@ ![](http://borisyankov.github.io/react-sparklines/img/dynamic.gif) |
@@ -55,2 +55,2 @@ import React from 'react'; | ||
export { Sparklines, SparklinesLine, SparklinesBars, SparklinesSpots, SparklinesReferenceLine, SparklinesNormalBand } | ||
export { Sparklines, SparklinesLine, SparklinesBars, SparklinesSpots, SparklinesReferenceLine, SparklinesNormalBand, DataProcessor } |
@@ -1,11 +0,18 @@ | ||
var webpack = require('webpack'), | ||
plugins = []; | ||
var path = require('path'); | ||
var webpack = require('webpack') | ||
module.exports = { | ||
cache: true, | ||
entry: './demo/demo', | ||
entry: { | ||
index: [ | ||
'./index.js' | ||
] | ||
}, | ||
output: { | ||
path: './demo', | ||
filename: 'index.js' | ||
path: path.join(__dirname, 'build'), | ||
publicPath: '/', | ||
filename: '[name].js', | ||
library: 'react-sparklines', | ||
libraryTarget: 'commonjs2' | ||
}, | ||
externals: { react: 'react' }, | ||
module: { | ||
@@ -20,5 +27,3 @@ loaders: [{ | ||
extensions: ['', '.js', '.jsx'] | ||
}, | ||
//devtool: 'source-map', | ||
plugins: plugins | ||
} | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
71755
18
1294
+ Addedreact@19.0.0(transitive)
- Removedreact@^0.13.3
- Removedacorn@5.7.4(transitive)
- Removedamdefine@1.0.1(transitive)
- Removedast-types@0.9.6(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbase62@1.2.8(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedcommander@2.20.3(transitive)
- Removedcommoner@0.10.8(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removeddefined@1.0.1(transitive)
- Removeddetective@4.7.1(transitive)
- Removedenvify@3.4.1(transitive)
- Removedesprima@3.1.3(transitive)
- Removedesprima-fb@15001.1.0-dev-harmony-fb(transitive)
- Removedglob@5.0.15(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removediconv-lite@0.4.24(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedjstransform@11.0.3(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removedobject-assign@2.1.1(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedprivate@0.1.8(transitive)
- Removedq@1.5.1(transitive)
- Removedreact@0.13.3(transitive)
- Removedrecast@0.11.23(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsource-map@0.4.40.5.7(transitive)
- Removedthrough@2.3.8(transitive)
- Removedwrappy@1.0.2(transitive)