0.0.4 • Published 10 years ago

mithril-slide-engine v0.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
10 years ago

Universal JS Boilerplate


NPM

npm.io

This is a scaffolding project that includes boilerplate code for:

  • Node
  • Heroku
  • Babel, Babel runtime, ES6/2015, ES7/2016
  • Express, with a default server, some example code and routes, static file sharing, and proxy code
  • SCSS-like syntax driven by PostCSS
  • Some example SCSS, grids, normalize and typeplate css kits (installed from bower)
  • An example index.html for serving files
  • An example .gitignore for the project
  • A host of npm scripts for watching and building your files

How to get started

  1. Start your own project folder

    cd ~/Github\ Projects/
    mkdir example01
    cd example01
  2. Install this package through npm (Warning: this will delete/overwrite files, so ONLY use this on brand new project folders)

    npm install universal-js-boilerplate
  3. Watch the package scaffold out files in your project

  4. Link or install global tools like bower, babel, etc...

    # first time ever installing this package on your machine?
    npm run setup
    # if not then just run..
    npm run linkup
  5. Start your server:

    npm run s
    
    # Alternatively, if you need nodemon to auto-reload your server 
    # (when doing server-side work)
    # npm run server
  6. Ready to push your code live, and want to minify your code with uglifyjs?

    npm run build

License

MIT.

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago