forked from patorjk/d3-context-menu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 1.46 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
{
"name": "@targetpackage/d3-context-menu",
"version": "2.0.0",
"description": "A plugin for d3.js that allows you to easily use context menus in your visualizations.",
"main": "js/d3-context-menu.js",
"directories": {
"example": "examples"
},
"scripts": {
"build": "mkdirp dist && npm run build:bundle && npm run build:bundle:min && npm run build:css",
"build:bundle": "browserify -p esmify -t babelify --presets @babel/preset-env --entry ./js/d3-context-menu.js --standalone d3-context-menu --outfile ./dist/d3-context-menu.js",
"build:bundle:min": "terser ./dist/d3-context-menu.js --compress --mangle --output ./dist/d3-context-menu.min.js",
"build:css": "minify css/d3-context-menu.css > dist/d3-context-menu.min.css",
"format": "prettier --plugin-search-dir . --write ."
},
"repository": {
"type": "git",
"url": "https://github.com/TargetPackage/d3-context-menu.git"
},
"keywords": [
"d3",
"d3js",
"menu",
"context-menu",
"contextmenu"
],
"author": "Patrick Gillespie",
"license": "MIT",
"bugs": {
"url": "https://github.com/TargetPackage/d3-context-menu/issues"
},
"homepage": "https://github.com/TargetPackage/d3-context-menu",
"dependencies": {
"d3": "^7.7.0"
},
"devDependencies": {
"@babel/core": "^7.20.5",
"@babel/preset-env": "^7.20.2",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"esmify": "^2.1.1",
"minify": "^3.0.5",
"mkdirp": "^0.5.6",
"prettier": "^2.8.1",
"terser": "^5.16.1"
},
"type": "module"
}