forked from bbc/peaks.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 3.98 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
{
"name": "peaks.js",
"version": "0.13.0",
"description": "JavaScript UI component for displaying audio waveforms",
"main": "./peaks.js",
"types": "./peaks.js.d.ts",
"contributors": [
"Chris Finch (https://github.com/chrisfinch)",
"Thomas Parisot (https://github.com/oncletom)",
"Chris Needham (https://github.com/chrisn)"
],
"keywords": [
"audio",
"visualisation",
"bbc",
"webaudio",
"browser",
"interactive",
"waveform"
],
"browser": {
"EventEmitter": "eventemitter2",
"peaks/player/player": "./src/main/player/player.js",
"peaks/player/player.keyboard": "./src/main/player/player.keyboard.js",
"peaks/waveform/waveform.axis": "./src/main/waveform/waveform.axis.js",
"peaks/waveform/waveform-builder": "./src/main/waveform/waveform-builder.js",
"peaks/waveform/waveform.mixins": "./src/main/waveform/waveform.mixins.js",
"peaks/waveform/waveform.utils": "./src/main/waveform/waveform.utils.js",
"peaks/views/playhead-layer": "./src/main/views/playhead-layer.js",
"peaks/views/points-layer": "./src/main/views/points-layer.js",
"peaks/views/segments-layer": "./src/main/views/segments-layer.js",
"peaks/views/view-controller": "./src/main/views/view-controller.js",
"peaks/views/waveform-shape": "./src/main/views/waveform-shape.js",
"peaks/views/waveform.overview": "./src/main/views/waveform.overview.js",
"peaks/views/waveform.timecontroller": "./src/main/views/waveform.timecontroller.js",
"peaks/views/waveform.zoomcontroller": "./src/main/views/waveform.zoomcontroller.js",
"peaks/views/waveform.zoomview": "./src/main/views/waveform.zoomview.js",
"peaks/views/helpers/mousedraghandler": "./src/main/views/helpers/mousedraghandler.js",
"peaks/views/zooms/animated": "./src/main/views/zooms/animated.js",
"peaks/views/zooms/static": "./src/main/views/zooms/static.js",
"peaks/markers/point": "./src/main/markers/point",
"peaks/markers/segment": "./src/main/markers/segment",
"peaks/markers/waveform.points": "./src/main/markers/waveform.points.js",
"peaks/markers/waveform.segments": "./src/main/markers/waveform.segments.js",
"peaks/cues/cue-emitter": "./src/main/cues/cue-emitter.js",
"peaks/cues/cue": "./src/main/cues/cue.js"
},
"repository": {
"type": "git",
"url": "git://github.com/bbc/peaks.js.git"
},
"license": "LGPL-3.0",
"engines": {
"node": ">= 8.11.2"
},
"scripts": {
"prebuild": "npm run lint",
"build": "browserify -d -e ./src/main.js -t deamdify -s peaks | exorcist peaks.js.map | derequire - > peaks.js",
"postbuild": "cp peaks.js demo && cp peaks.js.map demo",
"doc": "jsdoc --private --destination docs --recurse src",
"lint": "eslint src/**/*.js test/**/*.js karma.conf.js",
"pretest": "npm run build",
"test": "./node_modules/karma/bin/karma start",
"test-watch": "npm test -- --auto-watch --no-single-run",
"copy-demo-files": "cp test_data/sample.mp3 demo && cp test_data/07023003.mp3 demo && cp test_data/07023003-2channel.dat demo",
"prestart": "npm run build && npm run copy-demo-files",
"prepublish": "npm run build",
"start": "serve --listen 8080 --no-clipboard demo"
},
"devDependencies": {
"browserify": "~16.5.0",
"chai": "~4.2.0",
"deamdify": "~0.3.0",
"derequire": "~2.0.3",
"eslint": "~6.3.0",
"exorcist": "~1.0.1",
"jsdoc": "~3.6.3",
"karma": "~4.3.0",
"karma-browserify": "~6.1.0",
"karma-browserstack-launcher": "~1.5.1",
"karma-chai-sinon": "~0.1.5",
"karma-chrome-launcher": "~3.1.0",
"karma-firefox-launcher": "~1.2.0",
"karma-html2js-preprocessor": "~1.1.0",
"karma-mocha": "~1.3.0",
"karma-safari-launcher": "~1.0.0",
"karma-spec-reporter": "~0.0.32",
"mocha": "~6.2.0",
"serve": "~11.1.0",
"sinon": "~7.4.1",
"sinon-chai": "~3.3.0",
"watchify": "~3.11.1"
},
"dependencies": {
"colors.css": "~3.0.0",
"eventemitter2": "~5.0.1",
"konva": "~4.0.6",
"waveform-data": "~3.0.0"
}
}