1 | {
|
2 | "name": "billboard.js",
|
3 | "version": "3.14.2",
|
4 | "description": "Re-usable easy interface JavaScript chart library, based on D3 v4+",
|
5 | "homepage": "https://naver.github.io/billboard.js/",
|
6 | "main": "dist/billboard.js",
|
7 | "module": "dist-esm/billboard.js",
|
8 | "types": "types/index.d.ts",
|
9 | "type": "module",
|
10 | "exports": {
|
11 | ".": {
|
12 | "types": "./types/index.d.ts",
|
13 | "import": "./dist-esm/billboard.js",
|
14 | "require": "./dist/billboard.pkgd.js"
|
15 | },
|
16 | "./dist/plugin/*": {
|
17 | "types": "./types/plugin/*.d.ts",
|
18 | "import": "./dist-esm/plugin/*.js",
|
19 | "require": "./dist/plugin/pkgd/*.js"
|
20 | },
|
21 | "./dist/*": "./dist/*",
|
22 | "./src/Plugin/*": "./src/Plugin/*.js"
|
23 | },
|
24 | "scripts": {
|
25 | "start": "webpack serve --open",
|
26 | "start:plugin": "cross-env PLUGIN=true webpack-dev-server --open",
|
27 | "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",
|
28 | "build:cjs": "node ./config/cjs.js",
|
29 | "build:esm": "rollup -c ./config/rollup/esm.js",
|
30 | "build:production": "cross-env NODE_ENV=production webpack",
|
31 | "build:packaged": "cross-env NODE_ENV=packaged webpack",
|
32 | "build:dev": "cross-env NODE_ENV=development webpack",
|
33 | "build:theme": "cross-env NODE_ENV=theme webpack",
|
34 | "build:production:analyzer": "cross-env ANALYZER=true npm run build:production",
|
35 | "build:packaged:analyzer": "cross-env ANALYZER=true npm run build:packaged",
|
36 | "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",
|
37 | "build:plugin:types": "node ./config/type.d-plugin.js",
|
38 | "release": "semantic-release",
|
39 | "lint": "eslint",
|
40 | "format": "dprint fmt",
|
41 | "loc": "cloc --by-file src",
|
42 | "test": "vitest",
|
43 | "coverage": "vitest run",
|
44 | "coverage:ci": "cross-env NODE_ENV=CI npm run coverage",
|
45 | "coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
|
46 | "jsdoc": "node ./config/jsdoc.js",
|
47 | "jsdoc:cmd": "jsdoc -c jsdoc.json",
|
48 | "lint-staged": "lint-staged --config ./config/.lintstagedrc.json",
|
49 | "prepare": "husky install"
|
50 | },
|
51 | "sideEffects": [
|
52 | "dist/**/*.css",
|
53 | "src/**/*.js"
|
54 | ],
|
55 | "repository": {
|
56 | "type": "git",
|
57 | "url": "https://github.com/naver/billboard.js"
|
58 | },
|
59 | "bugs": {
|
60 | "url": "https://github.com/naver/billboard.js/issues"
|
61 | },
|
62 | "keywords": [
|
63 | "d3",
|
64 | "chart",
|
65 | "graph",
|
66 | "svg"
|
67 | ],
|
68 | "files": [
|
69 | "dist",
|
70 | "dist-esm",
|
71 | "src",
|
72 | "types",
|
73 | "CONTRIBUTING.md"
|
74 | ],
|
75 | "npmName": "billboard.js",
|
76 | "npmFileMap": [
|
77 | {
|
78 | "basePath": "dist",
|
79 | "files": [
|
80 | "**/*"
|
81 | ]
|
82 | }
|
83 | ],
|
84 | "author": "NAVER Corp.",
|
85 | "license": "MIT",
|
86 | "readmeFilename": "README.md",
|
87 | "dependencies": {
|
88 | "@types/d3-selection": "^3.0.11",
|
89 | "@types/d3-transition": "^3.0.9",
|
90 | "d3-axis": "^3.0.0",
|
91 | "d3-brush": "^3.0.0",
|
92 | "d3-drag": "^3.0.0",
|
93 | "d3-dsv": "^3.0.1",
|
94 | "d3-ease": "^3.0.1",
|
95 | "d3-hierarchy": "^3.1.2",
|
96 | "d3-interpolate": "^3.0.1",
|
97 | "d3-scale": "^4.0.2",
|
98 | "d3-selection": "^3.0.0",
|
99 | "d3-shape": "^3.2.0",
|
100 | "d3-time-format": "^4.1.0",
|
101 | "d3-transition": "^3.0.1",
|
102 | "d3-zoom": "^3.0.0"
|
103 | },
|
104 | "devDependencies": {
|
105 | "@commitlint/cli": "^19.5.0",
|
106 | "@commitlint/config-conventional": "^19.5.0",
|
107 | "@eslint/js": "^9.14.0",
|
108 | "@rollup/plugin-node-resolve": "^15.3.0",
|
109 | "@rollup/plugin-replace": "^6.0.1",
|
110 | "@rollup/plugin-typescript": "^12.1.1",
|
111 | "@semantic-release/changelog": "^6.0.3",
|
112 | "@semantic-release/commit-analyzer": "^13.0.0",
|
113 | "@semantic-release/exec": "^6.0.3",
|
114 | "@semantic-release/git": "^10.0.1",
|
115 | "@semantic-release/npm": "^12.0.1",
|
116 | "@semantic-release/release-notes-generator": "^14.0.1",
|
117 | "@testing-library/dom": "^10.4.0",
|
118 | "@testing-library/react": "^16.0.1",
|
119 | "@types/d3": "^7.4.3",
|
120 | "@types/sinon": "^17.0.3",
|
121 | "@vitest/browser": "^2.1.4",
|
122 | "@vitest/coverage-istanbul": "^2.1.4",
|
123 | "@vitest/ui": "^2.1.4",
|
124 | "better-docs": "^2.7.3",
|
125 | "clean-webpack-plugin": "^4.0.0",
|
126 | "cloc": "2.2.0-cloc",
|
127 | "core-js": "^3.39.0",
|
128 | "coveralls": "^3.1.1",
|
129 | "cross-env": "^7.0.3",
|
130 | "css-loader": "^7.1.2",
|
131 | "d3-color": "^3.1.0",
|
132 | "d3-delaunay": "^6.0.4",
|
133 | "d3-format": "^3.1.0",
|
134 | "d3-polygon": "^3.0.1",
|
135 | "docdash": "^2.0.2",
|
136 | "dprint": "^0.47.5",
|
137 | "esbuild-loader": "^4.2.2",
|
138 | "eslint": "^9.14.0",
|
139 | "eslint-plugin-import": "^2.31.0",
|
140 | "eslint-plugin-jsdoc": "^50.5.0",
|
141 | "husky": "^9.1.6",
|
142 | "jsdoc": "^4.0.4",
|
143 | "lint-staged": "^15.2.10",
|
144 | "mini-css-extract-plugin": "^2.9.2",
|
145 | "playwright": "^1.48.2",
|
146 | "regenerator-runtime": "^0.14.1",
|
147 | "rollup": "^4.26.0",
|
148 | "rollup-plugin-delete": "^2.1.0",
|
149 | "sass": "^1.80.7",
|
150 | "sass-loader": "^16.0.3",
|
151 | "semantic-release": "^24.2.0",
|
152 | "simulant": "^0.2.2",
|
153 | "sinon": "^19.0.2",
|
154 | "string-replace-loader": "^3.1.0",
|
155 | "style-loader": "^4.0.0",
|
156 | "tslib": "^2.8.1",
|
157 | "typescript": "^5.6.3",
|
158 | "typescript-eslint": "^8.14.0",
|
159 | "vitest": "^2.1.4",
|
160 | "webpack": "^5.96.1",
|
161 | "webpack-bundle-analyzer": "^4.10.2",
|
162 | "webpack-clean": "^1.2.5",
|
163 | "webpack-cli": "^5.1.4",
|
164 | "webpack-common-shake": "^2.1.0",
|
165 | "webpack-dev-server": "^5.1.0",
|
166 | "webpack-merge": "^6.0.1",
|
167 | "webpackbar": "^7.0.0",
|
168 | "write-file-webpack-plugin": "^4.5.1"
|
169 | },
|
170 | "packageManager": "yarn@4.3.1"
|
171 | }
|