monitoring-jekyll-theme 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/budget.json ADDED
@@ -0,0 +1,11 @@
1
+ [
2
+ {
3
+ "resourceSizes": [
4
+ {"resourceType":"document","budget":20},
5
+ {"resourceType":"stylesheet","budget":50},
6
+ {"resourceType":"font","budget":50},
7
+ {"resourceType":"image","budget":300},
8
+ {"resourceType":"script","budget":100}
9
+ ]
10
+ }
11
+ ]
data/netlify.toml ADDED
@@ -0,0 +1,5 @@
1
+ command = "jekyll build --trace"
2
+ [build]
3
+ # environment = { PHP_VERSION = "7.2" }
4
+ publish = "_site"
5
+ command = "jekyll build --trace"
data/perftest.sh CHANGED
@@ -1,12 +1,11 @@
1
1
 
2
-
3
2
  # FUNCTION FOR PARSING _CONFIG.YML
4
3
  function yaml() {
5
4
  hashdot=$(gem list hash_dot);
6
5
  if ! [ "$hashdot" != "" ]; then sudo gem install "hash_dot" ; fi
7
6
  if [ -f $1 ];then
8
7
  cmd=" Hash.use_dot_syntax = true; hash = YAML.load(File.read('$1'));";
9
- if [ "$2" != "" ] ;then
8
+ if [ "$2" != "" ] ;then
10
9
  cmd="$cmd puts hash.$2;"
11
10
  else
12
11
  cmd="$cmd puts hash;"
@@ -48,11 +47,13 @@ for ((idx=0; idx<${#urlstested[@]}; idx++)); do
48
47
  axe ${!urlpage} --save _data/${!namepage}/axe/$(date '+%Y-%m-%d').json
49
48
  gpagespeed ${!urlpage} > _data/${!namepage}/gpagespeed/$(date '+%Y-%m-%d').json
50
49
  yellowlabtools ${!urlpage} > _data/${!namepage}/yellowlabtools/$(date '+%Y-%m-%d').json
51
- #lighthouse ${!urlpage} --output json --output-path _data/${!namepage}/lighthouse/$(date '+%Y-%m-%d').json
50
+ echo ${!urlpage}
51
+ lighthouse ${!urlpage} --output json --output-path _data/${!namepage}/lighthouse/$(date '+%Y-%m-%d').json
52
52
  done
53
53
 
54
54
  # GENERAL SITE TESTS
55
- curl -o download/css/$(date '+%Y-%m-%d').css https://extract-css.now.sh/$urlpage0
55
+ echo 'curl -o download/css/'$(date '+%Y-%m-%d')'.css https://extract-css.now.sh/'${urlpage0//https:\/\//}
56
+ curl -o download/css/$(date '+%Y-%m-%d').css https://extract-css.now.sh/${urlpage0//https:\/\//}
56
57
 
57
58
  ./vendor/bin/seocli -u $urlpage0 -d 3 -f json > _data/$namepage0/seocli/$(date '+%Y-%m-%d').json
58
59
  stylestats download/css/$(date '+%Y-%m-%d').css -f json > _data/$namepage0/stylestats/$(date '+%Y-%m-%d').json
@@ -61,4 +62,4 @@ wallace $urlpage0 -f json > _data/$namepage0/wallace/$(date '+%Y-%m-%d').json
61
62
  # https://seobutler.com/badass-seo-automate-screaming-frog/
62
63
  # open "/Applications/Screaming Frog SEO Spider.app" --args --crawl $urlpage0
63
64
 
64
- # curl https://www.googleapis.com/pagespeedonline/v5/runPagespeed\?url\=https://www.leforestier-immobilier.com/fr&key=AIzaSyATvQKCg0r2tKjt9OhEHXuqlpVMjHby730 > aa.json
65
+ # curl https://www.googleapis.com/pagespeedonline/v5/runPagespeed\?url\=https://www.leforestier-immobilier.com/fr&key=AIzaSyATvQKCg0r2tKjt9OhEHXuqlpVMjHby730 > aa.json
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monitoring-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - bertrandkeller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-06 00:00:00.000000000 Z
11
+ date: 2019-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -59,6 +59,7 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
+ - ".ruby-version"
62
63
  - Gemfile
63
64
  - README.md
64
65
  - Rakefile
@@ -80,7 +81,9 @@ files:
80
81
  - assets/js/lighthouse.js
81
82
  - assets/js/van11y-accessible-hide-show-aria.es6.js
82
83
  - assets/js/van11y-accessible-tab-panel-aria.es6.js
84
+ - budget.json
83
85
  - composer.json
86
+ - netlify.toml
84
87
  - package.json
85
88
  - perftest.sh
86
89
  homepage: https://github.com/bertrandkeller/monitoring-jekyll-theme