plotly.js
Version:
The open source javascript graphing library that powers plotly
166 lines (165 loc) • 6.11 kB
JSON
{
"name": "plotly.js",
"version": "4.0.0",
"description": "The open source javascript graphing library that powers plotly",
"license": "MIT",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"webpack": "./dist/plotly.js",
"repository": {
"type": "git",
"url": "git+https://github.com/plotly/plotly.js.git"
},
"bugs": {
"url": "https://github.com/plotly/plotly.js/issues"
},
"author": "Plotly, Inc.",
"keywords": [
"graphing",
"plotting",
"data",
"visualization",
"plotly"
],
"engines": {
"node": ">=22.0.0"
},
"scripts": {
"custom-bundle": "node tasks/custom_bundle.mjs",
"bundle": "node tasks/bundle.mjs",
"extra-bundles": "node tasks/extra_bundles.mjs",
"locales": "node tasks/locales.mjs",
"schema": "node tasks/schema.mjs",
"schema-typegen-diff-check": "npm run schema && git diff --exit-code src/types/generated/ test/plot-schema.json",
"stats": "node tasks/stats.mjs",
"find-strings": "node tasks/find_locale_strings.js",
"preprocess": "node tasks/preprocess.js",
"use-draftlogs": "node tasks/use_draftlogs.js",
"empty-draftlogs": "node tasks/empty_draftlogs.js",
"empty-dist": "node tasks/empty_dist.js",
"build": "npm run empty-dist && npm run preprocess && npm run find-strings && npm run bundle && npm run extra-bundles && npm run locales && npm run schema dist && npm run stats",
"regl-codegen": "node devtools/regl_codegen/server.mjs",
"cibuild": "npm run empty-dist && npm run preprocess && node tasks/cibundle.mjs",
"lint": "npx @biomejs/biome lint",
"lint-fix": "npx @biomejs/biome format ./test/image/mocks --write; npx @biomejs/biome lint --write || true",
"typecheck": "tsc --noEmit",
"typecheck-watch": "tsc --noEmit --watch",
"pretest": "node tasks/pretest.js",
"test-jasmine": "karma start test/jasmine/karma.conf.js",
"test-mock": "node tasks/test_mock.mjs",
"test-image": "node test/image/compare_pixels_test.mjs",
"test-export": "node test/image/export_test.js",
"test-syntax": "tsx tasks/test_syntax.js && npm run find-strings -- --no-output",
"test-bundle": "node tasks/test_bundle.js",
"test-plain-obj": "node tasks/test_plain_obj.mjs",
"test": "npm run test-jasmine -- --nowatch && npm run test-bundle && npm run test-image && npm run test-export && npm run test-syntax && npm run lint",
"b64": "python3 test/image/generate_b64_mocks.py && node devtools/test_dashboard/server.mjs",
"mathjax3": "node devtools/test_dashboard/server.mjs --mathjax3",
"mathjax3chtml": "node devtools/test_dashboard/server.mjs --mathjax3chtml",
"mathjax4chtml": "node devtools/test_dashboard/server.mjs --mathjax4chtml",
"strict": "node devtools/test_dashboard/server.mjs --strict",
"start": "node devtools/test_dashboard/server.mjs",
"baseline": "node test/image/make_baseline.mjs",
"preversion": "check-node-version --node 22 --npm 10 && npm-link-check && npm ls --prod --all",
"version": "npm run build && git add -A lib dist build src/version.js",
"postversion": "node -e \"console.log('Version bumped and committed. If ok, run: git push && git push --tags')\"",
"postpublish": "node tasks/sync_packages.js"
},
"dependencies": {
"@plotly/d3": "3.8.2",
"@plotly/d3-sankey": "0.12.3",
"@plotly/d3-sankey-circular": "0.33.1",
"@plotly/regl": "^2.1.2",
"@turf/area": "^7.3.5",
"@turf/centroid": "^7.3.5",
"@turf/meta": "^7.3.5",
"base64-arraybuffer": "^1.0.2",
"country-iso-search": "^0.1.1",
"culori": "^4.0.2",
"d3-force": "^1.2.1",
"d3-format": "^1.4.5",
"d3-geo": "^1.12.1",
"d3-geo-projection": "^2.9.0",
"d3-hierarchy": "^1.1.9",
"d3-interpolate": "^3.0.1",
"d3-time": "^1.1.0",
"d3-time-format": "^2.3.0",
"fast-isnumeric": "^1.1.4",
"gl-mat4": "^1.2.0",
"gl-text": "^1.4.0",
"has-hover": "^1.0.1",
"has-passive-events": "^1.0.0",
"is-mobile": "^5.0.0",
"maplibre-gl": "^5.24.0",
"mouse-event-offset": "^3.0.2",
"native-promise-only": "^0.8.1",
"parse-svg-path": "^0.2.0",
"point-in-polygon": "^1.1.0",
"polybooljs": "^1.2.2",
"probe-image-size": "^7.3.0",
"regl-error2d": "^2.0.12",
"regl-line2d": "^3.1.3",
"regl-scatter2d": "^3.4.0",
"regl-splom": "^1.0.14",
"strongly-connected-components": "^1.0.1",
"svg-path-sdf": "^2.0.0",
"topojson-client": "^3.1.0",
"webgl-context": "^2.2.0",
"world-calendars": "^1.0.4"
},
"devDependencies": {
"@biomejs/biome": "^2.5.5",
"@plotly/mathjax-v3": "npm:mathjax@^3.2.2",
"@plotly/mathjax-v4": "npm:mathjax@^4.1.3",
"@types/d3": "3.5.34",
"@types/node": "^26.1.1",
"assert": "^2.1.0",
"buffer": "^6.0.3",
"canvas": "^3.2.3",
"check-node-version": "^4.2.1",
"deep-equal": "^2.2.3",
"esbuild": "^0.28.1",
"esbuild-plugin-environment": "^0.5.0",
"esbuild-plugin-glsl": "^1.4.2",
"esbuild-plugin-inline-css": "^0.0.1",
"extra-iterable": "^3.3.2",
"falafel": "^2.2.5",
"fs-extra": "^11.4.0",
"fuse.js": "^7.5.0",
"glob": "^13.0.6",
"gzip-size": "^7.0.0",
"into-stream": "^9.1.0",
"jasmine": "3.5.0",
"jasmine-core": "3.5.0",
"jsdom": "^29.1.1",
"karma": "^6.4.4",
"karma-chrome-launcher": "^3.2.0",
"karma-esbuild": "^2.3.0",
"karma-firefox-launcher": "^2.1.3",
"karma-ie-launcher": "^1.0.0",
"karma-jasmine": "^3.3.1",
"karma-jasmine-spec-tags": "^1.3.0",
"karma-spec-reporter": "^0.0.36",
"karma-verbose-reporter": "^0.0.8",
"karma-viewport": "1.0.2",
"minify-stream": "^2.1.0",
"npm-link-check": "^5.0.1",
"pixelmatch": "^7.1.0",
"pretty-bytes": "^7.1.1",
"read-last-lines": "^1.8.0",
"run-series": "^1.1.9",
"sass": "^1.102.0",
"sirv": "^3.0.2",
"stream-browserify": "^3.0.0",
"true-case-path": "^2.2.1",
"tsx": "^4.23.1",
"typescript": "^7.0.2",
"virtual-webgl": "^1.0.7"
},
"overrides": {
"falafel": {
"acorn": "^8.1.1"
},
"to-px": "1.0.1"
}
}