/
package.json
135 lines (135 loc) · 4.22 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
{
"name": "d3-milestones",
"version": "1.4.7",
"description": "A d3 based timeline visualization.",
"keywords": [
"d3",
"visualization",
"timeline"
],
"main": "build/d3-milestones.js",
"module": "src/main",
"jsnext:main": "src/main",
"homepage": "https://walterra.github.io/d3-milestones",
"repository": {
"type": "git",
"url": "https://github.com/walterra/d3-milestones.git"
},
"bugs": {
"url": "https://github.com/walterra/d3-milestones/issues"
},
"license": "Apache-2.0",
"contributors": [
"Walter Rafelsberger <walter.rafelsberger@elastic.co>"
],
"engines": {
"node": ">=16.18"
},
"dependencies": {
"d3-array": "^3.2.0",
"d3-collection": "^1.0.7",
"d3-scale": "^4.0.2",
"d3-selection": "^3.0.0",
"d3-time-format": "^4.1.0"
},
"devDependencies": {
"@babel/core": "^7.20.5",
"@babel/plugin-transform-modules-commonjs": "^7.15.0",
"@babel/preset-env": "^7.20.2",
"@elastic/apm-rum": "^5.12.0",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-eslint": "^8.0.1",
"@rollup/plugin-node-resolve": "^11.1.0",
"@storybook/addon-actions": "^6.5.15",
"@storybook/addon-essentials": "^6.5.15",
"@storybook/addon-links": "^6.5.15",
"@storybook/builder-webpack5": "^6.5.15",
"@storybook/html": "^6.5.15",
"@storybook/manager-webpack5": "^6.5.15",
"acorn": "^7.1.1",
"babel-jest": "^29.3.1",
"babel-loader": "^9.1.0",
"browserify": "^17.0.0",
"css-loader": "^6.5.1",
"eslint": "^7.16.0",
"eslint-config-es5": "^0.5.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-prettier": "^3.3.0",
"eslint-plugin-storybook": "^0.6.8",
"gh-pages": "^4.0.0",
"jest": "^29.3.1",
"karma": "^6.4.1",
"karma-firefox-launcher": "^2.1.2",
"karma-rollup-preprocessor": "^7.0.8",
"karma-tap": "^4.2.0",
"karma-tap-pretty-reporter": "^4.2.0",
"less": "^4.1.2",
"less-loader": "^10.2.0",
"npm-watch": "^0.11.0",
"prettier": "^2.2.1",
"regenerator-runtime": "^0.13.11",
"rollup": "^1.12.4",
"serve": "^13.0.2",
"style-loader": "^3.3.1",
"tap-spec": "^5.0.0",
"tape": "^5.6.1",
"tape-promise": "^4.0.0",
"uglify-js": "^3.9.3"
},
"scripts": {
"start": "serve .",
"build": "rm -rf build && mkdir build && rollup -c && yarn build-css",
"pretest": "browserify test/tape.js --standalone tape -o build/tape.js",
"watch": "rm -rf build && mkdir build && rollup -c --watch | yarn watch-css | serve .",
"lint": "eslint \"./src/**/*.js\" \"./test/**/*.js\"",
"test": "yarn build && yarn pretest && yarn test-jest && yarn test-karma",
"test-karma": "karma start karma.config.js",
"test-jest": "jest",
"test-watch": "karma start karma.config.js --no-single-run",
"build-css": "lessc src/styles/styles.less > build/d3-milestones.css",
"watch-css": "npm-watch build-css",
"prepare": "yarn build && yarn test && uglifyjs build/d3-milestones.js -c -m -o build/d3-milestones.min.js && yarn build-css",
"postpublish": "git push && git push --tags && zip -j build/d3-milestones.zip -- LICENSE.md README.md build/d3-milestones.css build/d3-milestones.js build/d3-milestones.min.js",
"storybook": "start-storybook -p 6006",
"predeploy": "yarn build-storybook",
"deploy-storybook": "gh-pages -d storybook-static",
"build-storybook": "build-storybook"
},
"watch": {
"build-css": {
"patterns": [
"src/styles"
],
"extensions": "less"
}
},
"resolutions": {
"async": "2.6.4",
"cached-path-relative": "1.1.0",
"decode-uri-component": "0.2.2",
"elliptic": "6.5.4",
"engine.io": "6.2.1",
"express": "4.17.3",
"follow-redirects": "1.14.8",
"glob-parent": "5.1.2",
"loader-utils": "1.4.2",
"lodash": "4.17.21",
"minimatch": "3.1.2",
"minimist": "1.2.6",
"nanoid": "3.3.4",
"nodemon": "2.0.20",
"node-fetch": "2.6.7",
"normalize-url": "4.5.1",
"path-parse": "1.0.7",
"plist": "3.0.5",
"qs": "6.10.3",
"socket.io-parser": "4.0.5",
"tap-out": "3.0.0",
"terser": "4.8.1",
"trim": "0.0.3",
"ua-parser-js": ">=0.7.24",
"ws": ">=7.4.6",
"x-default-browser": "0.5.2"
}
}