-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
58 lines (58 loc) · 1.8 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
{
"name": "webp-hero",
"version": "0.0.2",
"description": "webp image format polyfill for browsers",
"main": "dist-cjs/index.js",
"module": "dist/index.js",
"types": "dist-cjs/index.d.ts",
"files": [
"dist",
"dist-cjs",
"libwebp/dist"
],
"scripts": {
"prepare": "run-s build test",
"build": "run-s clean barrel compile && run-p bundle polyfills",
"clean": "rimraf dist dist-cjs && mkdirp dist dist-cjs",
"barrel": "barrelsby --delete --directory source --exclude 'bundle.ts$' --exclude 'utils\\/.+$'",
"compile": "run-p compile-esm compile-cjs",
"compile-esm": "tsc",
"compile-cjs": "tsc --outDir dist-cjs --target es5 --module commonjs && replace 'libwebp\\/dist\\/webp\\.js' 'libwebp/dist/webp.cjs.js' dist-cjs/webp-machine.js",
"bundle": "browserify dist-cjs/webp-hero.bundle.js -p tinyify -o dist-cjs/webp-hero.bundle.js",
"polyfills": "concat-cli -f node_modules/es6-promise/dist/es6-promise.auto.min.js -f node_modules/mdn-polyfills/Array.from.js -o dist-cjs/polyfills.js",
"test": "exit 0",
"start": "http-server -p 5000"
},
"repository": {
"type": "git",
"url": "git+https://github.com/chase-moskal/webp-hero.git"
},
"keywords": [
"webp",
"polyfill",
"webp-polyfill",
"image-conversion"
],
"author": "Chase Moskal <chasemoskal@gmail.com>",
"license": "ISC",
"bugs": {
"url": "https://github.com/chase-moskal/webp-hero/issues"
},
"homepage": "https://github.com/chase-moskal/webp-hero#readme",
"devDependencies": {
"array-from": "^2.1.1",
"barrelsby": "^2.3.2",
"browserify": "^17.0.0",
"concat-cli": "^4.0.0",
"es6-promise": "^4.2.8",
"http-server": "^14.1.0",
"mdn-polyfills": "^5.20.0",
"mkdirp": "^1.0.4",
"npm-run-all": "^4.1.5",
"replace": "^1.2.1",
"rimraf": "^3.0.2",
"serve": "^13.0.2",
"tinyify": "^3.0.0",
"typescript": "^4.5.5"
}
}