GithubHelp home page GithubHelp logo

svenjungnickel / craft-redactor-font-awesome Goto Github PK

View Code? Open in Web Editor NEW

This project forked from creativeorange/craft-redactor-font-awesome

3.0 3.0 6.0 68 KB

Craft redactor font awesome plugin for Craft 3

Home Page: https://plugins.craftcms.com/redactor-font-awesome

License: MIT License

PHP 100.00%
craft-plugin craft3 craftcms craftcms-plugin font-awesome redactor-editor

craft-redactor-font-awesome's Introduction

svenjungnickel.com

Build Setup

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# generate static project and launch server
$ npm run generate
$ npm run start

๐Ÿ’ซ Deploy

To deploy on Netlify just hit following button: Deploy to Netlify

You can also test the Netlify build before you deploy.

  1. Link Netlify Project.

    Run following command to link the project.

    netlify link

    Select a way to link the project.

  2. Run test build.

    To test the build run following command:

    netlify build

    This will run the build on your local dev environment. The logs will show if the build will be successful or has any errors.

๐Ÿšจ Linting

We are using EsLint for Javascript linting. Simply run following command to lint your code:

npm run lint

To fix any issues simply run the fix command:

npm run lintfix

โœ… Unit tests

We are using Jest for unit tests. You can find more details in the gatsby docs.

To run all unit tests simply use following command:

npm run test

You can also watch unit tests while developing:

npx jest --watch

To watch all unit tests run following:

npx jest --watchAll

All unit tests generate also code coverage. You can find the generated code coverage under <rootDir>/coverage/index.html.

๐ŸŽ‰ Lighthouse audits

We are running lighthouse audits via lighthouse CI CLI.

To start mobile Lighthouse audits use following command:

npm run lhci:mobile

To start desktop Lighthouse audits use following command:

npm run lhci:desktop

๐ŸŽฌ Run GitHub actions locally

To test GitHub actions locally before pushing to GitHub we are using nektos/act. You have to install it first via brew brew install act. Then you can run actions via following command:

act -j <workflow-name>

Visit the docs for more example commands.

craft-redactor-font-awesome's People

Contributors

anakadote avatar brandonkelly avatar robinwissink avatar svenjungnickel avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.