UNPKG

webp-hero

Version:

webp image format polyfill for browsers

59 lines (58 loc) 1.8 kB
{ "name": "webp-hero", "version": "0.0.0-dev.27", "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": { "start": "serve", "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 <chasemoskal@gmail.com>", "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.2.0", "browserify": "^16.5.2", "concat-cli": "^4.0.0", "es6-promise": "^4.2.8", "mdn-polyfills": "^5.20.0", "mkdirp": "^1.0.4", "npm-run-all": "^4.1.5", "replace": "^1.2.0", "rimraf": "^3.0.2", "serve": "^11.3.2", "tinyify": "^3.0.0", "typescript": "^4.0.2" } }