am-compiler
compiler
Last updated 4 years ago by ampcpmgp .
ISC · Original npm · Tarball · package.json
$ cnpm install am-compiler 
SYNC missed versions from official npm registry.
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()

Current Tags

  • 1.0.31                                ...           latest (4 years ago)

30 Versions

  • 1.0.31                                ...           4 years ago
  • 1.0.30                                ...           4 years ago
  • 1.0.29                                ...           4 years ago
  • 1.0.28                                ...           4 years ago
  • 1.0.27                                ...           4 years ago
  • 1.0.26                                ...           4 years ago
  • 1.0.25                                ...           4 years ago
  • 1.0.24                                ...           4 years ago
  • 1.0.23                                ...           4 years ago
  • 1.0.22                                ...           4 years ago
  • 1.0.21                                ...           4 years ago
  • 1.0.20                                ...           5 years ago
  • 1.0.19                                ...           5 years ago
  • 1.0.17                                ...           5 years ago
  • 1.0.16                                ...           5 years ago
  • 1.0.15                                ...           5 years ago
  • 1.0.14                                ...           5 years ago
  • 1.0.13                                ...           5 years ago
  • 1.0.12                                ...           5 years ago
  • 1.0.11                                ...           5 years ago
  • 1.0.10                                ...           5 years ago
  • 1.0.9                                ...           5 years ago
  • 1.0.8                                ...           5 years ago
  • 1.0.7                                ...           5 years ago
  • 1.0.6                                ...           5 years ago
  • 1.0.5                                ...           5 years ago
  • 1.0.4                                ...           5 years ago
  • 1.0.3                                ...           5 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (6)
Dev Dependencies (0)
None
Dependents (2)

Copyright 2014 - 2016 © taobao.org |