-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
92 lines (92 loc) · 3.03 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": "@alexanderolsen/feeder-node",
"version": "1.1.3",
"description": "Feed mono or stereo audio data for playback. Ideal for real-time audio.",
"keywords": [
"webrtc",
"websocket",
"real time",
"web assembly",
"wasm",
"libsamplerate",
"web audio",
"audio",
"feeder",
"stream",
"player",
"feed"
],
"main": "./dist/feeder-node.js",
"scripts": {
"build": "npx webpack",
"test": "jest --coverage",
"test:coverage": "node ./node_modules/coveralls/bin/coveralls.js < coverage/lcov.info",
"watch": "npx webpack --watch",
"watch-chunk-feeder": "nodemon --watch examples/chunk-feeder/src --exec \"cd examples/chunk-feeder; npx webpack --config webpack.config.js\""
},
"author": "Alexander Olsen",
"license": "MIT",
"homepage": "https://github.com/aolsenjazz/feeder-node",
"repository": "https://github.com/aolsenjazz/feeder-node",
"bugs": "https://github.com/aolsenjazz/feeder-node/issues",
"jest": {
"collectCoverageFrom": [
"src/*.js"
],
"moduleNameMapper": {
"@alexanderolsen/libsamplerate-js": "<rootDir>/src/__mocks__/libsamplerate.js",
"feeder-node.worker.js": "<rootDir>/src/__mocks__/feeder-node.worker.js",
"worker-resampler": "<rootDir>/src/__mocks__/worker-resampler.js",
"main-thread-resampler": "<rootDir>/src/__mocks__/main-thread-resampler.js",
"audio-worklet-backend": "<rootDir>/src/__mocks__/audio-worklet-backend.js",
"script-processor-backend": "<rootDir>/src/__mocks__/script-processor-backend.js",
"MAIN_THREAD_RESAMPLER": "<rootDir>/src/main-thread-resampler.js",
"WORKER_RESAMPLER": "<rootDir>/src/worker-resampler.js",
"SCRIPT_PROCESSOR_BACKEND": "<rootDir>/src/script-processor-backend.js",
"AUDIO_WORKLET_BACKEND": "<rootDir>/src/audio-worklet-backend.js",
"FEEDER_NODE_WORKER": "<rootDir>/src/feeder-node.worker.js"
}
},
"eslintConfig": {
"env": {
"browser": true,
"es2021": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"rules": {}
},
"dependencies": {
"@alexanderolsen/libsamplerate-js": "^2.1.1",
"@babel/runtime": "^7.12.5"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@fiverr/afterbuild-webpack-plugin": "^1.0.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^29.2.2",
"babel-loader": "^9.1.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"coveralls": "^3.1.0",
"eslint": "^8.26.0",
"eslint-plugin-jest": "^27.1.3",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"nodemon": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"string-replace-loader": "^3.0.1",
"wavefile": "^11.0.0",
"web-audio-test-api": "^0.5.2",
"webpack": "^5.14.0",
"webpack-cli": "^5.0.0"
}
}