1{ 2 "name": "react-vis", 3 "version": "1.11.7", 4 "license": "MIT", 5 "author": "Visualization Team <visualization@uber.com>", 6 "description": "Data visualization library based on React and d3.", 7 "main": "dist", 8 "module": "es", 9 "jsnext:main": "es", 10 "files": [ 11 "dist", 12 "es" 13 ], 14 "repository": { 15 "type": "git", 16 "url": "https://github.com/uber-common/react-vis.git" 17 }, 18 "bugs": { 19 "url": "https://github.com/uber-common/react-vis/issues/new", 20 "email": "visualization@uber.com" 21 }, 22 "scripts": { 23 "docs": "./publish-docs.sh", 24 "clean": "rm -rf dist es bundle.* index.html && mkdir dist es", 25 "start": "(cd showcase && command -v yarn >/dev/null && yarn && npm start || npm install && npm start)", 26 "build:browser": "browserify src/index.js -t [ babelify ] --standalone reactVis | uglifyjs > dist/dist.min.js", 27 "build": "npm run clean && babel src -d dist --copy-files && BABEL_ENV=es babel src -d es --copy-files && node-sass src/main.scss dist/style.css --output-style compressed && npm run build:browser", 28 "lint": "eslint src tests showcase docs --ignore-pattern node_modules --ignore-pattern bundle.js", 29 "lint-styles": "stylelint src/styles/*.scss --syntax scss", 30 "test:windows": "babel-node --inspect ./tests/index.js", 31 "test": "node --inspect ./node_modules/.bin/babel-node ./tests/index.js", 32 "full-test": "npm run lint && npm run cover", 33 "cover": "nyc --reporter=text --reporter=html --reporter=lcov npm test", 34 "prettier": "prettier --write $(git ls-files | grep '.js$')", 35 "remove-unpm-rfs": "./remove-refs-to-unpm.pl" 36 }, 37 "husky": { 38 "hooks": { 39 "pre-push": "npm run remove-unpm-rfs" 40 } 41 }, 42 "dependencies": { 43 "d3-array": "^1.2.0", 44 "d3-collection": "^1.0.3", 45 "d3-color": "^1.0.3", 46 "d3-contour": "^1.1.0", 47 "d3-format": "^1.2.0", 48 "d3-geo": "^1.6.4", 49 "d3-hexbin": "^0.2.2", 50 "d3-hierarchy": "^1.1.4", 51 "d3-interpolate": "^1.1.4", 52 "d3-sankey": "^0.7.1", 53 "d3-scale": "^1.0.5", 54 "d3-shape": "^1.1.0", 55 "d3-voronoi": "^1.1.2", 56 "deep-equal": "^1.0.1", 57 "global": "^4.3.1", 58 "hoek": "4.2.1", 59 "prop-types": "^15.5.8", 60 "react-motion": "^0.5.2" 61 }, 62 "devDependencies": { 63 "babel-cli": "6.18.0", 64 "babel-eslint": "^7.1.1", 65 "babel-plugin-module-resolver": "^2.4.0", 66 "babel-preset-es2015": "6.18.0", 67 "babel-preset-es2017": "^6.24.1", 68 "babel-preset-react": "^6.16.0", 69 "babel-preset-stage-0": "^6.16.0", 70 "babel-register": "^6.18.0", 71 "babelify": "^7.3.0", 72 "browserify": "^14.3.0", 73 "canvas-prebuilt": "^1.6.11", 74 "enzyme": "^2.8.2", 75 "eslint": "^3.19.0", 76 "eslint-config-prettier": "^3.0.1", 77 "eslint-config-uber-es2015": "^3.1.2", 78 "eslint-config-uber-jsx": "^3.3.3", 79 "eslint-plugin-babel": "^4.1.2", 80 "eslint-plugin-no-only-tests": "^2.0.1", 81 "eslint-plugin-prettier": "^2.6.2", 82 "eslint-plugin-react": "^7.11.1", 83 "husky": "^1.1.2", 84 "jsdom": "^9.9.1", 85 "node-sass": "^4.9.3", 86 "nyc": "^13.0.1", 87 "prettier": "^1.14.2", 88 "react": "^15.5.4", 89 "react-addons-test-utils": ">=15.4.2", 90 "react-dom": "^15.5.4", 91 "react-test-renderer": "^15.5.4", 92 "stylelint": "^7.7.1", 93 "stylelint-config-standard": "^15.0.1", 94 "tape": "^4.6.3", 95 "uglify-js": "^2.8.22" 96 }, 97 "peerDependencies": { 98 "react": "15.3.0 - 16.x" 99 }, 100 "keywords": [ 101 "d3", 102 "react", 103 "visualization", 104 "chart", 105 "es6", 106 "babel" 107 ], 108 "babel": { 109 "plugins": [ 110 [ 111 "module-resolver", 112 { 113 "root": [ 114 "./src" 115 ] 116 } 117 ] 118 ], 119 "env": { 120 "production": { 121 "presets": [ 122 "es2015", 123 "stage-0", 124 "react" 125 ] 126 }, 127 "development": { 128 "presets": [ 129 "es2015", 130 "stage-0", 131 "react" 132 ] 133 }, 134 "es": { 135 "presets": [ 136 [ 137 "es2015", 138 { 139 "modules": false 140 } 141 ], 142 "stage-0", 143 "react" 144 ] 145 } 146 } 147 }, 148 "nyc": { 149 "exclude": [ 150 "tests/**/*.js", 151 "src/utils/react-utils.js" 152 ] 153 }, 154 "engines": { 155 "node": ">=0.10.0", 156 "npm": ">=3.0" 157 } 158} 159