am-compiler

compiler

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
am-compiler
Minified + gzip package size for am-compiler in KB

Readme

fse = require("fs-extra")
Compiler = require("am-compiler")

class AmCompiler extends Compiler
  checkNum: 0
  electronStart: =>
    cmd = fse.readJsonSync("package.json").scripts.electron
    require("child_process").exec(cmd)
  callback: (err, stats) =>
    super(err, stats)
    return console.log(err) if (err)
    @electronStart() if (++@checkNum is 3)
  start: =>
    @electronOption.entry =
      "electron/.build/start": "./electron/test/start.coffee"
      "app/.build/preload": "./app/test/preload.coffee"
      "app/.build/electron": "./app/test/electron.coffee"
    @nodeOption.entry =
      "app/.build/server": "./app/test/server.coffee"
    @browserOption.entry =
      "web/.build/client": "./web/test/client.coffee"
    super()

AmCompiler::start()

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.