chore: Updated manifest + added glimpse in debug mode

This commit is contained in:
NGPixel
2017-05-14 13:56:33 -04:00
parent b2baa47dec
commit 435c9131d6
4 changed files with 50 additions and 40 deletions
+7 -2
View File
@@ -1,5 +1,6 @@
{ {
"name": "Wiki", "background_color": "#fbfbfc",
"display": "standalone",
"icons": [ "icons": [
{ {
"src": "\/favicons\/android-icon-36x36.png", "src": "\/favicons\/android-icon-36x36.png",
@@ -37,5 +38,9 @@
"type": "image\/png", "type": "image\/png",
"density": "4.0" "density": "4.0"
} }
] ],
"name": "Wiki",
"short_name": "Wiki",
"start_url": "/",
"theme_color": "#3f51b5"
} }
+1
View File
@@ -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",
+4
View File
@@ -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
BIN
View File
Binary file not shown.