1 | {
|
2 | "name": "billboard.js",
|
3 | "version": "3.0.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/billboard.esm.js",
|
8 | "types": "types/index.d.ts",
|
9 | "scripts": {
|
10 | "start": "webpack serve --open",
|
11 | "start:plugin": "cross-env PLUGIN=true webpack-dev-server --open",
|
12 | "build": "npm run build:production && npm run build:packaged && npm run build:theme && npm run build:plugin && npm run build:esm",
|
13 | "build:esm": "rollup -c ./config/rollup/esm.js",
|
14 | "build:production": "cross-env NODE_ENV=production webpack",
|
15 | "build:packaged": "cross-env NODE_ENV=packaged webpack",
|
16 | "build:dev": "cross-env NODE_ENV=development webpack",
|
17 | "build:theme": "cross-env NODE_ENV=theme webpack",
|
18 | "build:production:analyzer": "cross-env ANALYZER=true npm run build:production",
|
19 | "build:packaged:analyzer": "cross-env ANALYZER=true npm run build:packaged",
|
20 | "build:plugin": "cross-env NODE_ENV=plugin webpack && cross-env NODE_ENV=plugin MIN=true webpack",
|
21 | "release": "semantic-release",
|
22 | "lint": "npm run lint:types && eslint src --ext .ts",
|
23 | "lint:types": "dtslint --onlyTestTsNext types",
|
24 | "loc": "cloc --by-file src",
|
25 | "test": "node --max-old-space-size=3072 ./node_modules/karma/bin/karma start",
|
26 | "test:chrome": "cross-env TEST_TYPE=chrome npm test",
|
27 | "coverage": "cross-env TEST_TYPE=coverage npm test",
|
28 | "coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
|
29 | "jsdoc": "node ./config/jsdoc.js",
|
30 | "jsdoc:cmd": "jsdoc -c jsdoc.json",
|
31 | "prepare": "husky install"
|
32 | },
|
33 | "sideEffects": [
|
34 | "dist/**/*.css",
|
35 | "src/**/*.js"
|
36 | ],
|
37 | "repository": {
|
38 | "type": "git",
|
39 | "url": "https://github.com/naver/billboard.js"
|
40 | },
|
41 | "bugs": {
|
42 | "url": "https://github.com/naver/billboard.js/issues"
|
43 | },
|
44 | "keywords": [
|
45 | "d3",
|
46 | "chart",
|
47 | "graph",
|
48 | "svg"
|
49 | ],
|
50 | "files": [
|
51 | "dist",
|
52 | "src",
|
53 | "types",
|
54 | "CONTRIBUTING.md"
|
55 | ],
|
56 | "npmName": "billboard.js",
|
57 | "npmFileMap": [
|
58 | {
|
59 | "basePath": "dist",
|
60 | "files": [
|
61 | "**/*"
|
62 | ]
|
63 | }
|
64 | ],
|
65 | "author": "NAVER Corp.",
|
66 | "license": "MIT",
|
67 | "readmeFilename": "README.md",
|
68 | "dependencies": {
|
69 | "d3-axis": "^2.0.0",
|
70 | "d3-brush": "^2.1.0",
|
71 | "d3-color": "^2.0.0",
|
72 | "d3-drag": "^2.0.0",
|
73 | "d3-dsv": "^2.0.0",
|
74 | "d3-ease": "^2.0.0",
|
75 | "d3-interpolate": "^2.0.1",
|
76 | "d3-scale": "^3.2.3",
|
77 | "d3-selection": "^2.0.0",
|
78 | "d3-shape": "^2.0.0",
|
79 | "d3-time-format": "^3.0.0",
|
80 | "d3-transition": "^2.0.0",
|
81 | "d3-zoom": "^2.0.0"
|
82 | },
|
83 | "devDependencies": {
|
84 | "@babel/core": "^7.13.10",
|
85 | "@babel/plugin-proposal-class-properties": "^7.13.0",
|
86 | "@babel/plugin-proposal-object-rest-spread": "^7.13.8",
|
87 | "@babel/plugin-transform-runtime": "^7.13.10",
|
88 | "@babel/preset-env": "^7.13.12",
|
89 | "@babel/preset-typescript": "^7.13.0",
|
90 | "@babel/runtime": "^7.13.10",
|
91 | "@commitlint/cli": "^12.0.1",
|
92 | "@commitlint/config-conventional": "^12.0.1",
|
93 | "@rollup/plugin-babel": "^5.3.0",
|
94 | "@rollup/plugin-node-resolve": "^11.2.0",
|
95 | "@rollup/plugin-replace": "^2.4.1",
|
96 | "@rollup/plugin-typescript": "^8.2.0",
|
97 | "@semantic-release/changelog": "^5.0.1",
|
98 | "@semantic-release/commit-analyzer": "^8.0.1",
|
99 | "@semantic-release/exec": "^5.0.0",
|
100 | "@semantic-release/git": "^9.0.0",
|
101 | "@semantic-release/npm": "^7.0.10",
|
102 | "@semantic-release/release-notes-generator": "^9.0.2",
|
103 | "@types/chai": "^4.2.15",
|
104 | "@types/d3": "^6.3.0",
|
105 | "@types/mocha": "^8.2.1",
|
106 | "@types/sinon": "^9.0.10",
|
107 | "@typescript-eslint/eslint-plugin": "^4.16.1",
|
108 | "@typescript-eslint/parser": "^4.16.1",
|
109 | "babel-eslint": "^10.1.0",
|
110 | "babel-helper-modules": "^6.0.0",
|
111 | "babel-loader": "^8.2.2",
|
112 | "babel-plugin-add-module-exports": "^1.0.4",
|
113 | "babel-plugin-minify-constant-folding": "^0.5.0",
|
114 | "babel-plugin-minify-dead-code-elimination": "^0.5.1",
|
115 | "babel-plugin-minify-guarded-expressions": "^0.4.4",
|
116 | "babel-plugin-minify-numeric-literals": "^0.4.3",
|
117 | "babel-plugin-minify-simplify": "^0.5.1",
|
118 | "babel-plugin-minify-type-constructors": "^0.4.3",
|
119 | "babel-plugin-transform-inline-consecutive-adds": "^0.4.3",
|
120 | "babel-plugin-transform-merge-sibling-variables": "^6.9.4",
|
121 | "babel-plugin-transform-minify-booleans": "^6.9.4",
|
122 | "better-docs": "^2.3.2",
|
123 | "chai": "^4.3.4",
|
124 | "clean-webpack-plugin": "^3.0.0",
|
125 | "cloc": "^2.7.0",
|
126 | "core-js": "^3.9.1",
|
127 | "coveralls": "^3.1.0",
|
128 | "cross-env": "^7.0.3",
|
129 | "css-loader": "^5.1.3",
|
130 | "css-minimizer-webpack-plugin": "^1.3.0",
|
131 | "d3-format": "^2.0.0",
|
132 | "d3-polygon": "^2.0.0",
|
133 | "d3-voronoi": "^1.1.4",
|
134 | "docdash": "^1.2.0",
|
135 | "dtslint": "^4.0.7",
|
136 | "eslint": "^7.22.0",
|
137 | "eslint-config-naver": "^2.1.0",
|
138 | "eslint-loader": "^4.0.2",
|
139 | "eslint-plugin-import": "^2.22.1",
|
140 | "eslint-plugin-jsdoc": "^32.3.0",
|
141 | "exports-loader": "^2.0.0",
|
142 | "hammer-simulator": "0.0.1",
|
143 | "husky": "^6.0.0",
|
144 | "istanbul-instrumenter-loader": "^3.0.1",
|
145 | "istanbul-lib-instrument": "^4.0.3",
|
146 | "jsdoc": "^3.6.6",
|
147 | "karma": "^6.2.0",
|
148 | "karma-chai": "^0.1.0",
|
149 | "karma-chrome-launcher": "^3.1.0",
|
150 | "karma-coverage-istanbul-reporter": "^3.0.3",
|
151 | "karma-mocha": "^2.0.1",
|
152 | "karma-mocha-reporter": "^2.2.3",
|
153 | "karma-scss-preprocessor": "^4.0.0",
|
154 | "karma-sinon": "^1.0.5",
|
155 | "karma-sourcemap-loader": "^0.3.8",
|
156 | "karma-webpack": "^5.0.0-alpha.6",
|
157 | "lite-fixture": "^1.0.2",
|
158 | "mini-css-extract-plugin": "^1.3.9",
|
159 | "mocha": "^8.3.2",
|
160 | "node-sass": "^5.0.0",
|
161 | "regenerator-runtime": "^0.13.7",
|
162 | "rollup": "^2.42.3",
|
163 | "sass-loader": "^11.0.1",
|
164 | "semantic-release": "^17.4.2",
|
165 | "simulant": "^0.2.2",
|
166 | "sinon": "^10.0.0",
|
167 | "string-replace-loader": "^3.0.1",
|
168 | "style-loader": "^2.0.0",
|
169 | "terser-webpack-plugin": "^5.1.1",
|
170 | "tslib": "^2.0.3",
|
171 | "typescript": "^4.2.3",
|
172 | "webpack": "^5.27.2",
|
173 | "webpack-bundle-analyzer": "^4.4.0",
|
174 | "webpack-clean": "^1.2.5",
|
175 | "webpack-cli": "^4.5.0",
|
176 | "webpack-common-shake": "^2.1.0",
|
177 | "webpack-dev-server": "^4.0.0-beta.1",
|
178 | "webpack-merge": "^5.7.3",
|
179 | "webpackbar": "^5.0.0-3",
|
180 | "write-file-webpack-plugin": "^4.5.1"
|
181 | }
|
182 | }
|