UNPKG

billboard.js

Version:

Re-usable easy interface JavaScript chart library, based on D3 v4+

172 lines (171 loc) 5.21 kB
{ "name": "billboard.js", "version": "3.16.0", "description": "Re-usable easy interface JavaScript chart library, based on D3 v4+", "homepage": "https://naver.github.io/billboard.js/", "main": "dist/billboard.js", "module": "dist-esm/billboard.js", "types": "types/index.d.ts", "type": "module", "exports": { ".": { "types": "./types/index.d.ts", "import": "./dist-esm/billboard.js", "require": "./dist/billboard.pkgd.js" }, "./dist/plugin/*": { "types": "./types/plugin/*.d.ts", "import": "./dist-esm/plugin/*.js", "require": "./dist/plugin/pkgd/*.js" }, "./dist/*": "./dist/*", "./src/Plugin/*": "./src/Plugin/*.js" }, "scripts": { "start": "webpack serve --open", "start:plugin": "cross-env PLUGIN=true webpack-dev-server --open", "build": "npm run build:production && npm run build:packaged && npm run build:theme && npm run build:plugin && npm run build:esm && npm run build:cjs && npm run build:plugin:types", "build:cjs": "node ./config/cjs.js", "build:esm": "rollup -c ./config/rollup/esm.js", "build:production": "cross-env NODE_ENV=production webpack", "build:packaged": "cross-env NODE_ENV=packaged webpack", "build:dev": "cross-env NODE_ENV=development webpack", "build:theme": "cross-env NODE_ENV=theme webpack", "build:production:analyzer": "cross-env ANALYZER=true npm run build:production", "build:packaged:analyzer": "cross-env ANALYZER=true npm run build:packaged", "build:plugin": "cross-env NODE_ENV=plugin webpack && cross-env NODE_ENV=plugin MODE=min webpack && cross-env NODE_ENV=plugin MODE=pkgd webpack && cross-env NODE_ENV=plugin MODE=pkgd-min webpack", "build:plugin:types": "node ./config/type.d-plugin.js", "release": "semantic-release", "lint": "eslint", "format": "dprint fmt", "loc": "cloc --by-file src", "test": "vitest", "coverage": "vitest run", "coverage:ci": "cross-env NODE_ENV=CI npm run coverage", "coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", "jsdoc": "node ./config/jsdoc.js", "jsdoc:cmd": "jsdoc -c jsdoc.json", "lint-staged": "lint-staged --config ./config/.lintstagedrc.json", "prepare": "husky install" }, "sideEffects": [ "dist/**/*.css", "src/**/*.js" ], "repository": { "type": "git", "url": "https://github.com/naver/billboard.js" }, "bugs": { "url": "https://github.com/naver/billboard.js/issues" }, "keywords": [ "d3", "chart", "graph", "svg" ], "files": [ "dist", "dist-esm", "src", "types", "CONTRIBUTING.md" ], "npmName": "billboard.js", "npmFileMap": [ { "basePath": "dist", "files": [ "**/*" ] } ], "author": "NAVER Corp.", "license": "MIT", "readmeFilename": "README.md", "dependencies": { "@types/d3-selection": "^3.0.11", "@types/d3-transition": "^3.0.9", "d3-axis": "^3.0.0", "d3-brush": "^3.0.0", "d3-drag": "^3.0.0", "d3-dsv": "^3.0.1", "d3-ease": "^3.0.1", "d3-hierarchy": "^3.1.2", "d3-interpolate": "^3.0.1", "d3-scale": "^4.0.2", "d3-selection": "^3.0.0", "d3-shape": "^3.2.0", "d3-time-format": "^4.1.0", "d3-transition": "^3.0.1", "d3-zoom": "^3.0.0" }, "devDependencies": { "@commitlint/cli": "^19.8.1", "@commitlint/config-conventional": "^19.8.1", "@eslint/js": "^9.29.0", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-replace": "^6.0.2", "@rollup/plugin-typescript": "^12.1.3", "@semantic-release/changelog": "^6.0.3", "@semantic-release/commit-analyzer": "^13.0.1", "@semantic-release/exec": "^7.1.0", "@semantic-release/git": "^10.0.1", "@semantic-release/npm": "^12.0.1", "@semantic-release/release-notes-generator": "^14.0.3", "@testing-library/dom": "^10.4.0", "@testing-library/react": "^16.3.0", "@types/d3": "^7.4.3", "@types/sinon": "^17.0.4", "@vitest/browser": "^3.2.4", "@vitest/coverage-istanbul": "^3.2.4", "@vitest/ui": "^3.2.4", "better-docs": "^2.7.3", "clean-webpack-plugin": "^4.0.0", "cloc": "2.4.0-cloc", "core-js": "^3.43.0", "coveralls": "^3.1.1", "cross-env": "^7.0.3", "css-loader": "^7.1.2", "d3-color": "^3.1.0", "d3-delaunay": "^6.0.4", "d3-format": "^3.1.0", "d3-polygon": "^3.0.1", "docdash": "^2.0.2", "dprint": "^0.50.0", "esbuild-loader": "^4.3.0", "eslint": "^9.29.0", "eslint-plugin-import": "^2.32.0", "eslint-plugin-jsdoc": "^51.2.3", "husky": "^9.1.7", "jsdoc": "^4.0.4", "lint-staged": "^16.1.2", "mini-css-extract-plugin": "^2.9.2", "playwright": "^1.53.1", "regenerator-runtime": "^0.14.1", "rollup": "^4.44.0", "rollup-plugin-delete": "^3.0.1", "sass": "^1.89.2", "sass-loader": "^16.0.5", "semantic-release": "^24.2.5", "simulant": "^0.2.2", "sinon": "^21.0.0", "string-replace-loader": "^3.2.0", "style-loader": "^4.0.0", "tslib": "^2.8.1", "typescript": "^5.8.3", "typescript-eslint": "^8.35.0", "vitest": "^3.2.4", "webpack": "^5.99.9", "webpack-bundle-analyzer": "^4.10.2", "webpack-clean": "^1.2.5", "webpack-cli": "^6.0.1", "webpack-common-shake": "^2.1.0", "webpack-dev-server": "^5.2.2", "webpack-merge": "^6.0.1", "webpackbar": "^7.0.0", "write-file-webpack-plugin": "^4.5.1" }, "packageManager": "yarn@4.3.1" }