UNPKG

d3-sankey-diagram

Version:
62 lines (61 loc) 1.91 kB
{ "name": "d3-sankey-diagram", "version": "0.9.1", "description": "Sankey diagram d3 plugin", "author": "Rick Lupton", "keywords": [ "d3", "d3-module", "sankey", "diagram" ], "license": "MIT", "type": "module", "exports": { "import": "./build/d3-sankey-diagram.esm.js", "require": "./build/d3-sankey-diagram.cjs.js" }, "main": "build/d3-sankey-diagram.cjs.js", "module": "build/d3-sankey-diagram.esm.js", "browser": "build/d3-sankey-diagram.umd.js", "homepage": "https://github.com/ricklupton/d3-sankey-diagram", "repository": { "type": "git", "url": "https://github.com/ricklupton/d3-sankey-diagram.git" }, "scripts": { "build": "rm -rf build && mkdir build && rollup -c", "pretest": "npm run build", "test": "tape 'test/**/*-test.js'", "test:watch": "tape-watch 'test/**/*-test.js'", "prepublishOnly": "npm run test && uglifyjs build/d3-sankey-diagram.umd.js -c -m -o build/d3-sankey-diagram.min.js", "postpublish": "zip -j build/d3-sankey-diagram.zip -- LICENSE README.md build/d3-sankey-diagram.cjs.js build/d3-sankey-diagram.esm.js build/d3-sankey-diagram.umd.js build/d3-sankey-diagram.min.js" }, "dependencies": { "d3-array": "^1.0.2", "d3-collection": "^1.0.2", "d3-dispatch": "^1.0.3", "d3-format": "^1.1.1", "d3-interpolate": "^1.1.3", "d3-selection": "^1.0.3", "d3-transition": "^1.0.4", "@dagrejs/graphlib": "^2.2.3" }, "devDependencies": { "almost-equal": "^1.1.0", "d3-scale": "^1.0.6", "d3-timer": "^1.0.7", "defined": "^1.0.0", "faucet": "0.0.4", "jsdom": "^11.1.0", "prettier": "2.1.2", "rollup": "^4", "@rollup/plugin-commonjs": "^26.0.1", "@rollup/plugin-node-resolve": "^15.2.3", "standard": "^17.1.0", "tape": "^5.8.1", "tape-watch": "^2.3.0", "terser": "^5.31.3", "uglify-js": "^3.19.3" } }