UNPKG

plugin-manager

Version:

Plugin manager for providing a simple 'hook' framework for an application, similarly to Wordpress or Drupal

21 lines (14 loc) 347 B
MOCHA_OPTS= REPORTER = tap check: test test: test-unit test-unit: @NODE_ENV=test ./node_modules/.bin/mocha \ --reporter $(REPORTER) \ $(MOCHA_OPTS) test-cov: lib-cov/plugin.js @PLUGIN_COV=1 $(MAKE) test REPORTER=html-cov > coverage.html lib-cov/plugin.js: lib/plugin.js @rm -rf lib-cov @jscoverage lib lib-cov .PHONY: test test-unit