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

react-sparklines

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-sparklines - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

build/index.js

3

__tests__/test.js
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

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