-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
56 lines (56 loc) · 1.61 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
{
"name": "@wasm-codecs/mozjpeg",
"version": "1.0.1",
"description": "MozJPEG image encoder in WebAssembly",
"keywords": [
"wasm",
"webassembly",
"image",
"codec",
"mozjpeg"
],
"author": "Cyril Wanner <[email protected]>",
"homepage": "https://github.com/cyrilwanner/wasm-codecs/tree/master/packages/mozjpeg#readme",
"license": "MIT",
"scripts": {
"prebuild": "rimraf lib && mkdirp lib",
"build": "npm run build:wasm && npm run build:js && npm run build:types",
"prebuild:wasm": "docker build -t cyrilwanner/wasm-codecs-mozjpeg .",
"build:wasm": "docker run --rm -v `pwd`:/build cyrilwanner/wasm-codecs-mozjpeg /build/build.sh",
"build:js": "babel src --out-dir lib --extensions \".ts\"",
"build:types": "tsc --emitDeclarationOnly",
"lint": "tsc --noEmit && eslint . --ext .ts --ext .js",
"lint:fix": "npm run lint -- --fix",
"test": "jest",
"test:watch": "npm test -- --watch",
"test:sizes": "KEEP_IMAGE_OUTPUT=true jest --testPathIgnorePatterns '.*performance.*'"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.6",
"@wasm-codecs/test-utils": "^1.0.1",
"eslint": "^7.0.0",
"jest": "^26.0.1",
"mkdirp": "^1.0.4",
"rimraf": "^3.0.2",
"typescript": "^3.9.2"
},
"main": "lib/index.js",
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib"
],
"repository": {
"type": "git",
"url": "git+https://github.com/cyrilwanner/wasm-codecs.git"
},
"bugs": {
"url": "https://github.com/cyrilwanner/wasm-codecs/issues"
},
"publishConfig": {
"access": "public"
}
}