-
Notifications
You must be signed in to change notification settings - Fork 68
/
package.json
92 lines (92 loc) · 2.95 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
{
"name": "d3-svg-annotation",
"version": "2.5.0",
"description": "",
"main": "indexRollup.js",
"jsnext:main": "indexRollupNext.js",
"web": "d3-annotation.js",
"web:independent": "d3-annotation.independent.js",
"module": "indexRollupNext.js",
"files": [
"index.js",
"indexRollup.js",
"indexRollup.js.map",
"indexRollupNext.js",
"indexRollupNext.js.map",
"d3-annotation.*",
"types/*"
],
"keywords": [
"d3",
"d3-module",
"annotation"
],
"directories": {},
"devDependencies": {
"babel-eslint": "7.1.1",
"babel-plugin-external-helpers": "6.18.0",
"babel-plugin-transform-object-assign": "6.22.0",
"babel-plugin-transform-object-rest-spread": "6.20.2",
"babel-preset-es2015": "6.18.0",
"babelify": "7.3.0",
"babelrc-rollup": "3.0.0",
"browserify": "13.1.1",
"eslint": "3.17.1",
"http-server": "0.9.0",
"jest": "^20.0.4",
"marked": "0.3.9",
"markedify": "0.0.2",
"npm-watch": "0.1.6",
"reify": "0.4.16",
"rollup": "0.41.4",
"rollup-plugin-babel": "2.6.1",
"rollup-plugin-node-resolve": "2.0.0",
"uglify-js": "2.8.1",
"@types/d3-dispatch": "1.0.4",
"@types/d3-selection": "1.0.10"
},
"scripts": {
"start": "npm run server & npm run watch",
"server": "http-server",
"rollup:web": "rollup -c rollupWeb.config.js && rollup -c rollupWebIndependent.config.js",
"docs": "node docs/browserify-docs.js && npm run docs-bundle",
"docs-bundle": "uglifyjs --source-map=docs/bundle.map --source-map-url=bundle.map -- docs/vendor/jquery2.1.1.min.js docs/vendor/materialize.min.js docs/vendor/d3-selection.js docs/vendor/d3-path.js docs/vendor/d3-shape.js docs/vendor/d3-dispatch.js docs/vendor/d3-drag.js docs/vendor/d3-transition.js d3-annotation.js docs/docs-compiled.js > docs/bundle.js",
"watch": "npm-watch",
"uglify": "uglifyjs d3-annotation.js -o d3-annotation.min.js -c -m",
"uglify:independent": "uglifyjs d3-annotation.independent.js -o d3-annotation.independent.min.js -c -m",
"prepublishOnly": "eslint src/** && npm run test:only && npm run rollup:web && npm run uglify && npm run uglify:independent && rollup -c rollupWeb.config.js && rollup -c && rollup -c rollupNext.config.js",
"test": "jest --watch",
"test:only": "jest"
},
"watch": {
"rollup:web": [
"src/*.js",
"src/**/*.js"
],
"docs": {
"patterns": [
"docs/docs.js",
"d3-annotation.js",
"docs/content/*.md"
],
"extensions": "js,md"
}
},
"repository": {
"type": "git",
"url": "https://github.com/susielu/d3-annotation.git"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/susielu/d3-annotation/issues"
},
"types": "./types/d3-svg-annotation.d.ts",
"dependencies": {
"d3-dispatch": "1.0.2",
"d3-drag": "1.2.3",
"d3-selection": "1.4.0",
"d3-shape": "1.0.4",
"d3-transition": "1.0.3"
},
"homepage": "http://d3-annotation.susielu.com"
}