Skip to content

Commit

Permalink
Update package.json and README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
drapanjanas committed Nov 20, 2015
1 parent db91cb6 commit 90120d2
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 31 deletions.
43 changes: 18 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
# Natal
### Bootstrap ClojureScript-based React Native apps
# Re-Natal
### Bootstrap ClojureScript-based React Native apps with reagent and re-frame
[Dan Motzenbecker](http://oxism.com), MIT License
[@dcmotz](https://twitter.com/dcmotz)
[@dcmotz](https://twitter.com/dcmotz),
[@drapanjanas](https://twitter.com/drapanjanas)

---

Natal is a simple command-line utility that automates most of the process of
setting up a React Native app running on ClojureScript.
This project is a fork of [dmotz/natal](https://github.com/dmotz/natal) with
the goal of generating skeleton of native app for iOS and Android based on
[Reagent](https://github.com/reagent-project/reagent)and[re-frame](https://github.com/Day8/re-frame).

Re-Natal is a simple command-line utility that automates most of the process of
setting up a React Native app running on ClojureScript wit reagent an re-frame.

It stands firmly on the shoulders of giants, specifically those of
[Mike Fikes](http://blog.fikesfarm.com) who created
[Ambly](https://github.com/omcljs/ambly) and the
[documentation](http://cljsrn.org/ambly.html)
on setting up a ClojureScript React Native app.

Generated project will work in iOS as well as on Android devices.

## Usage

Expand All @@ -23,36 +29,27 @@ Before getting started, make sure you have the
Then, install the CLI using npm:

```
$ npm install -g natal
$ npm install -g re-natal
```

To bootstrap a new app, run `natal init` with your app's name as an argument:
To bootstrap a new app, run `re-natal init` with your app's name as an argument:

```
$ natal init FutureApp
$ re-natal init FutureApp
```

If your app's name is more than a single word, be sure to type it in CamelCase.
A corresponding hyphenated Clojure namespace will be created.

By default Natal will create a simple skeleton based on the current stable
version of [Om](http://omcljs.org) (aka Om Now). If you'd like to base your app
upon Om Next, you can specify a React interface template during init:

```
$ natal init FutureApp --interface om-next
```

Keep in mind your app isn't limited to the React interfaces Natal provides
templates for; these are just for convenience.

If all goes well your app should compile and boot in the simulator.
By default Natal will create a simple skeleton based on the current
version of [Reagent](https://github.com/reagent-project/reagent) and [Day8/re-frame](https://github.com/Day8/re-frame).
If all goes well your app should compile and boot in the iOS simulator.

From there you can begin an interactive workflow by starting the REPL.

```
$ cd future-app
$ natal repl
$ re-natal repl
```

If there are no issues, the REPL should connect to the simulator automatically.
Expand Down Expand Up @@ -136,7 +133,3 @@ tools.
Contributions are welcome.

For more ClojureScript React Native resources visit [cljsrn.org](http://cljsrn.org).

If you're looking for a simple ClojureScript wrapper around the React Native API,
check out the companion library [Natal Shell](https://github.com/dmotz/natal-shell).
It is included by default in projects generated by Natal.
15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "natal",
"name": "re-natal",
"version": "0.1.7",
"description": "Bootstrap ClojureScript React Native apps",
"description": "Bootstrap ClojureScript React Native apps with reagent and re-frame for iOS and Android",
"main": "index.js",
"author": {
"name": "Dan Motzenbecker",
Expand All @@ -20,19 +20,22 @@
},
"repository": {
"type": "git",
"url": "git://github.com/dmotz/natal.git"
"url": "git://github.com/drapanjanas/re-natal.git"
},
"homepage": "http://github.com/dmotz/natal",
"homepage": "http://github.com/drapanjanas/re-natal.git",
"engine-strict": true,
"preferGlobal": true,
"bin": {
"natal": "./index.js"
"re-natal": "./index.js"
},
"keywords": [
"clojure",
"clojurescript",
"react",
"react native",
"ios"
"ios",
"android",
"reagent",
"re-frame"
]
}

0 comments on commit 90120d2

Please sign in to comment.