-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
93 lines (93 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
{
"name": "xsound",
"version": "4.0.1",
"engines": {
"node": ">=20.0.0 <=22.11.x"
},
"description": "XSound gives Web Developers Powerful Audio Features Easily !",
"main": "build/xsound.js",
"types": "build/types/main.d.ts",
"scripts": {
"clean": "rm -rf build",
"lint": "eslint 'src/**/*.ts' 'test/**/*.ts' 'mock/**/*.ts' jest.config.mjs webpack.config.mjs",
"fix": "eslint --fix 'src/**/*.ts' 'test/**/*.ts' 'mock/**/*.ts' jest.config.mjs webpack.config.mjs",
"type": "tsc --noEmit",
"build:types": "tsc --project tsconfig.types.json",
"build:js": "cross-env NODE_ENV=production webpack --progress --mode production",
"build:wasm:fft": "emcc -O3 -Wall --no-entry -o src/XSound/WebAssemblyModules/FFT.wasm src/XSound/WebAssemblyModules/FFT.cpp",
"build:wasm:noisegate": "emcc -O3 -Wall --no-entry -o src/SoundModule/Effectors/AudioWorkletProcessors/WebAssemblyModules/noisegate.wasm src/SoundModule/Effectors/AudioWorkletProcessors/WebAssemblyModules/noisegate.cpp",
"build:wasm:noisegenerator": "emcc -O3 -Wall --no-entry -o src/NoiseModule/WebAssemblyModules/noisegenerator.wasm src/NoiseModule/WebAssemblyModules/noisegenerator.cpp",
"build:wasm:noisesuppressor": "emcc -O3 -Wall --no-entry -o src/SoundModule/Effectors/AudioWorkletProcessors/WebAssemblyModules/noisesuppressor.wasm src/SoundModule/Effectors/AudioWorkletProcessors/WebAssemblyModules/noisesuppressor.cpp",
"build:wasm:pitchshifter": "emcc -O3 -Wall --no-entry -o src/SoundModule/Effectors/AudioWorkletProcessors/WebAssemblyModules/pitchshifter.wasm src/SoundModule/Effectors/AudioWorkletProcessors/WebAssemblyModules/pitchshifter.cpp",
"build:wasm:vocalcanceler": "emcc -O3 -Wall --no-entry -o src/SoundModule/Effectors/AudioWorkletProcessors/WebAssemblyModules/vocalcanceler.wasm src/SoundModule/Effectors/AudioWorkletProcessors/WebAssemblyModules/vocalcanceler.cpp",
"build:wasm": "run-p build:wasm:fft build:wasm:noisegate build:wasm:noisegenerator build:wasm:noisesuppressor build:wasm:pitchshifter build:wasm:vocalcanceler",
"build": "npm run clean && npm run build:wasm && npm run build:types && npm run build:js",
"watch": "npm run clean && webpack --progress --watch",
"dev": "webpack-dev-server --progress --mode production",
"test": "jest",
"test:coverage": "jest --coverage",
"test:verbose": "jest --verbose",
"test:detect": "jest --detectOpenHandles",
"release:patch": "npm version patch --message 'v%s' && git push && git push origin --tags",
"release:minor": "npm version minor --message 'v%s' && git push && git push origin --tags",
"release:major": "npm version major --message 'v%s' && git push && git push origin --tags",
"prepublishOnly": "npm run build",
"docs": "rm -rf docs && typedoc"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{src,test,mock}/**/*.ts": [
"eslint --fix"
]
},
"repository": {
"type": "git",
"url": "https://github.com/Korilakkuma/XSound.git"
},
"keywords": [
"XSound",
"TypeScript",
"JavaScript",
"Web Audio API",
"Web Audio",
"Web Audio API Library",
"Web Audio Library",
"Web Music"
],
"author": "Korilakkuma <rilakkuma.san.xjapan@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/Korilakkuma/XSound/issues"
},
"homepage": "https://xsound.jp",
"files": [
"build",
"LICENSE",
"package.json",
"README.md"
],
"devDependencies": {
"@types/jest": "^29.5.14",
"cross-env": "^7.0.3",
"dotenv-webpack": "^8.1.0",
"eslint": "^9.14.0",
"husky": "4.3.8",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.10",
"npm-run-all": "^4.1.5",
"terser-webpack-plugin": "^5.3.10",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"typedoc": "^0.26.11",
"typescript": "^5.6.3",
"typescript-eslint": "^8.13.0",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.1.0"
}
}