forked from GoogleChromeLabs/webm-wasm
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
30 lines (30 loc) · 1.34 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
{
"name": "webm-wasm",
"version": "0.4.1",
"description": "webm-wasm lets you create webm videos in JavaScript via WebAssembly.",
"scripts": {
"build:dockerimage": "docker image inspect -f '.' webmwasm || docker build -t webmwasm .",
"build:emscripten": "docker run --rm -v $(pwd):/src -e SKIP_LIBYUV=\"${SKIP_LIBYUV}\" -e SKIP_LIBVPX=\"${SKIP_LIBVPX}\" -e SKIP_LIBWEBM=\"${SKIP_LIBWEBM}\" webmwasm ./build.sh",
"build:bundle:worker": "microbundle build -f cjs -o dist/webm-worker.js src/worker/webm-worker.js",
"build:bundle:transformstreamworker": "microbundle build -f cjs -o dist/webm-transformstreamworker.js src/worker/webm-transformstreamworker.js",
"build:bundle": "npm run build:bundle:worker && npm run build:bundle:transformstreamworker",
"build": "npm run build:dockerimage && npm run build:emscripten && npm run build:bundle",
"serve": "http-server -c0"
},
"repository": {
"type": "git",
"url": "https://github.com/GoogleChromeLabs/webm-wasm.git"
},
"napa": {
"libwebm": "webmproject/libwebm#libwebm-1.0.0.27",
"libvpx": "webmproject/libvpx#v1.7.0",
"libyuv": "git+https://chromium.googlesource.com/libyuv/libyuv"
},
"devDependencies": {
"http-server": "^0.11.1",
"microbundle": "^0.9.0",
"napa": "^3.0.0"
},
"author": "Surma <[email protected]>",
"license": "Apache-2.0"
}