UNPKG

@data-ui/sparkline

Version:

React + d3 library for creating sparklines

91 lines (90 loc) 2.35 kB
{ "name": "@data-ui/sparkline", "version": "0.0.84", "description": "React + d3 library for creating sparklines", "sideEffects": false, "main": "lib/index.js", "module": "esm/index.js", "files": [ "esm", "lib" ], "scripts": { "build:cjs": "beemo babel ./src --out-dir lib/ --react", "build:esm": "beemo babel ./src --out-dir esm/ --react --esm", "build": "yarn run build:cjs && yarn run build:esm", "dev": "beemo babel --watch ./src --out-dir esm/ --react --esm", "jest": "beemo jest --react --color --coverage", "eslint": "beemo eslint \"./{src,test}/**/*.{js,jsx,json,md}\" --fix", "lint": "beemo create-config prettier && yarn run eslint", "test": "yarn run jest", "prettier": "beemo prettier \"./{src,test}/**/*.{js,jsx,json,md}\"", "prepublish": "yarn run build" }, "repository": { "type": "git", "url": "git+https://github.com/williaster/data-ui.git" }, "keywords": [ "vx", "react", "d3", "visualization", "sparkline", "graph", "chart", "data" ], "author": "Chris Williams @williaster", "license": "MIT", "bugs": { "url": "https://github.com/williaster/data-ui/issues" }, "homepage": "https://github.com/williaster/data-ui#readme", "devDependencies": { "@data-ui/build-config": "^0.0.40", "react": "^16.0.0", "react-dom": "^16.0.0" }, "peerDependencies": { "react": "^15.0.0-0 || ^16.0.0-0", "react-dom": "^15.0.0-0 || ^16.0.0-0" }, "dependencies": { "@data-ui/shared": "^0.0.84", "@data-ui/theme": "^0.0.8", "@vx/axis": "^0.0.179", "@vx/curve": "^0.0.165", "@vx/event": "^0.0.179", "@vx/glyph": "^0.0.179", "@vx/gradient": "^0.0.165", "@vx/group": "^0.0.170", "@vx/pattern": "^0.0.179", "@vx/point": "^0.0.165", "@vx/responsive": "^0.0.192", "@vx/scale": "^0.0.179", "@vx/shape": "^0.0.179", "d3-array": "^1.2.0", "prop-types": "^15.5.10" }, "beemo": { "module": "@data-ui/build-config", "drivers": [ "prettier", "eslint", "babel", "jest" ], "eslint": { "rules": { "sort-keys": "off" } }, "jest": { "transform": { "^.+\\.jsx?$": "<rootDir>/node_modules/babel-jest" } } }, "gitHead": "402f8832a1e6467169a4c07780e002dabd5c028d" }