@narley/create-mace-app
Bootstrap a simple Mace application.
Last updated 2 years ago by narley .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @narley/create-mace-app 
SYNC missed versions from official npm registry.

Create Mace App

Create Mace apps with no build configuration.

Quickstart

npm install create-mace-app -g
create-mace-app my-app
cd my-app/
mace-app start

Create a production build with mace-app build

Getting Started

Installation

Node >=6 is required for installation.

Yarn

yarn global add create-mace-app

NPM

npm install create-mace-app -g

If you are running Linux OS, you should install it as the superuser:

sudo npm install create-mace-app -g

Creating an App

To create a new app, run:

create-mace-app my-app
cd my-app/

Create a new my-app folder with files for your future project.

my-app/
  .gitignore
  README.md
  elm-package.json
  src/
    html
    js
    css
    favicon.ico
  tests/
    elm-package.json

You are ready to employ the full power of Create Mace App!

mace-app start

Run the app in development mode. Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits. You will see the build errors and lint warnings in the console and the browser window.

mace-app build

Builds the app for production to the build folder. It bundles Mace app and optimizes the build for the best performance.

The build is minified, and the filenames include the hashes.

Guide

Every generated project will contain a readme with guidelines for future development. The latest version is available here

Why use this?

This will allow you to create an application that can be used for any Mace development. Fair to say that its focus is on dashboards.

Create Mace App adds a tool for optimizing production builds and running a development server with your app, which supports HMR.

All of that in a single command line tool, which you might use as a dependency or eject anytime.

Want a custom setup?

Not happy with the default configuration? Use mace-app eject and customize your process.

That way, you can use Create Mace App as a tool for a boilerplate generation.

Philosophy

Inspired by create-elm-app which was inspired by create-react-app

  • One Dependency: There is just one build dependency. It uses Elm Platform, Webpack, and other amazing projects, but provides a cohesive curated experience on top of them.

  • Zero Configuration: There are no configuration files or command line options. Configuring both development and production builds is handled for you so you can focus on writing code.

  • No Lock-In: You can “eject” to a custom setup at any time. Run a single command, and all the configuration and build dependencies will be moved directly into your project, so you can pick up right where you left off.

What is inside

The tools used by Create Mace App are subject to change. Currently it is a thin layer on top of many amazing community projects, such as:

All of them are transitive dependencies of the provided npm package.

Contributing

We would love to get you involved! Please check our Contributing Guide to get started!

Alternatives

Your own setup.

Current Tags

  • 0.0.14                                ...           latest (2 years ago)

10 Versions

  • 0.0.14                                ...           2 years ago
  • 0.0.10                                ...           2 years ago
  • 0.0.9                                ...           2 years ago
  • 0.0.8                                ...           2 years ago
  • 0.0.7                                ...           2 years ago
  • 0.0.6                                ...           2 years ago
  • 0.0.5                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 20
Last Day 0
Last Week 20
Last Month 1
Dev Dependencies (13)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |