0.0.36 • Published 7 years ago

ng-guzzle v0.0.36

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

ng-guzzle

This project helps me remove the gulp boilerplate from my AngularJS applications. You're welcome to use it, but I don't have any intention of writing documentation at the moment. There is, however, a partial example.

Ok, here are some reminders for myself:

$ guzzle init
$ guzzle build
$ guzzle watch

package.json

...
  "dependencyConfig": {
    "ng-guzzle": {
      "liveServerParams": {
        "port": 3000,
        "etc.": "etc."
      },
      "modules": [
        {
          "id": "app",
          "src": "./src/app/",
          "dest": "./dest/",
          "static": "./dest/",
          "strictDi": false,
          "minify": false
        },
        {
          "id": "lib",
          "src": "./src/lib/",
          "dest": "./dest/"
        }
      ]
    }
  }
...

Each guzzle module gets compiled into two files: one JavaScript file and one CSS file. Each JavaScript module is wrapped in an IIFE with a single parameter named ngm. This parameter is an Angular module. The Angular module can be bootstrapped by including a selector attribute on the script tag used to include the JavaScript file. There are two possible values for the selector attribute: document | [QUERY SELECTOR]. If you use the query selector and the selector returns multiple elements, the Angular module will be bootstrapped on all elements returned by the selector query.

index.html

...
  <script src="/dest/app.js" selector="document"></script>
...
0.0.36

7 years ago

0.0.35

7 years ago

0.0.34

7 years ago

0.0.32

7 years ago

0.0.31

7 years ago

0.0.30

7 years ago

0.0.29

7 years ago

0.0.28

7 years ago

0.0.27

7 years ago

0.0.26

7 years ago

0.0.25

7 years ago

0.0.24

7 years ago

0.0.23

8 years ago

0.0.22

8 years ago

0.0.21

8 years ago

0.0.20

8 years ago

0.0.19

8 years ago

0.0.18

8 years ago

0.0.17

8 years ago

0.0.16

8 years ago

0.0.15

8 years ago

0.0.14

8 years ago

0.0.13

8 years ago

0.0.12

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago