diff --git a/assets/favicons/android-192x192@2x.png b/assets/favicons/android-192x192@2x.png index 4502c4e..7304ee1 100644 Binary files a/assets/favicons/android-192x192@2x.png and b/assets/favicons/android-192x192@2x.png differ diff --git a/assets/favicons/favicon-128x128@2x.png b/assets/favicons/favicon-128x128@2x.png index 096ead1..8385843 100644 Binary files a/assets/favicons/favicon-128x128@2x.png and b/assets/favicons/favicon-128x128@2x.png differ diff --git a/assets/favicons/touch-icon-ipad-retina.png b/assets/favicons/touch-icon-ipad-retina.png index 357222a..b20b28d 100644 Binary files a/assets/favicons/touch-icon-ipad-retina.png and b/assets/favicons/touch-icon-ipad-retina.png differ diff --git a/assets/favicons/touch-icon-ipad.png b/assets/favicons/touch-icon-ipad.png index b94e89f..0f1724d 100644 Binary files a/assets/favicons/touch-icon-ipad.png and b/assets/favicons/touch-icon-ipad.png differ diff --git a/assets/favicons/touch-icon-iphone-retina.png b/assets/favicons/touch-icon-iphone-retina.png index d4885a0..00b2d6f 100644 Binary files a/assets/favicons/touch-icon-iphone-retina.png and b/assets/favicons/touch-icon-iphone-retina.png differ diff --git a/assets/svg/icon-404.svg b/assets/svg/icon-404.svg index 4a98cff..6d20e1a 100644 --- a/assets/svg/icon-404.svg +++ b/assets/svg/icon-404.svg @@ -1,14 +1,5 @@ - - - - - Created with Sketch. - - - - - - - - - \ No newline at end of file + + + + + diff --git a/assets/svg/icon-bookmark-selected.svg b/assets/svg/icon-bookmark-selected.svg index cefdaa6..29a6523 100644 --- a/assets/svg/icon-bookmark-selected.svg +++ b/assets/svg/icon-bookmark-selected.svg @@ -1,14 +1,3 @@ - - - - icon favorite - Created with Sketch. - - - - - - - - - \ No newline at end of file + + + diff --git a/assets/svg/icon-bookmark.svg b/assets/svg/icon-bookmark.svg index 92d61c0..c8f0421 100644 --- a/assets/svg/icon-bookmark.svg +++ b/assets/svg/icon-bookmark.svg @@ -1,16 +1,3 @@ - - - - icon favorite - Created with Sketch. - - - - - - - - - - - \ No newline at end of file + + + diff --git a/assets/svg/icon-link-selected.svg b/assets/svg/icon-link-selected.svg index 1d83c35..208c208 100644 --- a/assets/svg/icon-link-selected.svg +++ b/assets/svg/icon-link-selected.svg @@ -1,21 +1,6 @@ - - - - link - Created with Sketch. - - - - - - - - - - - - - - + + + + - \ No newline at end of file + diff --git a/assets/svg/icon-link.svg b/assets/svg/icon-link.svg index 1353301..674115b 100644 --- a/assets/svg/icon-link.svg +++ b/assets/svg/icon-link.svg @@ -1,19 +1,6 @@ - - - - icon link - Created with Sketch. - - - - - - - - - - - - + + + + - \ No newline at end of file + diff --git a/assets/svg/icon-plus.svg b/assets/svg/icon-plus.svg index 0c9a330..c28644c 100644 --- a/assets/svg/icon-plus.svg +++ b/assets/svg/icon-plus.svg @@ -1,10 +1,6 @@ - - - - + + + diff --git a/assets/svg/icon-search.svg b/assets/svg/icon-search.svg index ef59b3d..2164bc8 100644 --- a/assets/svg/icon-search.svg +++ b/assets/svg/icon-search.svg @@ -1,17 +1,3 @@ - - - - icon search - Created with Sketch. - - - - - - - - - - - - \ No newline at end of file + + + diff --git a/assets/svg/icon-twitter-selected.svg b/assets/svg/icon-twitter-selected.svg index 55710b9..8501fb4 100644 --- a/assets/svg/icon-twitter-selected.svg +++ b/assets/svg/icon-twitter-selected.svg @@ -1 +1,3 @@ -Twitter \ No newline at end of file + + + diff --git a/assets/svg/icon-twitter.svg b/assets/svg/icon-twitter.svg index 02c3781..0938116 100644 --- a/assets/svg/icon-twitter.svg +++ b/assets/svg/icon-twitter.svg @@ -1 +1,3 @@ -Twitter + + + diff --git a/assets/svg/pulse-wordmark.svg b/assets/svg/pulse-wordmark.svg index 32ed8a9..547ab05 100644 --- a/assets/svg/pulse-wordmark.svg +++ b/assets/svg/pulse-wordmark.svg @@ -1 +1,10 @@ -mozilla-pulse_wordmark-interim \ No newline at end of file + + + + + + + + diff --git a/package.json b/package.json index f45839b..de95335 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,9 @@ "copy:manifest": "shx cp manifest.json dist", "copy:assets": "shx cp favicon.png dist && shx cp -r assets dist", "server": "node dist/server.bundle.js", + "optimize": "run-p optimize:**", + "optimize:svg": "find assets -type f -name '*.svg' -print0 | xargs -0 -n 1 -P 6 svgo --multipass --pretty --enable=removeTitle", + "optimize:png": "find assets -type f -name '*.png' -print0 | xargs -0 -n 1 -P 6 optipng", "watch:css": "chokidar 'components/**/*.scss' 'pages/**/*.scss' 'scss/**/*.scss' -c 'npm run build-client:scss'", "watch:html": "chokidar 'index.html' -c 'npm run build-client:static'", "watch:js": "chokidar 'main.jsx' 'routes.jsx' 'js/**/*.js' 'components/**/*.jsx' 'pages/**/*.jsx' 'pages/**/*.js' 'webpack.config.js' -c 'npm run build-client:js'", @@ -56,8 +59,10 @@ "eslint": "^3.11.1", "eslint-plugin-react": "^6.7.1", "mofo-style": "^2.4.0", + "optipng-bin": "^4.0.0", "stylelint": "^7.6.0", - "stylelint-config-standard": "^16.0.0" + "stylelint-config-standard": "^16.0.0", + "svgo": "^0.7.2" }, "dependencies": { "autoprefixer": "^6.5.3",