elm-seed
v0.0.10
Published
For developing and serving elm projects
Downloads
43
Readme
- [x] Proper error reporting for failed builds
- [ ] Incremental compilation for JS resources
- [ ] Only rebuild elm when source changes
- [x] Add support for additional routes to be added to express server
- [ ] Add support for compiling and serving static assets
- [x] 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
}
}