4.3.2 • Published 9 years ago

mojito-shaker v4.3.2

Weekly downloads
828
License
-
Repository
-
Last release
9 years ago

Shaker

Shake it!

Shaker is a powerful static asset manager for Mojito applications. It gives users absolute control in transforming, validating, uploading, organizing, and combining resources in order to maximize performance and build dynamic applications.

For more information, please see the online documentation.

Build Status

Installation

Shaker can be installed either locally or globally (using -g option), but we encourage you to install it locally, since the reference to the inner mojits will be relative to the app.

  1. Get the mojito-shaker npm package and install it:

    $ cd myMojitoApp
    $ npm install mojito-shaker [-g]
  2. If you installed it locally you will have to link it:

    $ cd ./node_modules/mojito-shaker/ && sudo npm link
  3. Confirm that Shaker has been installed correctly by running:

    $ mojito-shake
  4. If you got some error, check if you have correctly configured the Node environment. You can try to set the right $NODE_PATH to the modules using:

    $ export NODE_PATH=:$NODE_PATH:`npm root -g`

Quick Start

Within a Mojito application root folder:

Edit application.json to configure the mojitDirs and the HTMLFrame so that it looks like:

[
    {
        "settings": [ "master" ],
        "mojitsDirs": ["mojits","node_modules/mojito-shaker/mojits"],
        "specs": {
            "htmlframe": {
                "type": "ShakerHTMLFrameMojit"
            }
        }
    }
]

Note: If you installed mojito-shaker globally you will have to point to the absolute path instead.

Execute Shaker and Start the server:

$ mojito-shake [--context "{key1}:{value1}[,{key2}:{value2}]"] [--run]
$ mojito start [--context "{key1}:{value1}[,{key2}:{value2}]"]

Go to URL:

http://localhost:8666/

Documentation

You can access the documentation here: http://developer.yahoo.com/cocktails/shaker

If you want to build and contribute to the documentation, you will have to install Sphinx and under /docs run:

$ make html

Licensing and Contributions

Shaker is licensed under a BSD license.

To contribute to the Shaker project, please review the Mojito Contributor License Agreement.

Dependencies (Third-party libraries)

gear, async, mkdirp, mime, and optionally knox to use the S3 task.

Credits

The following image is used in accordance with the Creative Commons 2.0 License:

http://www.flickr.com/photos/breatheindigital/4623226056/

4.3.2

9 years ago

4.3.1

9 years ago

4.3.0

10 years ago

4.2.7

10 years ago

4.2.6

10 years ago

4.2.5

10 years ago

4.2.4

10 years ago

4.2.3

10 years ago

4.2.2

10 years ago

4.2.1

10 years ago

4.2.0

10 years ago

4.1.17

10 years ago

4.1.16

10 years ago

4.1.15

10 years ago

4.1.14

10 years ago

4.1.13

10 years ago

4.1.12

10 years ago

4.1.11

10 years ago

4.1.10

10 years ago

4.1.9

10 years ago

4.1.8

10 years ago

4.1.6

10 years ago

4.1.5

10 years ago

4.1.4

10 years ago

4.1.3

10 years ago

4.1.2

10 years ago

4.1.1

10 years ago

4.1.0

10 years ago

4.0.29

11 years ago

4.0.28

11 years ago

4.0.27

11 years ago

4.0.26

11 years ago

4.0.25

11 years ago

4.0.24

11 years ago

4.0.23

11 years ago

4.0.22

11 years ago

4.0.21

11 years ago

4.0.19

11 years ago

4.0.18

11 years ago

4.0.17

11 years ago

4.0.16

11 years ago

4.0.15

11 years ago

4.0.14

11 years ago

4.0.13

11 years ago

4.0.12

11 years ago

4.0.11

11 years ago

4.0.10

11 years ago

4.0.9

11 years ago

4.0.8

11 years ago

4.0.7

11 years ago

4.0.6

11 years ago

4.0.5

11 years ago

4.0.4

11 years ago

4.0.3

11 years ago

4.0.2

11 years ago

4.0.1

11 years ago

4.0.0

11 years ago

4.0.0pr5

11 years ago

4.0.0pr4

11 years ago

4.0.0pr3

11 years ago

4.0.0pr2

11 years ago

4.0.0pr1

11 years ago

3.0.9pr1

11 years ago

3.1.3

11 years ago

3.1.2

11 years ago

3.1.1

11 years ago

3.1.0

11 years ago

3.0.8

11 years ago

3.0.7

11 years ago

3.0.6

11 years ago

3.0.5

11 years ago

3.0.4

11 years ago

3.0.3

11 years ago

3.0.2

11 years ago

3.0.1

11 years ago

3.0.0

11 years ago

3.0.0pr5

11 years ago

3.0.0pr4

11 years ago

3.0.0pr3

11 years ago

3.0.0pr2

11 years ago

3.0.0pr1

11 years ago

2.0.37pr5

11 years ago

2.0.37pr4

11 years ago

2.0.36pr4

11 years ago

2.0.35pr3

11 years ago

2.0.34pr3

11 years ago

2.0.33pr3

11 years ago

2.0.33pr2

12 years ago

2.0.32

12 years ago

2.0.31

12 years ago

2.0.30

12 years ago

2.0.29

12 years ago

2.0.28

12 years ago

2.0.27

12 years ago

2.0.26

12 years ago

2.0.25

12 years ago

2.0.24

12 years ago

2.0.22

12 years ago

2.0.21

12 years ago

2.0.20

12 years ago

2.0.19

12 years ago

2.0.18

12 years ago

2.0.17

12 years ago

2.0.16

12 years ago

2.0.15

12 years ago

2.0.14

12 years ago

2.0.13

12 years ago

2.0.12

12 years ago

2.0.11

12 years ago

2.0.10

12 years ago

2.0.9

12 years ago

2.0.8

12 years ago

0.8.25

12 years ago

2.0.7

12 years ago

2.0.6

12 years ago

2.0.5

12 years ago

2.0.4

12 years ago

0.8.24

12 years ago

2.0.3

12 years ago

2.0.2

12 years ago

2.0.1

12 years ago

2.0.0

12 years ago

0.8.23

12 years ago

0.8.22

12 years ago

0.8.21

12 years ago

0.8.20

12 years ago

0.8.19

12 years ago

0.8.18

12 years ago

0.8.17

12 years ago

0.8.16

12 years ago

0.8.15

12 years ago

0.8.14

12 years ago

0.8.13

12 years ago

0.8.12

12 years ago

0.8.11

12 years ago

0.7.9

12 years ago

0.7.8

12 years ago

0.7.7

12 years ago

0.7.6

12 years ago

0.7.5

12 years ago

0.7.41

12 years ago

0.7.4

12 years ago

0.7.3

12 years ago

0.7.2

12 years ago

0.7.0

12 years ago

0.6.2

12 years ago

0.6.1

12 years ago

0.6.0

12 years ago

0.5.0

12 years ago

0.4.0

12 years ago

0.3.1

12 years ago

0.3.0

12 years ago

0.2.7

12 years ago

0.2.6

12 years ago

0.2.5

12 years ago

0.2.4

12 years ago

0.2.3

12 years ago

0.2.2

12 years ago

0.2.1

12 years ago

0.2.0

12 years ago

0.1.31

12 years ago

0.1.3

12 years ago

0.1.2

12 years ago

0.1.0

12 years ago

0.0.7

12 years ago

0.0.6

12 years ago

0.0.5

12 years ago

0.0.4

12 years ago

0.0.3

12 years ago

0.0.2

12 years ago