1.2.0 • Published 7 years ago

mini-zepto v1.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Zepto.js – a minimalist JavaScript library

Mini Zepto build with zepto event data modules.

$ npm install
$ npm run dist

# do a custom build
$ MODULES="zepto event data" npm run dist

# on Windows
c:\zepto> SET MODULES=zepto event data
c:\zepto> npm run dist

The resulting files are:

  1. dist/zepto.js
  2. dist/zepto.min.js

If you install CoffeeScript globally, you can run make directly:

# one-time operation
$ npm install coffee-script --global

$ coffee make dist
$ MODULES="zepto event data ..." ./make dist

# on Windows
c:\zepto> SET MODULES=zepto event data
c:\zepto> coffee make dist

Zepto modules

Zepto modules are individual files in the "src/" directory.