Compare commits

..

4 Commits

Author SHA1 Message Date
Jake Archibald
8bf741ed4e 1.9.0 2019-10-30 13:20:33 +00:00
Surma
9f660e5178 add maskable icon (#709)
add maskable icon
2019-10-30 12:25:41 +00:00
Masataka Yakura
ef2318bcc1 support maskable icon
add a new entry to the icons member referring the maskable icon file added in 364a5db
2019-10-30 19:47:45 +09:00
Masataka Yakura
364a5db5d5 add maskable icon file 2019-10-30 19:44:49 +09:00
6 changed files with 10 additions and 25 deletions

View File

@@ -1,12 +1,4 @@
sudo: required
dist: xenial
language: node_js
node_js:
- '10'
addons:
chrome: stable
cache: npm
script:
- npm run build
- ./run_lighthouse.sh
script: npm run build
after_success: npm run sizereport

BIN
icon-large-maskable.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

4
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{
"name": "squoosh",
"version": "1.8.1",
"version": "1.9.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@@ -12861,7 +12861,7 @@
"dependencies": {
"minimist": {
"version": "1.2.0",
"resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
"integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",
"dev": true
}

View File

@@ -1,7 +1,7 @@
{
"private": true,
"name": "squoosh",
"version": "1.8.1",
"version": "1.9.0",
"license": "apache-2.0",
"scripts": {
"start": "webpack-dev-server --host 0.0.0.0 --hot",

View File

@@ -1,13 +0,0 @@
#!/bin/bash
npx http-server -c0 -p 9000 build &
npm install -g @lhci/cli@next
lhci collect --url=http://localhost:9000/
lhci assert --preset="lighthouse:recommended"
EXIT_CODE=$?
kill $!
exit $EXIT_CODE

View File

@@ -11,6 +11,12 @@
"src": "/assets/icon-large.png",
"type": "image/png",
"sizes": "1024x1024"
},
{
"src": "/assets/icon-large-maskable.png",
"type": "image/png",
"sizes": "1024x1024",
"purpose": "maskable"
}
],
"share_target": {