From 7935a15eb2a28db891eb77623b43898b1eb904bd Mon Sep 17 00:00:00 2001 From: Bruno Dutra Date: Thu, 8 Feb 2018 22:51:48 +0100 Subject: [PATCH] rename the project to webapp-webpack-plugin --- LICENSE | 2 +- README.md | 21 +++++++++++-------- lib/compiler.js | 2 +- package.json | 15 +++++++------ .../.cache | 2 +- .../manifest.json | 4 ++-- .../manifest.webapp | 2 +- .../.cache | 2 +- test/fixtures/expected/from-cache/index.html | 2 +- .../manifest.json | 4 ++-- .../manifest.webapp | 2 +- .../expected/generate-html/iconstats.json | 2 +- .../expected/generate-html/index.html | 2 +- .../manifest.json | 4 ++-- .../manifest.webapp | 2 +- .../expected/generate-json/iconstats.json | 2 +- 16 files changed, 38 insertions(+), 32 deletions(-) diff --git a/LICENSE b/LICENSE index 28c95fe..b95d324 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2016 Jan Nicklas +Copyright (c) 2016 Jan Nicklas, 2018 Bruno Dutra Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index f4f1e81..7ac1889 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ Favicons Webpack Plugin ======================================== -[![npm version](https://badge.fury.io/js/favicons-webpack-plugin.svg)](http://badge.fury.io/js/favicons-webpack-plugin) [![Dependency Status](https://david-dm.org/jantimon/favicons-webpack-plugin.svg)](https://david-dm.org/jantimon/favicons-webpack-plugin) [![Build status](https://travis-ci.org/jantimon/favicons-webpack-plugin.svg)](https://travis-ci.org/jantimon/favicons-webpack-plugin) [![js-semistandard-style](https://img.shields.io/badge/code%20style-semistandard-brightgreen.svg?style=flat-square)](https://github.com/Flet/semistandard) +[![npm version](https://badge.fury.io/js/webapp-webpack-plugin.svg)](http://badge.fury.io/js/webapp-webpack-plugin) +[![Dependency Status](https://david-dm.org/brunocodutra/webapp-webpack-plugin.svg)](https://david-dm.org/brunocodutra/webapp-webpack-plugin) +[![Build status](https://travis-ci.org/brunocodutra/webapp-webpack-plugin.svg)](https://travis-ci.org/brunocodutra/webapp-webpack-plugin) +[![js-semistandard-style](https://img.shields.io/badge/code%20style-semistandard-brightgreen.svg?style=flat-square)](https://github.com/Flet/semistandard) Allows to use the [favicons](https://github.com/haydenbleasel/favicons) generator with webpack @@ -10,7 +13,7 @@ You must be running webpack on node 0.12.x or higher Install the plugin with npm: ```shell -$ npm install --save-dev favicons-webpack-plugin +$ npm install --save-dev webapp-webpack-plugin ``` Basic Usage @@ -18,7 +21,7 @@ Basic Usage Add the plugin to your webpack config as follows: ```javascript -let FaviconsWebpackPlugin = require('favicons-webpack-plugin') +let FaviconsWebpackPlugin = require('webapp-webpack-plugin') ... @@ -27,12 +30,12 @@ plugins: [ ] ``` -This basic configuration will generate [37 different icons](https://github.com/jantimon/favicons-webpack-plugin/tree/master/test/fixtures/expected/default/icons-366a3768de05f9e78c392fa62b8fbb80) for iOS devices, Android devices and the Desktop browser out of your `my-logo.png` file. -It can optionally also generate a [JSON file with all information about the icons](https://github.com/jantimon/favicons-webpack-plugin/blob/master/test/fixtures/expected/generate-html/iconstats.json) for you. +This basic configuration will generate [37 different icons](https://github.com/brunocodutra/webapp-webpack-plugin/tree/master/test/fixtures/expected/default/icons-366a3768de05f9e78c392fa62b8fbb80) for iOS devices, Android devices and the Desktop browser out of your `my-logo.png` file. +It can optionally also generate a [JSON file with all information about the icons](https://github.com/brunocodutra/webapp-webpack-plugin/blob/master/test/fixtures/expected/generate-html/iconstats.json) for you. If you are using with [html-webpack-plugin](https://github.com/ampedandwired/html-webpack-plugin) it will also inject the necessary html for you: -https://github.com/jantimon/favicons-webpack-plugin/blob/master/test/fixtures/expected/default-with-html/index.html +https://github.com/brunocodutra/webapp-webpack-plugin/blob/master/test/fixtures/expected/default-with-html/index.html ```html @@ -87,14 +90,14 @@ plugins: [ # Changelog -Take a look at the [CHANGELOG.md](https://github.com/jantimon/favicons-webpack-plugin/tree/master/CHANGELOG.md). +Take a look at the [CHANGELOG.md](https://github.com/brunocodutra/webapp-webpack-plugin/tree/master/CHANGELOG.md). # Contribution -You're free to contribute to this project by submitting [issues](https://github.com/jantimon/favicons-webpack-plugin/issues) and/or [pull requests](https://github.com/jantimon/favicons-webpack-plugin/pulls). This project is test-driven, so keep in mind that every change and new feature should be covered by tests. +You're free to contribute to this project by submitting [issues](https://github.com/brunocodutra/webapp-webpack-plugin/issues) and/or [pull requests](https://github.com/brunocodutra/webapp-webpack-plugin/pulls). This project is test-driven, so keep in mind that every change and new feature should be covered by tests. This project uses the [semistandard code style](https://github.com/Flet/semistandard). # License -This project is licensed under [MIT](https://github.com/jantimon/favicons-webpack-plugin/blob/master/LICENSE). +This project is licensed under [MIT](https://github.com/brunocodutra/webapp-webpack-plugin/blob/master/LICENSE). diff --git a/lib/compiler.js b/lib/compiler.js index a46296b..80832f2 100644 --- a/lib/compiler.js +++ b/lib/compiler.js @@ -97,5 +97,5 @@ module.exports.compileTemplate = function compileTemplate (options, context, com function getCompilerName (context, filename) { var absolutePath = path.resolve(context, filename); var relativePath = path.relative(context, absolutePath); - return 'favicons-webpack-plugin for "' + (absolutePath.length < relativePath.length ? absolutePath : relativePath) + '"'; + return 'webapp-webpack-plugin for "' + (absolutePath.length < relativePath.length ? absolutePath : relativePath) + '"'; } diff --git a/package.json b/package.json index 9100799..5f0dd1a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "favicons-webpack-plugin", + "name": "webapp-webpack-plugin", "version": "0.0.7", - "description": "Let webpack generate all your favicons and icons for you", + "description": "Let webpack generate your progressive web app icons for you", "main": "index.js", "files": [ "index.js", @@ -15,7 +15,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/jantimon/favicons-webpack-plugin.git" + "url": "https://github.com/brunocodutra/webapp-webpack-plugin.git" }, "keywords": [ "webpack", @@ -24,15 +24,18 @@ "favicon", "icon" ], - "author": "Jan Nicklas (https://github.com/jantimon)", + "contributors": [ + "Bruno Dutra (https://github.com/brunocodutra)", + "Jan Nicklas (https://github.com/jantimon)" + ], "license": "MIT", "bugs": { - "url": "https://github.com/jantimon/favicons-webpack-plugin/issues" + "url": "https://github.com/brunocodutra/webapp-webpack-plugin/issues" }, "semistandard": { "parser": "babel-eslint" }, - "homepage": "https://github.com/jantimon/favicons-webpack-plugin", + "homepage": "https://github.com/brunocodutra/webapp-webpack-plugin", "devDependencies": { "ava": "^0.16.0", "babel-eslint": "^7.1.0", diff --git a/test/fixtures/expected/default/icons-366a3768de05f9e78c392fa62b8fbb80/.cache b/test/fixtures/expected/default/icons-366a3768de05f9e78c392fa62b8fbb80/.cache index 031b6c9..b06486f 100644 --- a/test/fixtures/expected/default/icons-366a3768de05f9e78c392fa62b8fbb80/.cache +++ b/test/fixtures/expected/default/icons-366a3768de05f9e78c392fa62b8fbb80/.cache @@ -1 +1 @@ -{"hash":"366a3768de05f9e78c392fa62b8fbb80","version":"0.0.7","optionHash":"7cd1db2b81827407a54506ba9dd2f19d","result":{"outputFilePrefix":"icons-366a3768de05f9e78c392fa62b8fbb80/","html":["","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"files":["icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-192x192.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-96x96.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-48x48.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-512x512.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-144x144.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-36x36.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-72x72.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-384x384.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-256x256.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-57x57.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-72x72.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-76x76.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-120x120.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-152x152.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-60x60.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-114x114.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-144x144.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-180x180.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-167x167.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-precomposed.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-640x920.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-320x460.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-640x1096.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-748x1024.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-768x1004.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-750x1294.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1182x2208.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1242x2148.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1536x2008.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1496x2048.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-16x16.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-32x32.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-96x96.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-230x230.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon.ico","icons-366a3768de05f9e78c392fa62b8fbb80/firefox_app_60x60.png","icons-366a3768de05f9e78c392fa62b8fbb80/firefox_app_128x128.png","icons-366a3768de05f9e78c392fa62b8fbb80/firefox_app_512x512.png","icons-366a3768de05f9e78c392fa62b8fbb80/manifest.json","icons-366a3768de05f9e78c392fa62b8fbb80/manifest.webapp"]}} \ No newline at end of file +{"hash":"366a3768de05f9e78c392fa62b8fbb80","version":"0.0.7","optionHash":"7cd1db2b81827407a54506ba9dd2f19d","result":{"outputFilePrefix":"icons-366a3768de05f9e78c392fa62b8fbb80/","html":["","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"files":["icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-192x192.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-96x96.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-48x48.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-512x512.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-144x144.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-36x36.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-72x72.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-384x384.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-256x256.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-57x57.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-72x72.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-76x76.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-120x120.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-152x152.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-60x60.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-114x114.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-144x144.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-180x180.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-167x167.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-precomposed.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-640x920.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-320x460.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-640x1096.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-748x1024.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-768x1004.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-750x1294.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1182x2208.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1242x2148.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1536x2008.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1496x2048.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-16x16.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-32x32.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-96x96.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-230x230.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon.ico","icons-366a3768de05f9e78c392fa62b8fbb80/firefox_app_60x60.png","icons-366a3768de05f9e78c392fa62b8fbb80/firefox_app_128x128.png","icons-366a3768de05f9e78c392fa62b8fbb80/firefox_app_512x512.png","icons-366a3768de05f9e78c392fa62b8fbb80/manifest.json","icons-366a3768de05f9e78c392fa62b8fbb80/manifest.webapp"]}} \ No newline at end of file diff --git a/test/fixtures/expected/default/icons-366a3768de05f9e78c392fa62b8fbb80/manifest.json b/test/fixtures/expected/default/icons-366a3768de05f9e78c392fa62b8fbb80/manifest.json index 330d191..514c025 100644 --- a/test/fixtures/expected/default/icons-366a3768de05f9e78c392fa62b8fbb80/manifest.json +++ b/test/fixtures/expected/default/icons-366a3768de05f9e78c392fa62b8fbb80/manifest.json @@ -1,6 +1,6 @@ { - "name": "favicons-webpack-plugin", - "short_name": "favicons-webpack-plugin", + "name": "webapp-webpack-plugin", + "short_name": "webapp-webpack-plugin", "description": null, "dir": "auto", "lang": "en-US", diff --git a/test/fixtures/expected/default/icons-366a3768de05f9e78c392fa62b8fbb80/manifest.webapp b/test/fixtures/expected/default/icons-366a3768de05f9e78c392fa62b8fbb80/manifest.webapp index 124fe1b..2eac2d9 100644 --- a/test/fixtures/expected/default/icons-366a3768de05f9e78c392fa62b8fbb80/manifest.webapp +++ b/test/fixtures/expected/default/icons-366a3768de05f9e78c392fa62b8fbb80/manifest.webapp @@ -1,6 +1,6 @@ { "version": "1.0", - "name": "favicons-webpack-plugin", + "name": "webapp-webpack-plugin", "description": null, "icons": { "60": "firefox_app_60x60.png", diff --git a/test/fixtures/expected/from-cache/icons-366a3768de05f9e78c392fa62b8fbb80/.cache b/test/fixtures/expected/from-cache/icons-366a3768de05f9e78c392fa62b8fbb80/.cache index e630836..46dac9b 100644 --- a/test/fixtures/expected/from-cache/icons-366a3768de05f9e78c392fa62b8fbb80/.cache +++ b/test/fixtures/expected/from-cache/icons-366a3768de05f9e78c392fa62b8fbb80/.cache @@ -1 +1 @@ -{"hash":"366a3768de05f9e78c392fa62b8fbb80","optionHash":"7cd1db2b81827407a54506ba9dd2f19d","result":{"outputFilePrefix":"icons-366a3768de05f9e78c392fa62b8fbb80/","html":["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"files":["icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-36x36.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-96x96.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-48x48.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-72x72.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-144x144.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-192x192.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-57x57.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-60x60.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-72x72.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-76x76.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-114x114.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-144x144.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-120x120.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-180x180.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-152x152.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-precomposed.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-32x32.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-16x16.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-230x230.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-96x96.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon.ico","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-640x920.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-320x460.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-748x1024.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-640x1096.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-750x1294.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-768x1004.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1182x2208.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1242x2148.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1536x2008.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1496x2048.png","icons-366a3768de05f9e78c392fa62b8fbb80/firefox_app_60x60.png","icons-366a3768de05f9e78c392fa62b8fbb80/firefox_app_128x128.png","icons-366a3768de05f9e78c392fa62b8fbb80/firefox_app_512x512.png","icons-366a3768de05f9e78c392fa62b8fbb80/manifest.json","icons-366a3768de05f9e78c392fa62b8fbb80/manifest.webapp"]},"version":"0.0.5"} \ No newline at end of file +{"hash":"366a3768de05f9e78c392fa62b8fbb80","optionHash":"7cd1db2b81827407a54506ba9dd2f19d","result":{"outputFilePrefix":"icons-366a3768de05f9e78c392fa62b8fbb80/","html":["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"files":["icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-36x36.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-96x96.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-48x48.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-72x72.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-144x144.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-192x192.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-57x57.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-60x60.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-72x72.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-76x76.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-114x114.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-144x144.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-120x120.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-180x180.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-152x152.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-precomposed.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-32x32.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-16x16.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-230x230.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-96x96.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon.ico","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-640x920.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-320x460.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-748x1024.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-640x1096.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-750x1294.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-768x1004.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1182x2208.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1242x2148.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1536x2008.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1496x2048.png","icons-366a3768de05f9e78c392fa62b8fbb80/firefox_app_60x60.png","icons-366a3768de05f9e78c392fa62b8fbb80/firefox_app_128x128.png","icons-366a3768de05f9e78c392fa62b8fbb80/firefox_app_512x512.png","icons-366a3768de05f9e78c392fa62b8fbb80/manifest.json","icons-366a3768de05f9e78c392fa62b8fbb80/manifest.webapp"]},"version":"0.0.5"} \ No newline at end of file diff --git a/test/fixtures/expected/from-cache/index.html b/test/fixtures/expected/from-cache/index.html index 95ca581..daf684c 100644 --- a/test/fixtures/expected/from-cache/index.html +++ b/test/fixtures/expected/from-cache/index.html @@ -3,7 +3,7 @@ Webpack App - + \ No newline at end of file diff --git a/test/fixtures/expected/generate-html/icons-366a3768de05f9e78c392fa62b8fbb80/manifest.json b/test/fixtures/expected/generate-html/icons-366a3768de05f9e78c392fa62b8fbb80/manifest.json index 330d191..514c025 100644 --- a/test/fixtures/expected/generate-html/icons-366a3768de05f9e78c392fa62b8fbb80/manifest.json +++ b/test/fixtures/expected/generate-html/icons-366a3768de05f9e78c392fa62b8fbb80/manifest.json @@ -1,6 +1,6 @@ { - "name": "favicons-webpack-plugin", - "short_name": "favicons-webpack-plugin", + "name": "webapp-webpack-plugin", + "short_name": "webapp-webpack-plugin", "description": null, "dir": "auto", "lang": "en-US", diff --git a/test/fixtures/expected/generate-html/icons-366a3768de05f9e78c392fa62b8fbb80/manifest.webapp b/test/fixtures/expected/generate-html/icons-366a3768de05f9e78c392fa62b8fbb80/manifest.webapp index 124fe1b..2eac2d9 100644 --- a/test/fixtures/expected/generate-html/icons-366a3768de05f9e78c392fa62b8fbb80/manifest.webapp +++ b/test/fixtures/expected/generate-html/icons-366a3768de05f9e78c392fa62b8fbb80/manifest.webapp @@ -1,6 +1,6 @@ { "version": "1.0", - "name": "favicons-webpack-plugin", + "name": "webapp-webpack-plugin", "description": null, "icons": { "60": "firefox_app_60x60.png", diff --git a/test/fixtures/expected/generate-html/iconstats.json b/test/fixtures/expected/generate-html/iconstats.json index 10d39fe..c7f02e3 100644 --- a/test/fixtures/expected/generate-html/iconstats.json +++ b/test/fixtures/expected/generate-html/iconstats.json @@ -1 +1 @@ -{"outputFilePrefix":"icons-366a3768de05f9e78c392fa62b8fbb80/","html":["","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"files":["icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-36x36.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-144x144.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-72x72.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-48x48.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-96x96.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-192x192.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-384x384.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-512x512.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-256x256.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-72x72.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-57x57.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-144x144.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-76x76.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-60x60.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-152x152.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-114x114.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-180x180.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-120x120.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-167x167.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-precomposed.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-750x1294.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-748x1024.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-640x920.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-640x1096.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1182x2208.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-320x460.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-768x1004.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1242x2148.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1536x2008.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1496x2048.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-16x16.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-32x32.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-96x96.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-230x230.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon.ico","icons-366a3768de05f9e78c392fa62b8fbb80/firefox_app_60x60.png","icons-366a3768de05f9e78c392fa62b8fbb80/firefox_app_128x128.png","icons-366a3768de05f9e78c392fa62b8fbb80/firefox_app_512x512.png","icons-366a3768de05f9e78c392fa62b8fbb80/manifest.json","icons-366a3768de05f9e78c392fa62b8fbb80/manifest.webapp"]} \ No newline at end of file +{"outputFilePrefix":"icons-366a3768de05f9e78c392fa62b8fbb80/","html":["","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"files":["icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-36x36.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-144x144.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-72x72.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-48x48.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-96x96.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-192x192.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-384x384.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-512x512.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-256x256.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-72x72.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-57x57.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-144x144.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-76x76.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-60x60.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-152x152.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-114x114.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-180x180.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-120x120.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-167x167.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-precomposed.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-750x1294.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-748x1024.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-640x920.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-640x1096.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1182x2208.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-320x460.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-768x1004.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1242x2148.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1536x2008.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1496x2048.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-16x16.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-32x32.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-96x96.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-230x230.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon.ico","icons-366a3768de05f9e78c392fa62b8fbb80/firefox_app_60x60.png","icons-366a3768de05f9e78c392fa62b8fbb80/firefox_app_128x128.png","icons-366a3768de05f9e78c392fa62b8fbb80/firefox_app_512x512.png","icons-366a3768de05f9e78c392fa62b8fbb80/manifest.json","icons-366a3768de05f9e78c392fa62b8fbb80/manifest.webapp"]} \ No newline at end of file diff --git a/test/fixtures/expected/generate-html/index.html b/test/fixtures/expected/generate-html/index.html index 5d32baa..635bc1d 100644 --- a/test/fixtures/expected/generate-html/index.html +++ b/test/fixtures/expected/generate-html/index.html @@ -3,7 +3,7 @@ Webpack App - + \ No newline at end of file diff --git a/test/fixtures/expected/generate-json/icons-366a3768de05f9e78c392fa62b8fbb80/manifest.json b/test/fixtures/expected/generate-json/icons-366a3768de05f9e78c392fa62b8fbb80/manifest.json index 330d191..514c025 100644 --- a/test/fixtures/expected/generate-json/icons-366a3768de05f9e78c392fa62b8fbb80/manifest.json +++ b/test/fixtures/expected/generate-json/icons-366a3768de05f9e78c392fa62b8fbb80/manifest.json @@ -1,6 +1,6 @@ { - "name": "favicons-webpack-plugin", - "short_name": "favicons-webpack-plugin", + "name": "webapp-webpack-plugin", + "short_name": "webapp-webpack-plugin", "description": null, "dir": "auto", "lang": "en-US", diff --git a/test/fixtures/expected/generate-json/icons-366a3768de05f9e78c392fa62b8fbb80/manifest.webapp b/test/fixtures/expected/generate-json/icons-366a3768de05f9e78c392fa62b8fbb80/manifest.webapp index 124fe1b..2eac2d9 100644 --- a/test/fixtures/expected/generate-json/icons-366a3768de05f9e78c392fa62b8fbb80/manifest.webapp +++ b/test/fixtures/expected/generate-json/icons-366a3768de05f9e78c392fa62b8fbb80/manifest.webapp @@ -1,6 +1,6 @@ { "version": "1.0", - "name": "favicons-webpack-plugin", + "name": "webapp-webpack-plugin", "description": null, "icons": { "60": "firefox_app_60x60.png", diff --git a/test/fixtures/expected/generate-json/iconstats.json b/test/fixtures/expected/generate-json/iconstats.json index 10d39fe..c7f02e3 100644 --- a/test/fixtures/expected/generate-json/iconstats.json +++ b/test/fixtures/expected/generate-json/iconstats.json @@ -1 +1 @@ -{"outputFilePrefix":"icons-366a3768de05f9e78c392fa62b8fbb80/","html":["","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"files":["icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-36x36.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-144x144.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-72x72.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-48x48.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-96x96.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-192x192.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-384x384.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-512x512.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-256x256.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-72x72.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-57x57.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-144x144.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-76x76.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-60x60.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-152x152.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-114x114.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-180x180.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-120x120.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-167x167.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-precomposed.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-750x1294.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-748x1024.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-640x920.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-640x1096.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1182x2208.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-320x460.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-768x1004.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1242x2148.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1536x2008.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1496x2048.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-16x16.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-32x32.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-96x96.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-230x230.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon.ico","icons-366a3768de05f9e78c392fa62b8fbb80/firefox_app_60x60.png","icons-366a3768de05f9e78c392fa62b8fbb80/firefox_app_128x128.png","icons-366a3768de05f9e78c392fa62b8fbb80/firefox_app_512x512.png","icons-366a3768de05f9e78c392fa62b8fbb80/manifest.json","icons-366a3768de05f9e78c392fa62b8fbb80/manifest.webapp"]} \ No newline at end of file +{"outputFilePrefix":"icons-366a3768de05f9e78c392fa62b8fbb80/","html":["","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"files":["icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-36x36.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-144x144.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-72x72.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-48x48.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-96x96.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-192x192.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-384x384.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-512x512.png","icons-366a3768de05f9e78c392fa62b8fbb80/android-chrome-256x256.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-72x72.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-57x57.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-144x144.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-76x76.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-60x60.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-152x152.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-114x114.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-180x180.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-120x120.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-167x167.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-icon-precomposed.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-750x1294.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-748x1024.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-640x920.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-640x1096.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1182x2208.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-320x460.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-768x1004.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1242x2148.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1536x2008.png","icons-366a3768de05f9e78c392fa62b8fbb80/apple-touch-startup-image-1496x2048.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-16x16.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-32x32.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-96x96.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon-230x230.png","icons-366a3768de05f9e78c392fa62b8fbb80/favicon.ico","icons-366a3768de05f9e78c392fa62b8fbb80/firefox_app_60x60.png","icons-366a3768de05f9e78c392fa62b8fbb80/firefox_app_128x128.png","icons-366a3768de05f9e78c392fa62b8fbb80/firefox_app_512x512.png","icons-366a3768de05f9e78c392fa62b8fbb80/manifest.json","icons-366a3768de05f9e78c392fa62b8fbb80/manifest.webapp"]} \ No newline at end of file