chore: Updated manifest + added glimpse in debug mode
This commit is contained in:
+45
-40
@@ -1,41 +1,46 @@
|
|||||||
{
|
{
|
||||||
"name": "Wiki",
|
"background_color": "#fbfbfc",
|
||||||
"icons": [
|
"display": "standalone",
|
||||||
{
|
"icons": [
|
||||||
"src": "\/favicons\/android-icon-36x36.png",
|
{
|
||||||
"sizes": "36x36",
|
"src": "\/favicons\/android-icon-36x36.png",
|
||||||
"type": "image\/png",
|
"sizes": "36x36",
|
||||||
"density": "0.75"
|
"type": "image\/png",
|
||||||
},
|
"density": "0.75"
|
||||||
{
|
},
|
||||||
"src": "\/favicons\/android-icon-48x48.png",
|
{
|
||||||
"sizes": "48x48",
|
"src": "\/favicons\/android-icon-48x48.png",
|
||||||
"type": "image\/png",
|
"sizes": "48x48",
|
||||||
"density": "1.0"
|
"type": "image\/png",
|
||||||
},
|
"density": "1.0"
|
||||||
{
|
},
|
||||||
"src": "\/favicons\/android-icon-72x72.png",
|
{
|
||||||
"sizes": "72x72",
|
"src": "\/favicons\/android-icon-72x72.png",
|
||||||
"type": "image\/png",
|
"sizes": "72x72",
|
||||||
"density": "1.5"
|
"type": "image\/png",
|
||||||
},
|
"density": "1.5"
|
||||||
{
|
},
|
||||||
"src": "\/favicons\/android-icon-96x96.png",
|
{
|
||||||
"sizes": "96x96",
|
"src": "\/favicons\/android-icon-96x96.png",
|
||||||
"type": "image\/png",
|
"sizes": "96x96",
|
||||||
"density": "2.0"
|
"type": "image\/png",
|
||||||
},
|
"density": "2.0"
|
||||||
{
|
},
|
||||||
"src": "\/favicons\/android-icon-144x144.png",
|
{
|
||||||
"sizes": "144x144",
|
"src": "\/favicons\/android-icon-144x144.png",
|
||||||
"type": "image\/png",
|
"sizes": "144x144",
|
||||||
"density": "3.0"
|
"type": "image\/png",
|
||||||
},
|
"density": "3.0"
|
||||||
{
|
},
|
||||||
"src": "\/favicons\/android-icon-192x192.png",
|
{
|
||||||
"sizes": "192x192",
|
"src": "\/favicons\/android-icon-192x192.png",
|
||||||
"type": "image\/png",
|
"sizes": "192x192",
|
||||||
"density": "4.0"
|
"type": "image\/png",
|
||||||
}
|
"density": "4.0"
|
||||||
]
|
}
|
||||||
}
|
],
|
||||||
|
"name": "Wiki",
|
||||||
|
"short_name": "Wiki",
|
||||||
|
"start_url": "/",
|
||||||
|
"theme_color": "#3f51b5"
|
||||||
|
}
|
||||||
|
|||||||
@@ -124,6 +124,7 @@
|
|||||||
"yargs": "^8.0.1"
|
"yargs": "^8.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@glimpse/glimpse": "^0.20.8",
|
||||||
"babel-cli": "latest",
|
"babel-cli": "latest",
|
||||||
"babel-jest": "latest",
|
"babel-jest": "latest",
|
||||||
"babel-preset-es2015": "latest",
|
"babel-preset-es2015": "latest",
|
||||||
|
|||||||
@@ -16,6 +16,10 @@ const IS_DEBUG = process.env.NODE_ENV === 'development'
|
|||||||
|
|
||||||
process.env.VIPS_WARNING = false
|
process.env.VIPS_WARNING = false
|
||||||
|
|
||||||
|
if (IS_DEBUG) {
|
||||||
|
require('@glimpse/glimpse').init()
|
||||||
|
}
|
||||||
|
|
||||||
let appconf = require('./libs/config')()
|
let appconf = require('./libs/config')()
|
||||||
global.appconfig = appconf.config
|
global.appconfig = appconf.config
|
||||||
global.appdata = appconf.data
|
global.appdata = appconf.data
|
||||||
|
|||||||
Reference in New Issue
Block a user