Skip to content
This repository has been archived by the owner on Jun 26, 2022. It is now read-only.

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Nov 16, 2015
1 parent 4dd2185 commit 7c5c0ab
Show file tree
Hide file tree
Showing 18 changed files with 188 additions and 1,657 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
min:
@uglifyjs -m < dist/exim.js > dist/exim.min.js
@echo 'Default: ' `cat dist/exim.js | wc -l` LOC, `cat dist/exim.js | wc -c` bytes
@echo 'Gzipped: ' `gzip -9 < dist/exim.js | wc -c` bytes
@echo 'Min-gzipped:' `gzip -9 < dist/exim.min.js | wc -c` bytes
@uglifyjs -m < exim.js > exim.min.js
@echo 'Default: ' `cat exim.js | wc -l` LOC, `cat exim.js | wc -c` bytes
@echo 'Gzipped: ' `gzip -9 < exim.js | wc -c` bytes
@echo 'Min-gzipped:' `gzip -9 < exim.min.js | wc -c` bytes

test:
phantomjs test/vendor/runner.js test/index.html?noglobals=true
Expand Down
19 changes: 7 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
**[[PRE-RELEASE]]. Public release is expected soon. Please don't publicly share links to Exim for now.**

# Exim.js

[hellyeah.is/exim](http://hellyeah.is/exim/)

An architecture for HTML5 apps using Facebook's Flux.js library.

> Standing on the shoulders of giants.
Standing on the shoulders of giants

## 7 reasons why Exim
## 8 reasons why Exim

1. React.js - using the great Facebook base
2. Flux.js - new architecture from Facebook, modern replacement for MVC.
3. Ultra-cool sugar for React router
4. Tremendeously simple structure. Just enough for 99% of everyday dev needs.
3. Intelligible React-based Router
4. Tremendeously simple structure.
5. First-class JS & coffeescript with support for short syntax.
6. Lightweight, no big dependencies.
7. Brunch, Grunt, Gulp boilerplates. Bower, NPM, Browserify, AMD & Common.js support
8. Great conventions.

## Dependencies

Expand All @@ -24,14 +27,6 @@ Optional dependency: **Bluebird** - ultra-fast promises

## Changelog

### Exim 0.7.0 (4 Aug 2015)
1. Exim is webpack and browserify-friendly now.
2. Fixed an issue related to `set` in stores.

### Exim 0.6.3 (21 Jun 2015)

1. Fix NPM support.

### Exim 0.6.2 (22 May 2015)

1. Fix action's chain bug.
Expand Down
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "exim",
"version": "0.7.1-beta1",
"version": "0.6.2",
"authors": [
"Artem Yavorsky <artem@yavorsky.org>",
"Paul Miller <paul@paulmillr.com>"
],
"description": "An architecture for HTML5 apps using Facebook's Flux.js library.",
"main": "dist/exim.js",
"main": "exim.js",
"devDependencies": {
"qunit": "~1"
},
Expand Down
17 changes: 6 additions & 11 deletions build.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
var fs = require("fs");
var browserify = require("browserify");
var watchify = require("watchify");
var babelify = require("babelify");
var bro = browserify({ debug: true, cache: {}, packageCache: {}, standalone: 'Exim'});

var bro = browserify({ debug: false, cache: {}, packageCache: {}})
function update () {
bro
.transform(babelify)
.transform('exposify', {
expose:{
'react':'React',
'react-router':'ReactRouter'
}
})
.require("./src", { entry: true })
.bundle()
.on("error", function (err) { console.log("Error : " + err.message); })
.pipe(fs.createWriteStream("./dist/exim.js"));
}

.pipe(fs.createWriteStream("./exim.js"))
};
update();

// watchify({cache: {}}).on('update', update);

Loading

0 comments on commit 7c5c0ab

Please sign in to comment.