generator-phonestrap
v0.0.3
Published
Yeoman generator for cordova 3.x+ ! Pretty sweet for rapid prototyping and bootstraping and everying in ing really
Downloads
3
Readme
generator-phonestrap
===
Getting Started
Dependencies
Make sure you have yo installed:
sudo npm install -g yo
And also cordova command line:
sudo npm install -g cordova
Using the generator
npm install generator-phonestrap
mkdir <myproject> && cd $_
yo phonestrap
Answer yo's questions ... You will get the following structure :
.bowerrc
Gruntfile.js
bower.json
config.xml
hooks
merges
node_modules
package.json
platforms
plugins
www
From there, you could emulate let's say android :
grunt less
cordova platform add android
cordova emulate android
BAM! You are welcome.
Next features
- a
grunt watchall
or something that compile less and runcordova prepare
for all platforms. - tests :)
Getting To Know Yeoman
Yeoman has a heart of gold. He's a person with feelings and opinions, but he's very easy to work with. If you think he's too opinionated, he can be easily convinced.
If you'd like to get to know Yeoman better and meet some of his friends, Grunt and Bower, check out the complete Getting Started Guide.
Yeoman generator