lighthouse-badges 1.5.2 → 1.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lighthouse-badges",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"description": "🚦Generate gh-badges (shields.io) based on Lighthouse performance.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"build:compile": "tsc",
|
|
16
16
|
"build:copy-declarations": "cp src/*.d.ts dist/src/ 2>/dev/null || true",
|
|
17
17
|
"build:prepare": "bun run clean && mkdir -p dist && jq '.main = \"src/index.js\" | .bin[\"lighthouse-badges\"] = \"src/index.js\"' package.json > dist/package.json && cp README.md LICENSE.md bun.lock dist/",
|
|
18
|
-
"ci:publish": "cd dist && npm publish",
|
|
18
|
+
"ci:publish": "bun run build && cd dist && npm publish",
|
|
19
19
|
"clean": "rm -rf *.svg *.html coverage dist results",
|
|
20
20
|
"docker:build": "bun run build && docker build --build-arg VCS_REF=`git rev-parse --short HEAD` --build-arg BUILD_DATE=`date -u +\"%Y-%m-%dT%H:%M:%SZ\"` --build-arg VERSION=latest -t emazzotta/lighthouse-badges .",
|
|
21
21
|
"docker:system-test:run": "docker run emazzotta/lighthouse-badges /bin/sh -c 'lighthouse-badges -rsu https://google.com && cd /home/lighthouse && EXEC_PATH=/home/chrome/reports bun run system-test:verify'",
|