Code Monkey home page Code Monkey logo

html5app-template's Introduction

html5app-template

A scaffold for the html5 webapp application. It is an official template of lime-cli.

In addition, the official scaffold also has these:

  • html-template, a simple html5 html template
  • html5app-template, a html5 template with webpack bundle
  • felib-template, a front end library template
  • node-cmd-template, a node.js commandline programe template
  • vue-template, a vue.js 2.0 template
  • vue-component-template, a startup template for a Vue Components Library project
  • lime-cms-template, generate a website driven by lime-cms

Feature

  • Full webpack workflow
  • Just a simple configuration
  • Local development with hot reload
  • Write javascript with ES6

Usage

npm install lime-cli -g
  • Then, install the official template
lime new html5app-template test

Now, a project folder named test has created. And all the files has been created in test folder.

  • Then, cd into the project folder, and execute:
npm install

Scripts

    "clean": "shx rm -rf dist && shx echo clean finished",
    "build": "cross-env NODE_ENV=production webpack",
    "devbuild": "cross-env NODE_ENV=development webpack --progress --colors --watch",
    "start": "cross-env NODE_ENV=development webpack-dev-server --open",
    "test": "echo \"Error: no test specified\" && exit 1"
  • npm run clean: clean all the dist folder
  • npm run build: execute webpack task, and it will create dist folder
  • npm run devbuild: execute webpack task, but not compress the code
  • npm run start or npm start: start a local server and hosting the webpack results, and open the browser automatically.

License

MIT

html5app-template's People

Contributors

webjohnjiang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.