Code Monkey home page Code Monkey logo

grunt-yslow-test's Introduction

Hello ๐Ÿ‘‹, I'm Steve. I live in the UK and run Front-end engineering for Maersk. In the past I've run web engineering for yell.com, and been a Management Consultant at PA in London. I design and create web apps and sites using the latest standards-compliant and accessible technology. Simply put, I try to make the web a better place for everyone.

From 2008 to 2013 I was an organiser for London Web Standards, a meet-up group who advise and evangelise web standards. In 2012 I started giving talks at technical conferences around the country, which can all be seen on my speaking page over on my blog. I briefly ran another meetup group in 2019-2020 called Berkshire JS

I'm originally from the North-West of England, and I graduated from the University of Sheffield with a masters in Computer Science. I play hockey for Sonning Hockey Club whenever my rapidly aging body allows me.

You can find my writing on my blog and my stream of conciousness on Mastodon

grunt-yslow-test's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

grunt-yslow-test's Issues

Grunt files array

It would appear that grunt-yslow uses the files API to set URLs, rather than placing them in options. Maybe that's a more intuitive signature than requiring an empty files array? Thanks!

Have task fail if threshold not met

Digging the task! I would love to see it fail if the threshold parameter is not met, though. It would be great for enforcing certain criteria are met in order for the project to build.

Example:

        yslow_test: {
            options: {
            info: "grade",
            format: "json",
            urls: ['http://google.com'],
            reports: ['test/reports/yslow.json'],
            threshold: 90
        },

If the YSlow score wasn't above 90, the task would log an error and the build would fail. This could get very helpful when thresholds were set for specific tests using JSON objects as described here: http://yslow.org/phantomjs/.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.