Skip to content

Commit

Permalink
chore(cleanup): cleanup structure & unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphaël Benitte committed Aug 5, 2017
1 parent 7eb8596 commit ac2bb9e
Show file tree
Hide file tree
Showing 55 changed files with 92 additions and 1,916 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@
"test:unit": "jest --verbose ./test",
"test:unit:cover": "jest --verbose --coverage ./test",
"build:commonjs": "cross-env NODE_ENV=commonjs babel src --out-dir lib",
"build:commonjs:watch": "npm run build:commonjs -- --watch",
"build:es": "cross-env NODE_ENV=es babel src --out-dir es",
"build:es:watch": "npm run build:es -- --watch",
"build": "npm run build:commonjs && npm run build:es",
"fmt": "prettier --print-width=100 --tab-width=4 --bracket-spacing --no-semi --trailing-comma es5 --single-quote --color --write \"{src,specs,test}/**/*.js\"",
"fmt:check": "prettier --print-width=100 --tab-width=4 --bracket-spacing --no-semi --trailing-comma es5 --single-quote --list-different \"{src,specs,test}/**/*.js\"",
Expand Down
21 changes: 0 additions & 21 deletions src/HierarchyUtils.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/Nivo.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
import { scaleOrdinal } from 'd3-scale'
import { schemeSet3 } from 'd3-scale-chromatic'
import { nivoCategoricalColors } from './ColorUtils'
import { nivoCategoricalColors } from './lib/colorUtils'

const defaults = {
transitionDuration: 600,
Expand Down
46 changes: 0 additions & 46 deletions src/PropTypes.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/axes/Axes.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import { motion as motionPropTypes } from '../../PropTypes'
import { motionPropTypes } from '../../props'
import Axis from './Axis'

const horizontalPositions = ['top', 'bottom']
Expand Down
2 changes: 1 addition & 1 deletion src/components/axes/Axis.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import { TransitionMotion, spring } from 'react-motion'
import { motion as motionPropTypes } from '../../PropTypes'
import { motionPropTypes } from '../../props'
import Nivo from '../../Nivo'
import AxisTick from './AxisTick'

Expand Down
118 changes: 0 additions & 118 deletions src/components/charts/Chart.js

This file was deleted.

40 changes: 0 additions & 40 deletions src/components/charts/ResponsiveChart.js

This file was deleted.

Loading

0 comments on commit ac2bb9e

Please sign in to comment.