forked from bbc/waveform-data.js
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
89 lines (89 loc) · 2.81 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
{
"name": "waveform-data",
"version": "4.3.0",
"description": "Audio Waveform Data Manipulation API – resample, offset and segment waveform data in JavaScript",
"main": "./dist/waveform-data.cjs.js",
"browser": "./dist/waveform-data.esm.js",
"types": "waveform-data.d.ts",
"files": [
"dist/waveform-data.cjs.js",
"dist/waveform-data.js",
"dist/waveform-data.js.map",
"dist/waveform-data.min.js",
"dist/waveform-data.min.js.map",
"dist/waveform-data.esm.js",
"waveform-data.d.ts",
"src"
],
"homepage": "https://github.com/bbc/waveform-data.js",
"scripts": {
"lint": "eslint karma.conf.cjs rollup.config.js src test",
"prebuild": "npm run lint",
"build": "rollup -c",
"postbuild": "copyfiles --up 1 dist/waveform-data.js dist/waveform-data.js.map dist/waveform-data.min.js dist/waveform-data.min.js.map demo",
"pretest": "npm run lint",
"test": "npm run test-node && npm run test-browsers",
"test-node": "npm run test-node-cjs && npm run test-node-esm",
"test-node-cjs": "mocha -R dot 'test/unit/tests-node-cjs.js'",
"test-node-esm": "mocha -R dot 'test/unit/tests-node-esm.js'",
"test-browsers": "karma start karma.conf.cjs",
"test-watch": "karma start karma.conf.cjs --no-single-run",
"prepare": "npm run build",
"prestart": "npm run build",
"start": "serve --listen 8080 --no-clipboard demo"
},
"repository": {
"type": "git",
"url": "git://github.com/bbc/waveform-data.js.git"
},
"keywords": [
"webaudio",
"waveform",
"audio",
"visualisation"
],
"contributors": [
"Thomas Parisot (https://github.com/oncletom)",
"Chris Needham (https://github.com/chrisn)"
],
"license": "LGPL-3.0",
"bugs": {
"url": "https://github.com/bbc/waveform-data.js/issues"
},
"browserslist": [
"last 2 versions",
"> 0.2%",
"IE 10"
],
"devDependencies": {
"@babel/preset-env": "~7.15.6",
"@babel/register": "~7.15.3",
"@rollup/plugin-babel": "~5.3.0",
"@rollup/plugin-commonjs": "~21.0.0",
"@rollup/plugin-node-resolve": "~13.0.5",
"babel-plugin-istanbul": "~6.0.0",
"brfs": "~2.0.2",
"chai": "~4.3.4",
"copyfiles": "~2.4.1",
"eslint": "~7.32.0",
"eslint-plugin-chai-friendly": "~0.7.2",
"karma": "~6.3.4",
"karma-chai-sinon": "~0.1.5",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.0.3",
"karma-firefox-launcher": "~2.1.1",
"karma-mocha": "~2.0.1",
"karma-rollup-preprocessor": "~7.0.7",
"karma-safari-launcher": "~1.0.0",
"karma-spec-reporter": "~0.0.32",
"mocha": "~9.1.2",
"rollup": "~2.58.0",
"rollup-plugin-terser": "~7.0.2",
"rollup-plugin-web-worker-loader": "~1.6.1",
"serve": "~12.0.1",
"sinon": "~11.1.2",
"sinon-chai": "~3.7.0",
"watchify": "~4.0.0",
"xvfb-maybe": "~0.2.1"
}
}