This repository was archived by the owner on Sep 12, 2019. It is now read-only.

Description
make it easier to write detectors for js and not forget a bunch of important steps.
// shared code for js ecosystem
// so we dont forget to implement stuff
const { existsSync, readFileSync } = require('fs')
module.exports = function(obj) {
/**
* obj has this shape which
* reflects the standard setup for the SSG
*
* {
* port
* proxyPort
* env
* dist
* }
*
* requiredFiles is an array of strings
* required deps is an array of strings
*
*/
return function() {
// etc
}
}