forked from chase-moskal/webp-hero
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 1.79 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
{
"name": "webp-hero",
"version": "0.0.0-dev.20",
"description": "webp image format polyfill for browsers",
"main": "dist-cjs",
"types": "dist-cjs/index.d.ts",
"files": [
"dist",
"dist-cjs",
"libwebp/dist/webp.js",
"libwebp/dist/webp.d.ts",
"libwebp/dist/webp.cjs.js"
],
"scripts": {
"start": "http-server",
"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$'",
"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"
},
"repository": {
"type": "git",
"url": "git+https://github.com/chase-moskal/webp-hero.git"
},
"keywords": [
"webp",
"polyfill",
"webp-polyfill",
"image-conversion"
],
"author": "Chase Moskal <[email protected]>",
"license": "ISC",
"bugs": {
"url": "https://github.com/chase-moskal/webp-hero/issues"
},
"homepage": "https://github.com/chase-moskal/webp-hero#readme",
"dependencies": {},
"devDependencies": {
"array-from": "2.1.1",
"barrelsby": "2.0.0",
"browserify": "16.2.3",
"concat-cli": "4.0.0",
"es6-promise": "4.2.6",
"http-server": "0.11.1",
"mdn-polyfills": "5.16.0",
"mkdirp": "0.5.1",
"npm-run-all": "4.1.5",
"replace": "1.1.0",
"rimraf": "2.6.3",
"tinyify": "2.5.0",
"typescript": "3.3.3333"
}
}