blob: 537511ad183462daac271854aa555a8c30e2877d [file] [log] [blame]
{
"name": "@observablehq/plot",
"description": "A JavaScript library for exploratory data visualization.",
"version": "0.6.6",
"author": {
"name": "Observable, Inc.",
"url": "https://observablehq.com"
},
"license": "ISC",
"type": "module",
"main": "src/index.js",
"module": "src/index.js",
"jsdelivr": "dist/plot.umd.min.js",
"unpkg": "dist/plot.umd.min.js",
"exports": {
"umd": "./dist/plot.umd.min.js",
"default": "./src/index.js"
},
"types": "src/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/observablehq/plot.git"
},
"files": [
"dist/**/*.js",
"src/**/*.d.ts",
"src/**/*.js"
],
"scripts": {
"test": "yarn test:mocha && yarn test:tsc && yarn test:lint && yarn test:prettier",
"test:mocha": "mkdir -p test/output && mocha 'test/**/*-test.*' 'test/plot.js'",
"test:lint": "eslint src test",
"test:prettier": "prettier --check src test",
"test:tsc": "tsc",
"prepublishOnly": "rm -rf dist && rollup -c",
"postpublish": "git push && git push --tags",
"dev": "vite",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs"
},
"_moduleAliases": {
"@observablehq/plot": "./src/index.js"
},
"sideEffects": [
"./src/plot.js"
],
"devDependencies": {
"@esbuild-kit/core-utils": "^3.1.0",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.4.0",
"@types/d3": "^7.4.0",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"canvas": "^2.0.0",
"d3-geo-projection": "^4.0.0",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"get-tsconfig": "^4.1.0",
"htl": "^0.3.0",
"js-beautify": "1",
"jsdom": "^21.0.0",
"markdown-it-container": "^3.0.0",
"mocha": "^10.0.0",
"module-alias": "^2.0.0",
"prettier": "^2.7.1",
"rollup": "^3.7.0",
"topojson-client": "^3.1.0",
"typescript": "^5.0.2",
"vite": "^4.0.0",
"vitepress": "^1.0.0-alpha.72"
},
"dependencies": {
"d3": "^7.8.0",
"interval-tree-1d": "^1.0.0",
"isoformat": "^0.2.0"
},
"engines": {
"node": ">=12"
},
"publishConfig": {
"access": "public"
}
}