cappasity-icons
Advanced tools
Comparing version 1.5.0 to 2.0.0
@@ -1,1 +0,1 @@ | ||
{"name":"Cappasity 3D Platform","icons":[{"src":"https://cdn.cappasity.com/icons/android-chrome-36x36.8bc962c8.png","sizes":"36x36","type":"image/png","density":0.75},{"src":"https://cdn.cappasity.com/icons/android-chrome-48x48.8fb6cbf2.png","sizes":"48x48","type":"image/png","density":1},{"src":"https://cdn.cappasity.com/icons/android-chrome-72x72.b20f8c89.png","sizes":"72x72","type":"image/png","density":1.5},{"src":"https://cdn.cappasity.com/icons/android-chrome-96x96.fbf0392e.png","sizes":"96x96","type":"image/png","density":2},{"src":"https://cdn.cappasity.com/icons/android-chrome-144x144.3d491879.png","sizes":"144x144","type":"image/png","density":3},{"src":"https://cdn.cappasity.com/icons/android-chrome-192x192.c2785e99.png","sizes":"192x192","type":"image/png","density":4}]} | ||
{"name":"Cappasity 3D Platform","short_name":"Cappasity 3D Platform","description":null,"dir":"auto","lang":"en-US","display":"standalone","orientation":"any","start_url":"/?homescreen=1","background_color":"#fff","icons":[{"src":"https://cdn.cappasity.com/icons/android-chrome-36x36.6727f6e2.png","sizes":"36x36","type":"image/png"},{"src":"https://cdn.cappasity.com/icons/android-chrome-48x48.470c67d9.png","sizes":"48x48","type":"image/png"},{"src":"https://cdn.cappasity.com/icons/android-chrome-72x72.33d0bb7e.png","sizes":"72x72","type":"image/png"},{"src":"https://cdn.cappasity.com/icons/android-chrome-96x96.8994db25.png","sizes":"96x96","type":"image/png"},{"src":"https://cdn.cappasity.com/icons/android-chrome-144x144.bc28501d.png","sizes":"144x144","type":"image/png"},{"src":"https://cdn.cappasity.com/icons/android-chrome-192x192.ba813e31.png","sizes":"192x192","type":"image/png"},{"src":"https://cdn.cappasity.com/icons/android-chrome-256x256.f53b01fa.png","sizes":"256x256","type":"image/png"},{"src":"https://cdn.cappasity.com/icons/android-chrome-384x384.93728142.png","sizes":"384x384","type":"image/png"},{"src":"https://cdn.cappasity.com/icons/android-chrome-512x512.e8659edd.png","sizes":"512x512","type":"image/png"}]} |
22
index.js
'use strict'; | ||
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } | ||
// icon sizes | ||
var APPLE_TOUCH_ICON_SIZES = [57, 60, 72, 76, 114, 120, 144, 152, 180]; | ||
var FAVICON_SIZES = [16, 32, 96]; | ||
// manifests | ||
@@ -13,19 +7,5 @@ var manifest = require('./rev-manifest.json'); | ||
// generates link for apple | ||
function appleIcon(size) { | ||
var dimensions = size + 'x' + size; | ||
var name = 'apple-touch-icon-' + dimensions + '.png'; | ||
return { rel: 'apple-touch-icon', sizes: dimensions, href: manifest[name] }; | ||
} | ||
// generates link for favicon | ||
function faviconIcon(size) { | ||
var dimensions = size + 'x' + size; | ||
var name = 'favicon-' + dimensions + '.png'; | ||
return { rel: 'icon', type: 'image/png', sizes: dimensions, href: manifest[name] }; | ||
} | ||
// exports react-helmet friendly format | ||
module.exports = exports = { | ||
links: [].concat(_toConsumableArray(APPLE_TOUCH_ICON_SIZES.map(appleIcon)), _toConsumableArray(FAVICON_SIZES.map(faviconIcon)), [{ rel: 'icon', type: 'image/png', sizes: '192x192', href: manifest['android-chrome-192x192.png'] }, { rel: 'manifest', href: manifest['manifest.json'] }, { rel: 'mask-icon', href: manifest['safari-pinned-tab.svg'], color: '#5bbad5' }]), | ||
links: [{ rel: 'icon', href: manifest['android-chrome-32x32.png'] }, { rel: 'apple-touch-icon-precomposed', href: manifest['android-chrome-512x512.png'] }, { rel: 'manifest', href: manifest['manifest.json'] }, { rel: 'mask-icon', href: manifest['safari-pinned-tab.svg'], color: '#5bbad5' }], | ||
meta: [{ name: 'msapplication-config', content: manifest['browserconfig.xml'] }, { name: 'msapplication-TileColor', content: '#b91d47' }, { name: 'msapplication-TileImage', content: manifest['mstile-144x144.png'] }, { name: 'theme-color', content: '#ffffff' }] | ||
@@ -32,0 +12,0 @@ }; |
{ | ||
"name": "cappasity-icons", | ||
"version": "1.5.0", | ||
"version": "2.0.0", | ||
"description": "contains cappasity icons for websites", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"prepublish": "NODE_ENV=production ./node_modules/.bin/gulp" | ||
"test": "eslint index.es6", | ||
"prepublishOnly": "NODE_ENV=production gulp" | ||
}, | ||
@@ -21,20 +21,22 @@ "repository": { | ||
"devDependencies": { | ||
"babel-eslint": "^6.0.2", | ||
"babel-core": "^6.26.0", | ||
"babel-eslint": "^7.2.3", | ||
"babel-preset-es2015": "^6.6.0", | ||
"babel-preset-stage-0": "^6.5.0", | ||
"dotenv": "^2.0.0", | ||
"eslint": "^2.7.0", | ||
"eslint-config-airbnb": "^6.2.0", | ||
"gcloud": "^0.30.2", | ||
"dotenv": "^4.0.0", | ||
"eslint": "^4.5.0", | ||
"eslint-config-makeomatic": "^1.1.0", | ||
"eslint-plugin-import": "^2.7.0", | ||
"eslint-plugin-promise": "^3.5.0", | ||
"gulp": "^3.9.1", | ||
"gulp-babel": "^6.1.2", | ||
"gulp-babel": "^7.0.0", | ||
"gulp-change": "^1.0.0", | ||
"gulp-gcloud": "^2.2.0", | ||
"gulp-gcloud-publish": "^1.2.1", | ||
"gulp-imagemin": "^2.4.0", | ||
"gulp-favicons": "^2.2.7", | ||
"gulp-gcloud": "^3.0.0", | ||
"gulp-imagemin": "^3.3.0", | ||
"gulp-real-favicon": "^0.2.1", | ||
"gulp-rev-all": "^0.8.24", | ||
"imagemin-pngquant": "^4.2.2", | ||
"gulp-rev-all": "^0.9.7", | ||
"imagemin-pngquant": "^5.0.1", | ||
"pixl-xml": "^1.0.6" | ||
} | ||
} |
{ | ||
"android-chrome-144x144.png": "https://cdn.cappasity.com/icons/android-chrome-144x144.3d491879.png", | ||
"android-chrome-192x192.png": "https://cdn.cappasity.com/icons/android-chrome-192x192.c2785e99.png", | ||
"android-chrome-36x36.png": "https://cdn.cappasity.com/icons/android-chrome-36x36.8bc962c8.png", | ||
"android-chrome-48x48.png": "https://cdn.cappasity.com/icons/android-chrome-48x48.8fb6cbf2.png", | ||
"android-chrome-72x72.png": "https://cdn.cappasity.com/icons/android-chrome-72x72.b20f8c89.png", | ||
"android-chrome-96x96.png": "https://cdn.cappasity.com/icons/android-chrome-96x96.fbf0392e.png", | ||
"apple-touch-icon-114x114.png": "https://cdn.cappasity.com/icons/apple-touch-icon-114x114.49656f02.png", | ||
"apple-touch-icon-120x120.png": "https://cdn.cappasity.com/icons/apple-touch-icon-120x120.55938b11.png", | ||
"apple-touch-icon-144x144.png": "https://cdn.cappasity.com/icons/apple-touch-icon-144x144.3d491879.png", | ||
"apple-touch-icon-152x152.png": "https://cdn.cappasity.com/icons/apple-touch-icon-152x152.ed888760.png", | ||
"apple-touch-icon-180x180.png": "https://cdn.cappasity.com/icons/apple-touch-icon-180x180.482abf9b.png", | ||
"apple-touch-icon-57x57.png": "https://cdn.cappasity.com/icons/apple-touch-icon-57x57.41448229.png", | ||
"apple-touch-icon-60x60.png": "https://cdn.cappasity.com/icons/apple-touch-icon-60x60.7e399a60.png", | ||
"apple-touch-icon-72x72.png": "https://cdn.cappasity.com/icons/apple-touch-icon-72x72.b20f8c89.png", | ||
"apple-touch-icon-76x76.png": "https://cdn.cappasity.com/icons/apple-touch-icon-76x76.1371ff58.png", | ||
"apple-touch-icon-precomposed.png": "https://cdn.cappasity.com/icons/apple-touch-icon-precomposed.482abf9b.png", | ||
"apple-touch-icon.png": "https://cdn.cappasity.com/icons/apple-touch-icon.482abf9b.png", | ||
"browserconfig.xml": "https://cdn.cappasity.com/icons/browserconfig.e7df6674.xml", | ||
"android-chrome-144x144.png": "https://cdn.cappasity.com/icons/android-chrome-144x144.bc28501d.png", | ||
"android-chrome-192x192.png": "https://cdn.cappasity.com/icons/android-chrome-192x192.ba813e31.png", | ||
"android-chrome-256x256.png": "https://cdn.cappasity.com/icons/android-chrome-256x256.f53b01fa.png", | ||
"android-chrome-36x36.png": "https://cdn.cappasity.com/icons/android-chrome-36x36.6727f6e2.png", | ||
"android-chrome-384x384.png": "https://cdn.cappasity.com/icons/android-chrome-384x384.93728142.png", | ||
"android-chrome-48x48.png": "https://cdn.cappasity.com/icons/android-chrome-48x48.470c67d9.png", | ||
"android-chrome-512x512.png": "https://cdn.cappasity.com/icons/android-chrome-512x512.e8659edd.png", | ||
"android-chrome-72x72.png": "https://cdn.cappasity.com/icons/android-chrome-72x72.33d0bb7e.png", | ||
"android-chrome-96x96.png": "https://cdn.cappasity.com/icons/android-chrome-96x96.8994db25.png", | ||
"apple-touch-icon-114x114.png": "https://cdn.cappasity.com/icons/apple-touch-icon-114x114.34841923.png", | ||
"apple-touch-icon-120x120.png": "https://cdn.cappasity.com/icons/apple-touch-icon-120x120.0f13a938.png", | ||
"apple-touch-icon-144x144.png": "https://cdn.cappasity.com/icons/apple-touch-icon-144x144.410c8ce9.png", | ||
"apple-touch-icon-152x152.png": "https://cdn.cappasity.com/icons/apple-touch-icon-152x152.b3f5f85d.png", | ||
"apple-touch-icon-167x167.png": "https://cdn.cappasity.com/icons/apple-touch-icon-167x167.ad0ab479.png", | ||
"apple-touch-icon-180x180.png": "https://cdn.cappasity.com/icons/apple-touch-icon-180x180.6d66c530.png", | ||
"apple-touch-icon-57x57.png": "https://cdn.cappasity.com/icons/apple-touch-icon-57x57.5745c09b.png", | ||
"apple-touch-icon-60x60.png": "https://cdn.cappasity.com/icons/apple-touch-icon-60x60.bb289252.png", | ||
"apple-touch-icon-72x72.png": "https://cdn.cappasity.com/icons/apple-touch-icon-72x72.c98e1f5b.png", | ||
"apple-touch-icon-76x76.png": "https://cdn.cappasity.com/icons/apple-touch-icon-76x76.9fa2d4d4.png", | ||
"apple-touch-icon-precomposed.png": "https://cdn.cappasity.com/icons/apple-touch-icon-precomposed.6d66c530.png", | ||
"apple-touch-icon.png": "https://cdn.cappasity.com/icons/apple-touch-icon.6d66c530.png", | ||
"browserconfig.xml": "https://cdn.cappasity.com/icons/browserconfig.40d986cb.xml", | ||
"cappasity-logo.svg": "https://cdn.cappasity.com/icons/cappasity-logo.1de55c03.svg", | ||
"favicon-16x16.png": "https://cdn.cappasity.com/icons/favicon-16x16.44d26059.png", | ||
"favicon-194x194.png": "https://cdn.cappasity.com/icons/favicon-194x194.79ee1882.png", | ||
"favicon-32x32.png": "https://cdn.cappasity.com/icons/favicon-32x32.17485ea6.png", | ||
"favicon-96x96.png": "https://cdn.cappasity.com/icons/favicon-96x96.fbf0392e.png", | ||
"favicon-16x16.png": "https://cdn.cappasity.com/icons/favicon-16x16.bde9b826.png", | ||
"favicon-194x194.png": "https://cdn.cappasity.com/icons/favicon-194x194.90dd18d6.png", | ||
"favicon-32x32.png": "https://cdn.cappasity.com/icons/favicon-32x32.6566ecf2.png", | ||
"favicon-96x96.png": "https://cdn.cappasity.com/icons/favicon-96x96.1d3ca3d5.png", | ||
"favicon.ico": "favicon.ico", | ||
"manifest.json": "https://cdn.cappasity.com/icons/manifest.4ec3073e.json", | ||
"mstile-144x144.png": "https://cdn.cappasity.com/icons/mstile-144x144.3f496cec.png", | ||
"mstile-150x150.png": "https://cdn.cappasity.com/icons/mstile-150x150.8bf916aa.png", | ||
"mstile-310x150.png": "https://cdn.cappasity.com/icons/mstile-310x150.14cd06f4.png", | ||
"mstile-310x310.png": "https://cdn.cappasity.com/icons/mstile-310x310.e0f16c65.png", | ||
"mstile-70x70.png": "https://cdn.cappasity.com/icons/mstile-70x70.5b1939ab.png", | ||
"firefox_app_128x128.png": "https://cdn.cappasity.com/icons/firefox_app_128x128.6d553ccb.png", | ||
"firefox_app_512x512.png": "https://cdn.cappasity.com/icons/firefox_app_512x512.e92632d9.png", | ||
"firefox_app_60x60.png": "https://cdn.cappasity.com/icons/firefox_app_60x60.8749014e.png", | ||
"manifest.json": "https://cdn.cappasity.com/icons/manifest.2cba8e83.json", | ||
"mstile-144x144.png": "https://cdn.cappasity.com/icons/mstile-144x144.bc28501d.png", | ||
"mstile-150x150.png": "https://cdn.cappasity.com/icons/mstile-150x150.6bcdcaf0.png", | ||
"mstile-310x150.png": "https://cdn.cappasity.com/icons/mstile-310x150.e2302dcd.png", | ||
"mstile-310x310.png": "https://cdn.cappasity.com/icons/mstile-310x310.248f742a.png", | ||
"mstile-70x70.png": "https://cdn.cappasity.com/icons/mstile-70x70.132daab8.png", | ||
"safari-pinned-tab.svg": "https://cdn.cappasity.com/icons/safari-pinned-tab.bf77d05f.svg" | ||
} |
{ | ||
"hash": "08d36779e16a85bfd24a57bbe13baab2", | ||
"timestamp": "2016-05-10T23:31:05.829Z" | ||
"hash": "4acff27bcfd92400aebb04313ae036ad", | ||
"timestamp": "2017-08-25T02:10:36.249Z" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
412895
44
1
19
55