0.0.10 • Published 8 years ago

elm-seed v0.0.10

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago
  • Proper error reporting for failed builds
  • Incremental compilation for JS resources
  • Only rebuild elm when source changes
  • Add support for additional routes to be added to express server
  • Add support for compiling and serving static assets
  • Add support for autoprefixed and compressed css
  • Command line tool with project scaffolding
  • Documentation and readme

Elm Seed

Rewrite of Elm-template as a library and command line tool. This grants greater flexibility and justifies more functionality since bugs can be fixed and the version updated without needing to regenerate the template.

Very much WIP

Example Config

{
  name: String,
  port: Number,

  buildDir: String, // Absolute path
  htmlPath: String,
  elm: {
    dir: String,
    main: String,
    test: String // TODO
  },
  js: {
    dir: String,
    main: String
  },
  css: {
    dir: String,
    main: String,
    autoprefix: [String],
    useImports: Boolean,
    useAssets: Boolean // TODO
  },
  server: {
    logRequests: String // null to disable
  },
  routes: {
    '/api': Function // (req, res, next) -> void
  }
}