1.22.2 • Published 10 years ago

es6-sample-project v1.22.2

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

npm package

es6-sample-project

An ES6 sample project using Rollup, Bublé (as a plugin), Sass (node-sass).

This package shows how to get started writing ES6 modules. The workflow is like this:

es6 flowchart

Why?

Because all these tools and how they fit together can be scary at the beginning.

Usage

$ git clone git@github.com:jonataswalker/es6-sample-project.git
$ cd es6-sample-project
$ npm install

Available tasks

Build (js && css) and Watch (for changes)

$ make build-watch

Build (js && css)

$ make build

Build JavaScript

$ make build-js

Includes make bundle-js make lint make uglifyjs make add-js-header

Build CSS

$ make build-css Includes make compile-sass make prefix-css make cleancss make add-css-header

Why Makefile?

Because it's just great.

Missing Tests?

For the sake of simplicity.

Final result

See here a demo.

1.22.2

10 years ago

1.22.0

10 years ago

1.21.0

10 years ago

1.19.0

10 years ago

1.17.0

10 years ago

1.5.0

10 years ago

1.4.0

10 years ago

1.3.0

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago