-
Notifications
You must be signed in to change notification settings - Fork 284
/
package.json
98 lines (98 loc) · 3.05 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
{
"name": "peaks.js",
"version": "4.0.0-beta.0",
"description": "JavaScript UI component for displaying audio waveforms",
"main": "./dist/peaks.min.js",
"module": "./dist/peaks.esm.js",
"types": "./peaks.js.d.ts",
"files": [
"peaks.js.d.ts",
"dist/peaks.js",
"dist/peaks.js.map",
"dist/peaks.min.js",
"dist/peaks.min.js.map",
"dist/peaks.esm.js",
"dist/peaks.ext.js",
"dist/peaks.ext.js.map",
"dist/peaks.ext.min.js",
"dist/peaks.ext.min.js.map"
],
"contributors": [
"Chris Finch (https://github.com/chrisfinch)",
"Thomas Parisot (https://github.com/oncletom)",
"Chris Needham (https://github.com/chrisn)"
],
"keywords": [
"audio",
"visualisation",
"webaudio",
"browser",
"interactive",
"waveform"
],
"repository": {
"type": "git",
"url": "git://github.com/bbc/peaks.js.git"
},
"license": "LGPL-3.0",
"engines": {
"node": ">= 8.11.2"
},
"browserslist": [
"last 2 versions",
"> 0.2%",
"not IE 11"
],
"scripts": {
"prebuild": "npm run lint",
"build": "rollup -c",
"postbuild": "copyfiles --up 1 dist/peaks.js dist/peaks.js.map dist/peaks.min.js dist/peaks.min.js.map dist/peaks.esm.js dist/peaks.esm.js.map dist/peaks.ext.js dist/peaks.ext.js.map dist/peaks.ext.min.js dist/peaks.ext.min.js.map demo",
"doc": "jsdoc --private --destination docs --recurse src",
"lint": "eslint src/*.js test/*.js test/*.cjs karma.conf.cjs rollup.config.mjs",
"pretest": "npm run lint",
"test": "karma start karma.conf.cjs",
"test-watch": "npm test -- --auto-watch --no-single-run",
"build-demo": "cd demo/custom-markers && rollup -c",
"copy-demo-files": "copyfiles --up 1 test/data/sample.mp3 test/data/07023003.mp3 test/data/07023003-2channel.dat demo",
"prestart": "npm run build && npm run build-demo && npm run copy-demo-files",
"start": "serve --listen 8080 --no-clipboard --no-request-logging demo",
"prepack": "npm run build"
},
"devDependencies": {
"@babel/preset-env": "~7.26.0",
"@rollup/plugin-babel": "~6.0.4",
"@rollup/plugin-commonjs": "~28.0.1",
"@rollup/plugin-json": "~6.1.0",
"@rollup/plugin-node-resolve": "~15.3.0",
"@rollup/plugin-terser": "~0.4.4",
"babel-plugin-istanbul": "~7.0.0",
"chai": "~4.3.10",
"copyfiles": "~2.4.1",
"eslint": "~8.57.0",
"jsdoc": "~4.0.3",
"karma": "~6.4.4",
"karma-chai-sinon": "~0.1.5",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.1",
"karma-firefox-launcher": "~2.1.3",
"karma-html2js-preprocessor": "~1.1.0",
"karma-mocha": "~2.0.1",
"karma-rollup-preprocessor": "~7.0.8",
"karma-safari-launcher": "~1.0.0",
"karma-spec-reporter": "~0.0.36",
"mocha": "~10.8.2",
"rollup": "~4.27.4",
"rollup-plugin-peer-deps-external": "~2.2.4",
"serve": "~14.2.3",
"sinon": "~19.0.2",
"sinon-chai": "~3.7.0",
"watchify": "~4.0.0"
},
"dependencies": {
"eventemitter3": "~5.0.1"
},
"peerDependencies": {
"konva": ">= 8.3.14 < 10",
"waveform-data": ">= 4.3.0 < 5"
}
}