SkillAgentSearch skills...

TaskRunner

A front end template with headless testing using Mocha/Chai/Karma and Gulp task runners for image optimization, javascript concatenation, and sass compiling

Install / Use

/learn @jacksonhoose/TaskRunner
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Jackson's Task Runner

A template for running important frontend tasks and testing with Karma/Mocha/Chai

Setup

  • Run npm install -g gulp
  • Run npm install
  • Run gulp to run your specs
  • You may need to install karma and mocha globally with npm install -g karma mocha

Karma

  • Autowatch files with Karma by running karma start
  • There is a files array that specifies which folders/specs to include when launching Phantom. Make sure you include your scripts before your tests.

Gulp

  • Auto watch all your files (the default task) by running gulp
  • Run specific tasks by running gulp [task-name] ie. gulp test which will run your testing suite once.
View on GitHub
GitHub Stars10
CategoryDevelopment
Updated4y ago
Forks2

Languages

JavaScript

Security Score

60/100

Audited on Mar 3, 2022

No findings