UNPKG

billboard.js

Version:

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

198 lines (197 loc) 6.41 kB
{ "name": "billboard.js", "version": "3.3.3", "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": { ".": { "import": "./dist-esm/billboard.js", "require": "./dist/billboard.pkgd.js" }, "./dist/plugin/*": { "import": "./dist-esm/plugin/*.js", "require": "./dist/plugin/pkgd/*.js" }, "./dist/*": "./dist/*" }, "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", "build:plugin:types": "node ./config/type.d-plugin.js", "release": "semantic-release", "lint": "npm run lint:types && eslint src --ext .ts", "lint:types": "dtslint --onlyTestTsNext types", "loc": "cloc --by-file src", "test": "node --max-old-space-size=3072 ./node_modules/karma/bin/karma start", "test:chrome": "cross-env TEST_TYPE=chrome npm test", "coverage": "cross-env TEST_TYPE=coverage npm test", "coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", "jsdoc": "node ./config/jsdoc.js", "jsdoc:cmd": "jsdoc -c jsdoc.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": { "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-interpolate": "^3.0.1", "d3-scale": "^4.0.2", "d3-selection": "^3.0.0", "d3-shape": "^3.1.0", "d3-time-format": "^4.1.0", "d3-transition": "^3.0.1", "d3-zoom": "^3.0.0" }, "devDependencies": { "@babel/core": "^7.17.5", "@babel/eslint-parser": "^7.17.0", "@babel/plugin-proposal-class-properties": "^7.16.7", "@babel/plugin-proposal-object-rest-spread": "^7.17.3", "@babel/plugin-transform-runtime": "^7.17.0", "@babel/preset-env": "^7.16.8", "@babel/preset-typescript": "^7.16.7", "@babel/runtime": "^7.17.2", "@commitlint/cli": "^15.0.0", "@commitlint/config-conventional": "^16.2.1", "@rollup/plugin-babel": "^5.3.0", "@rollup/plugin-node-resolve": "^13.1.3", "@rollup/plugin-replace": "^3.1.0", "@rollup/plugin-typescript": "^8.3.0", "@semantic-release/changelog": "^6.0.1", "@semantic-release/commit-analyzer": "^9.0.2", "@semantic-release/exec": "^6.0.3", "@semantic-release/git": "^10.0.1", "@semantic-release/npm": "^9.0.0", "@semantic-release/release-notes-generator": "^10.0.3", "@types/chai": "^4.3.0", "@types/d3": "^7.1.0", "@types/mocha": "^9.0.0", "@types/sinon": "^10.0.11", "@typescript-eslint/eslint-plugin": "^5.12.1", "@typescript-eslint/parser": "^5.12.1", "babel-helper-modules": "^6.0.0", "babel-loader": "^8.2.3", "babel-plugin-add-module-exports": "^1.0.4", "babel-plugin-minify-constant-folding": "^0.5.0", "babel-plugin-minify-dead-code-elimination": "^0.5.1", "babel-plugin-minify-guarded-expressions": "^0.4.4", "babel-plugin-minify-numeric-literals": "^0.4.3", "babel-plugin-minify-type-constructors": "^0.4.3", "babel-plugin-transform-inline-consecutive-adds": "^0.4.3", "babel-plugin-transform-merge-sibling-variables": "^6.9.4", "babel-plugin-transform-minify-booleans": "^6.9.4", "better-docs": "^2.7.2", "chai": "^4.3.4", "clean-webpack-plugin": "^4.0.0", "cloc": "^2.9.0", "core-js": "^3.21.1", "coveralls": "^3.1.1", "cross-env": "^7.0.3", "css-loader": "^6.6.0", "css-minimizer-webpack-plugin": "^3.3.1", "d3-color": "^3.0.1", "d3-delaunay": "^6.0.2", "d3-format": "^3.1.0", "d3-polygon": "^3.0.1", "docdash": "^1.2.0", "dtslint": "^4.2.1", "eslint": "^8.9.0", "eslint-config-naver": "^2.1.0", "eslint-plugin-import": "^2.25.4", "eslint-plugin-jsdoc": "^37.9.4", "eslint-webpack-plugin": "^3.1.1", "exports-loader": "^3.1.0", "hammer-simulator": "0.0.1", "husky": "^7.0.4", "istanbul-instrumenter-loader": "^3.0.1", "istanbul-lib-instrument": "^5.1.0", "jsdoc": "^3.6.10", "karma": "^6.3.16", "karma-chai": "^0.1.0", "karma-chrome-launcher": "^3.1.0", "karma-coverage-istanbul-reporter": "^3.0.3", "karma-mocha": "^2.0.1", "karma-mocha-reporter": "^2.2.3", "karma-scss-preprocessor": "^4.0.0", "karma-sinon": "^1.0.5", "karma-sourcemap-loader": "^0.3.8", "karma-webpack": "^5.0.0", "lite-fixture": "^1.0.2", "mini-css-extract-plugin": "^2.5.2", "mocha": "^9.2.1", "node-sass": "^7.0.1", "regenerator-runtime": "^0.13.7", "rollup": "^2.67.3", "rollup-plugin-delete": "^2.0.0", "sass-loader": "^12.6.0", "semantic-release": "^19.0.2", "simulant": "^0.2.2", "sinon": "^13.0.1", "string-replace-loader": "^3.1.0", "style-loader": "^3.3.1", "terser-webpack-plugin": "^5.3.1", "tslib": "^2.3.1", "typescript": "^4.5.4", "webpack": "^5.69.1", "webpack-bundle-analyzer": "^4.5.0", "webpack-clean": "^1.2.5", "webpack-cli": "^4.9.1", "webpack-common-shake": "^2.1.0", "webpack-dev-server": "^4.7.4", "webpack-merge": "^5.8.0", "webpackbar": "^5.0.2", "write-file-webpack-plugin": "^4.5.1" } }