12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- {
- "name": "d3-force",
- "version": "3.0.0",
- "description": "Force-directed graph layout using velocity Verlet integration.",
- "homepage": "https://d3js.org/d3-force/",
- "repository": {
- "type": "git",
- "url": "https://github.com/d3/d3-force.git"
- },
- "keywords": [
- "d3",
- "d3-module",
- "layout",
- "network",
- "graph",
- "force",
- "verlet",
- "infovis"
- ],
- "license": "ISC",
- "author": {
- "name": "Mike Bostock",
- "url": "https://bost.ocks.org/mike"
- },
- "type": "module",
- "files": [
- "src/**/*.js",
- "dist/**/*.js"
- ],
- "module": "src/index.js",
- "main": "src/index.js",
- "jsdelivr": "dist/d3-force.min.js",
- "unpkg": "dist/d3-force.min.js",
- "exports": {
- "umd": "./dist/d3-force.min.js",
- "default": "./src/index.js"
- },
- "sideEffects": false,
- "dependencies": {
- "d3-dispatch": "1 - 3",
- "d3-quadtree": "1 - 3",
- "d3-timer": "1 - 3"
- },
- "devDependencies": {
- "eslint": "7",
- "mocha": "8",
- "rollup": "2",
- "rollup-plugin-terser": "7"
- },
- "scripts": {
- "test": "mocha 'test/**/*-test.js' && eslint src test",
- "prepublishOnly": "rm -rf dist && yarn test && rollup -c",
- "postpublish": "git push && git push --tags && cd ../d3.github.com && git pull && cp ../${npm_package_name}/dist/${npm_package_name}.js ${npm_package_name}.v${npm_package_version%%.*}.js && cp ../${npm_package_name}/dist/${npm_package_name}.min.js ${npm_package_name}.v${npm_package_version%%.*}.min.js && git add ${npm_package_name}.v${npm_package_version%%.*}.js ${npm_package_name}.v${npm_package_version%%.*}.min.js && git commit -m \"${npm_package_name} ${npm_package_version}\" && git push && cd -"
- },
- "engines": {
- "node": ">=12"
- }
- }
|