Code Monkey home page Code Monkey logo

emk.js's People

Contributors

blake-regalia avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

emk.js's Issues

Allow Promise/async function as module.exports value

The emk.js may need to do some async operations before it knows what the build config should be. Would be great to allow the module.exports value to return a Promise or async function that resolves once config is ready.

Add support for URLs as dependencies

In addition to using an absolute/relative file path, would be nice to be able to supply a URL for dependency strings that checks the Last-Modified HTTP header of a resource against the build target.

Allow tagging stderr messages

With all the verbose console output, it would be nice to clarify to the user that certain stderr messages are not errors but instead just warnings, etc.

E.g.,

link: {
   run: /* syntax: bash */ `
      npm link
   `,
   // before printing to error channel from stderr
   stderr: {
      // change tag to 'warn' for lines that meet criteria..
      warn: [
         // for outputs that match this pattern
         /^npm notice/,
      ],
   },
}

Delete output file on non-zero exit code

If a build task fails, it should delete the file by default so that the mtime of the output does not cause the build system to skip the task next time it is run, i.e., mistaking the fact that the previous build failed.

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.