This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable flowtype/require-valid-file-annotation, no-console, import/extensions */ | |
import nodeResolve from 'rollup-plugin-node-resolve'; | |
import replace from 'rollup-plugin-replace'; | |
import commonjs from 'rollup-plugin-commonjs'; | |
import babel from 'rollup-plugin-babel'; | |
import json from 'rollup-plugin-json'; | |
import { terser } from 'rollup-plugin-terser'; | |
import sourceMaps from 'rollup-plugin-sourcemaps'; | |
import pkg from './package.json'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: node_js | |
node_js: | |
- 10 | |
- 8 | |
- 6 | |
addons: | |
code_climate: | |
repo_token: | |
secure: "Uigo1j3sA1pau35x4VTlzh4eqs5Ii5qBEkzv/HCGrMdVLUKzZFR74TSdyEtAq7GP+rjiZJ8FKWbs3f5VpV7dk4i1gIeIeclhgiWrLZr0lXCLZLiGnVm2Hf+u2uLy9i77NvuwNreG08dK1XUkBcKury1MuKsDZf1rIZsQEML3Wcxco15g7udiee8sHeaZ1mHgRLY45CyoHD/o/82jPz1nCRWGMGzXtNrejM+zI6fuXhijuUMS+tO0D+PTDvtxoOXp9h5s/A98Ro6pfwdsaN9Koi/VRn9o++Mp3wW9fF7ap09McItEPOcOE9BlBC8quhi9zcwrROqLxaoImRMBowTBGoQYrcHCGXUI+6cGooUxe9rGMz3lSL/r6Ha22EmKTaODxQrVCbAweBWbR/lDUB6i495Uqf8n5RhthwOfFaLcK3XGtiLAis9bpeskxN/P5+eiNHBHFIsoNFB1atqbGE4jkqWNG4rGwybhYZ/oSozcTWn1aubmgilJKhjJ+BSHWZl04vD8GaWKU3pyVua8n4JsYR/J9N9O6lWvmiEMRAaX7FZESWWdEiREpvj3CPgQXHH4LUNLGMBBStXW0RQKujz7Cp7FzC0rdXRP9WADL2+p87l2iJVjiSNOLCLf3geafbLSGVJ0oB/KAfZLRaIRXKoZ+d7uNy/bTwBRwReB5b+4i7Y=" | |
script: xo && nyc --reporter=lcov ava |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import { View, TouchableOpacity } from 'react-native'; | |
import _ from 'lodash'; | |
import { scaleLinear } from 'd3-scale'; | |
import { mean } from 'd3-array'; | |
const ACTIVE = '#FF1844', | |
INACTIVE = '#424056', | |
ACTIVE_PLAYABLE = '#1b1b26' |