-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
85 lines (85 loc) · 2.62 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
{
"name": "@alexanderolsen/libsamplerate-js",
"version": "2.1.2",
"description": "Resample audio in node or browser using a webassembly port of libsamplerate.",
"keywords": [
"web assembly",
"wasm",
"libsamplerate",
"sample rate",
"resample",
"resampler",
"web audio",
"audio",
"sample rate converter",
"src",
"dsp",
"node"
],
"main": "./dist/libsamplerate.js",
"files": [
"dist/"
],
"scripts": {
"build": "npx webpack",
"compile-library-docker": "scripts/library/build_library_docker.sh",
"compile-wasm-docker": "scripts/build_docker.sh",
"compile-wasm": "scripts/build_emscripten.sh",
"watch-ts": "nodemon --watch src --exec \"npx webpack\"",
"watch-cpp": "nodemon --watch src/*.cpp --watch src/*.h --exec \"npm run compile-wasm\"",
"watch-benchmarks": "nodemon --watch benchmarks/src --exec \"cd benchmarks; npx webpack --config webpack.config.js\"",
"watch-worker": "nodemon --watch examples/worker/src --exec \"cd examples/worker; npx webpack --config webpack.config.js\"",
"test": "jest --coverage",
"test:coverage": "node ./node_modules/coveralls/bin/coveralls.js < coverage/lcov.info"
},
"jest": {
"collectCoverageFrom": [
"src/src.ts",
"src/util.ts",
"src/libsamplerate.ts"
],
"coveragePathIgnorePatterns": [
"glue.js"
],
"moduleNameMapper": {
"glue.js": "<rootDir>/src/__mocks__/glue.js",
"src.js": "<rootDir>/src/__mocks__/src.js",
"SRC": "<rootDir>/src/src.ts"
}
},
"homepage": "https://github.com/aolsenjazz/libsamplerate-js",
"repository": "https://github.com/aolsenjazz/libsamplerate-js",
"bugs": "https://github.com/aolsenjazz/libsamplerate-js/issues",
"author": "Alexander Olsen",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.1",
"@typescript-eslint/eslint-plugin": "^5.44.0",
"@typescript-eslint/parser": "^5.44.0",
"babel-loader": "^9.0.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-polyfill": "^6.26.0",
"coveralls": "^3.1.0",
"eslint": "^8.26.0",
"ignore-loader": "^0.1.2",
"jest": "^29.2.2",
"nodemon": "^3.0.1",
"path-browserify": "^1.0.1",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "^5.0.1",
"ts-loader": "^9.2.5",
"typescript": "^4.4.2",
"wavefile": "^11.0.0",
"webpack": "^5.12.1",
"webpack-cli": "^5.0.0",
"worker-loader": "^3.0.7"
},
"browser": {
"fs": false
}
}