forked from naver/billboard.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
202 lines (202 loc) · 6.49 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
{
"name": "billboard.js",
"version": "3.10.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": {
".": {
"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 src --ext .ts",
"loc": "cloc --by-file src",
"test": "node --max-old-space-size=3072 ./node_modules/karma/bin/karma start ./karma.conf.cjs",
"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",
"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": {
"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": {
"@babel/core": "^7.23.7",
"@babel/eslint-parser": "^7.23.3",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-transform-runtime": "^7.23.7",
"@babel/preset-env": "^7.23.8",
"@babel/preset-typescript": "^7.23.3",
"@babel/runtime": "^7.23.8",
"@commitlint/cli": "18.5.0",
"@commitlint/config-conventional": "^18.5.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.5",
"@rollup/plugin-typescript": "^11.1.6",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^11.1.0",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^11.0.2",
"@semantic-release/release-notes-generator": "^12.1.0",
"@types/chai": "^4.3.11",
"@types/d3": "^7.4.3",
"@types/mocha": "^10.0.6",
"@types/sinon": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"babel-helper-modules": "^6.0.0",
"babel-loader": "^9.1.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.2",
"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.5",
"babel-plugin-transform-minify-booleans": "^6.9.4",
"better-docs": "^2.7.3",
"chai": "^4.3.10",
"clean-webpack-plugin": "^4.0.0",
"cloc": "^2.11.0",
"core-js": "^3.35.1",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"css-loader": "^6.9.1",
"css-minimizer-webpack-plugin": "^6.0.0",
"d3-color": "^3.1.0",
"d3-delaunay": "^6.0.4",
"d3-format": "^3.1.0",
"d3-polygon": "^3.0.1",
"docdash": "^2.0.2",
"eslint": "^8.56.0",
"eslint-config-naver": "^2.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^48.0.2",
"eslint-webpack-plugin": "^4.0.1",
"exports-loader": "^5.0.0",
"hammer-simulator": "0.0.1",
"husky": "^8.0.3",
"istanbul-instrumenter-loader": "^3.0.1",
"istanbul-lib-instrument": "^6.0.1",
"jsdoc": "^4.0.2",
"karma": "^6.4.2",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.2.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.4.0",
"karma-webpack": "^5.0.0",
"lint-staged": "^15.2.0",
"lite-fixture": "^1.0.2",
"mini-css-extract-plugin": "^2.7.7",
"mocha": "^10.2.0",
"node-sass": "^9.0.0",
"regenerator-runtime": "^0.14.1",
"rollup": "^4.9.6",
"rollup-plugin-delete": "^2.0.0",
"sass-loader": "^14.0.0",
"semantic-release": "^23.0.0",
"simulant": "^0.2.2",
"sinon": "^17.0.1",
"string-replace-loader": "^3.1.0",
"style-loader": "^3.3.4",
"taffydb": "^2.7.3",
"terser-webpack-plugin": "^5.3.10",
"tslib": "^2.6.2",
"typescript": "5.3.3",
"webpack": "^5.89.0",
"webpack-bundle-analyzer": "^4.10.1",
"webpack-clean": "^1.2.5",
"webpack-cli": "^5.1.4",
"webpack-common-shake": "^2.1.0",
"webpack-dev-server": "^4.15.1",
"webpack-merge": "^5.10.0",
"webpackbar": "^6.0.0",
"write-file-webpack-plugin": "^4.5.1"
}
}