-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
38 lines (38 loc) · 1.36 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
{
"name": "libav-wasm",
"version": "0.3.4",
"main": "build/index.js",
"files": [
"build"
],
"types": "build/index.d.ts",
"type": "module",
"scripts": {
"dev": "npm i ./dist && concurrently \"npm run dev-wasm\" \"npm run dev-web\" \"npm run worker-build-dev\"",
"dev-wasm": "nodemon -e cpp --exec \"npm run make-docker\"",
"build-worker": "vite build --config vite-worker.config.ts",
"make-docker": "docker-compose run libav-wasm make",
"dev-web": "vite --port 1234",
"vite-build": "vite build",
"worker-build-dev": "nodemon -e ts --watch src/worker --exec \"npm run build-worker\"",
"build": "npm run copy-package && npm run make-docker && npm i ./dist && vite build && npm run build-worker && npm run types && npm run copy-wasm && npm remove libav",
"types": "tsc",
"copy-package": "copyfiles -u 2 ./src/build-config/package.json dist",
"copy-wasm": "copyfiles -u 1 dist/*.wasm build && shx mv ./build/worker/index.d.ts ./build/worker.d.ts && shx rm -rf ./build/worker",
"preview": "vite preview"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^24.0.1",
"concurrently": "^7.6.0",
"copyfiles": "^2.4.1",
"nodemon": "^2.0.22",
"p-debounce": "^4.0.0",
"shx": "^0.3.4",
"typescript": "^4.9.4",
"vite": "^4.0.4"
},
"dependencies": {
"osra": "^0.0.11",
"p-queue": "^7.3.0"
}
}