lighthouse-badges 1.2.0 → 1.2.1
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/.github/workflows/build.yml +14 -0
- package/dist/package.json +6 -5
- package/package.json +6 -5
|
@@ -24,6 +24,20 @@ jobs:
|
|
|
24
24
|
with:
|
|
25
25
|
version: latest
|
|
26
26
|
|
|
27
|
+
- name: Setup Node.js environment
|
|
28
|
+
uses: actions/setup-node@v3
|
|
29
|
+
with:
|
|
30
|
+
node-version: 16
|
|
31
|
+
cache: "npm"
|
|
32
|
+
|
|
33
|
+
- name: Cache node_modules
|
|
34
|
+
uses: actions/cache@v3
|
|
35
|
+
with:
|
|
36
|
+
path: '**/node_modules'
|
|
37
|
+
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
|
|
38
|
+
restore-keys: |
|
|
39
|
+
${{ runner.os }}-modules-
|
|
40
|
+
|
|
27
41
|
- name: Versions
|
|
28
42
|
run: |
|
|
29
43
|
echo "node: $(node -v)"
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lighthouse-badges",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "🚦Generate gh-badges (shields.io) based on Lighthouse performance.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"scripts": {
|
|
10
10
|
"app:install": "npm i -g .",
|
|
11
11
|
"app:reinstall": "npm-run-all app:uninstall app:install",
|
|
12
|
-
"app:uninstall": "npm uninstall -g @emazzotta/lighthouse-badges",
|
|
12
|
+
"app:uninstall": "npm uninstall -g @emazzotta/lighthouse-badges; npm uninstall -g .; npm uninstall -g lighthouse-badges",
|
|
13
13
|
"build": "npm run clean && babel src --out-dir dist/src && sed 's#\"dist/src/index.js\"#\"src/index.js\"#' package.json > ./dist/package.json && cp README.md dist && cp LICENSE.md dist",
|
|
14
14
|
"ci:publish": "npm run build && npm publish --prefix dist",
|
|
15
15
|
"clean": "rm -rf *.svg *.html coverage dist results",
|
|
@@ -44,10 +44,11 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"argparse": "2.0.1",
|
|
47
|
+
"babel-runtime": "^6.26.0",
|
|
47
48
|
"badge-maker": "^3.3.1",
|
|
48
49
|
"chrome-launcher": "^0.15.1",
|
|
49
50
|
"clui": "^0.3.6",
|
|
50
|
-
"lighthouse": "^10.0.
|
|
51
|
+
"lighthouse": "^10.0.1",
|
|
51
52
|
"ramda": "^0.28.0"
|
|
52
53
|
},
|
|
53
54
|
"devDependencies": {
|
|
@@ -56,12 +57,12 @@
|
|
|
56
57
|
"@babel/plugin-transform-runtime": "^7.19.6",
|
|
57
58
|
"@babel/preset-env": "^7.20.2",
|
|
58
59
|
"@types/jest": "^29.4.0",
|
|
59
|
-
"eslint": "^8.
|
|
60
|
+
"eslint": "^8.34.0",
|
|
60
61
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
61
62
|
"eslint-plugin-import": "^2.27.5",
|
|
62
63
|
"husky": "^8.0.3",
|
|
63
64
|
"jest": "^29.4.2",
|
|
64
|
-
"lint-staged": "^13.1.
|
|
65
|
+
"lint-staged": "^13.1.2",
|
|
65
66
|
"npm-run-all": "^4.1.5"
|
|
66
67
|
},
|
|
67
68
|
"engines": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lighthouse-badges",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "🚦Generate gh-badges (shields.io) based on Lighthouse performance.",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"scripts": {
|
|
10
10
|
"app:install": "npm i -g .",
|
|
11
11
|
"app:reinstall": "npm-run-all app:uninstall app:install",
|
|
12
|
-
"app:uninstall": "npm uninstall -g @emazzotta/lighthouse-badges",
|
|
12
|
+
"app:uninstall": "npm uninstall -g @emazzotta/lighthouse-badges; npm uninstall -g .; npm uninstall -g lighthouse-badges",
|
|
13
13
|
"build": "npm run clean && babel src --out-dir dist/src && sed 's#\"dist/src/index.js\"#\"src/index.js\"#' package.json > ./dist/package.json && cp README.md dist && cp LICENSE.md dist",
|
|
14
14
|
"ci:publish": "npm run build && npm publish --prefix dist",
|
|
15
15
|
"clean": "rm -rf *.svg *.html coverage dist results",
|
|
@@ -44,10 +44,11 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"argparse": "2.0.1",
|
|
47
|
+
"babel-runtime": "^6.26.0",
|
|
47
48
|
"badge-maker": "^3.3.1",
|
|
48
49
|
"chrome-launcher": "^0.15.1",
|
|
49
50
|
"clui": "^0.3.6",
|
|
50
|
-
"lighthouse": "^10.0.
|
|
51
|
+
"lighthouse": "^10.0.1",
|
|
51
52
|
"ramda": "^0.28.0"
|
|
52
53
|
},
|
|
53
54
|
"devDependencies": {
|
|
@@ -56,12 +57,12 @@
|
|
|
56
57
|
"@babel/plugin-transform-runtime": "^7.19.6",
|
|
57
58
|
"@babel/preset-env": "^7.20.2",
|
|
58
59
|
"@types/jest": "^29.4.0",
|
|
59
|
-
"eslint": "^8.
|
|
60
|
+
"eslint": "^8.34.0",
|
|
60
61
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
61
62
|
"eslint-plugin-import": "^2.27.5",
|
|
62
63
|
"husky": "^8.0.3",
|
|
63
64
|
"jest": "^29.4.2",
|
|
64
|
-
"lint-staged": "^13.1.
|
|
65
|
+
"lint-staged": "^13.1.2",
|
|
65
66
|
"npm-run-all": "^4.1.5"
|
|
66
67
|
},
|
|
67
68
|
"engines": {
|