UNPKG

billboard.js

Version:

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

187 lines (186 loc) 6.33 kB
{ "name": "billboard.js", "version": "2.0.0-next.5", "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/billboard.esm.js", "types": "types/index.d.ts", "scripts": { "check-types": "tsc", "start": "webpack-dev-server --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", "build:esm": "rollup -c ./config/rollup/esm.js", "build:production": "cross-env NODE_ENV=production webpack --output-reporter", "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 MIN=true webpack", "release": "semantic-release", "type-check": "tsc --noEmit", "lint": "eslint src --ext .ts", "loc": "cloc --by-file src", "test": "node --max-old-space-size=2048 ./node_modules/karma/bin/karma start", "test:chrome": "npm test -- --chrome", "coverage": "npm test -- --coverage", "coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", "jsdoc": "node ./config/jsdoc.js", "jsdoc:cmd": "jsdoc -c jsdoc.json" }, "sideEffects": [ "dist/**/*.css", "src/**/*.js" ], "husky": { "hooks": { "commit-msg": "commitlint -g ./config/commitlint.config.js -E HUSKY_GIT_PARAMS", "pre-push": "npm run lint" } }, "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", "src", "types", "CONTRIBUTING.md" ], "npmName": "billboard.js", "npmFileMap": [ { "basePath": "dist", "files": [ "**/*" ] } ], "author": "NAVER Corp.", "license": "MIT", "readmeFilename": "README.md", "dependencies": { "d3-axis": "^1.0.12", "d3-brush": "^1.1.5", "d3-color": "^1.4.1", "d3-drag": "^1.2.5", "d3-dsv": "^1.2.0", "d3-ease": "^1.0.6", "d3-interpolate": "^1.4.0", "d3-scale": "^2.2.2", "d3-selection": "^1.4.1", "d3-shape": "^1.3.7", "d3-time-format": "^2.2.3", "d3-transition": "^1.3.2", "d3-zoom": "^1.8.3" }, "devDependencies": { "@babel/core": "^7.10.2", "@babel/plugin-proposal-class-properties": "^7.10.1", "@babel/plugin-proposal-object-rest-spread": "^7.10.1", "@babel/plugin-transform-runtime": "^7.10.1", "@babel/preset-env": "^7.10.2", "@babel/preset-typescript": "^7.10.1", "@babel/runtime": "^7.10.2", "@commitlint/cli": "^8.3.5", "@commitlint/config-conventional": "^8.3.4", "@rollup/plugin-babel": "^5.0.3", "@rollup/plugin-node-resolve": "^8.0.1", "@rollup/plugin-replace": "^2.3.3", "@rollup/plugin-typescript": "^4.1.2", "@semantic-release/changelog": "^5.0.1", "@semantic-release/commit-analyzer": "^8.0.1", "@semantic-release/exec": "^5.0.0", "@semantic-release/git": "^9.0.0", "@semantic-release/npm": "^7.0.5", "@semantic-release/release-notes-generator": "^9.0.1", "@types/chai": "^4.2.11", "@types/d3": "^5.7.2", "@types/mocha": "^7.0.2", "@types/sinon": "^9.0.4", "@typescript-eslint/eslint-plugin": "^3.3.0", "@typescript-eslint/parser": "^3.3.0", "babel-eslint": "^10.1.0", "babel-helper-modules": "^6.0.0", "babel-loader": "^8.1.0", "babel-plugin-add-module-exports": "^1.0.2", "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-simplify": "^0.5.1", "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.0.1", "chai": "^4.2.0", "clean-webpack-plugin": "^3.0.0", "cloc": "^2.5.1", "core-js": "^3.6.5", "coveralls": "^3.1.0", "cross-env": "^7.0.2", "css-loader": "^3.6.0", "d3-format": "^1.4.4", "d3-polygon": "^1.0.6", "d3-voronoi": "^1.1.4", "docdash": "^1.2.0", "eslint": "^7.2.0", "eslint-config-naver": "^2.1.0", "eslint-loader": "^4.0.2", "eslint-plugin-import": "^2.21.2", "eslint-plugin-jsdoc": "^27.0.7", "exports-loader": "^1.0.0", "hammer-simulator": "0.0.1", "husky": "^4.2.5", "istanbul-instrumenter-loader": "^3.0.1", "istanbul-lib-instrument": "^4.0.3", "jsdoc": "^3.6.4", "karma": "^5.1.0", "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.7", "karma-webpack": "^4.0.2", "lite-fixture": "^1.0.2", "mini-css-extract-plugin": "^0.9.0", "mocha": "^8.0.1", "node-sass": "^4.14.1", "optimize-css-assets-webpack-plugin": "^5.0.3", "regenerator-runtime": "^0.13.5", "rollup": "^2.16.1", "sass-loader": "^8.0.2", "semantic-release": "^17.0.8", "simulant": "^0.2.2", "sinon": "^9.0.2", "string-replace-webpack-plugin": "^0.1.3", "style-loader": "^1.2.1", "terser-webpack-plugin": "^3.0.5", "typescript": "^3.9.5", "webpack": "^4.43.0", "webpack-bundle-analyzer": "^3.8.0", "webpack-clean": "^1.2.5", "webpack-cli": "^3.3.11", "webpack-common-shake": "^2.1.0", "webpack-dev-server": "^3.11.0", "webpack-merge": "^4.2.2", "webpackbar": "^4.0.0", "write-file-webpack-plugin": "^4.5.1" } }