Angularity is primarily a node.js build tool.
It is intended for organisations with one or more teams developing AngularJS applications.
Immutable
Angularity is a wrapper around Gulp such that it does not require a per-project gulpfile.js
and
may be distributed as a self-contained npm package.
This allows distribution of a turn-key gulp-like build system to developers.
Angularity | Gulp |
---|---|
angularity (global) | gulp (global) |
gulp | |
gulpfile.js | |
.. | |
N x modules |
There are plans to allow customisation of the immutable package (for organisations) as well a plugin system (for single developers). It is more accurate to say Angularity will be somewhat mutable to the degree you allow.
Richer
Angularity is superior to Gulp in that it implements a richer command line interface.
It also provides support for selected development IDEs and Continuous Integration servers.
Efficient
Angularity has an emphasis on composition. Each project contains one deployable application and any number of additional non-deployable applications (as needed for development). Each application features a Composition Root for both Javascript and SASS.
SASS will inherantly bundle any @import
ed files and browserify can bundle require()
d
Javascript, HTML template (strings), and sprited images (coming soon). This minimises the application footprint to only
that which is needed.
If you have experience with NInject for .NET, or RobotLegs or Parsley in Flash/Flex these concepts will be familiar to you. You will see from our style guide that this pattern is also a superior approach for AngularJS.
Core Features
Angularity consists the following core features:
- Single global install for all projects.
- Bundling of
require()
’d files per browserify. - ECMAScript 6 syntax (using 6to5ify).
- Composition of html templates in javascript.
- jsHint linting.
- SASS 3.2 (using libsass).
- Bower for web dependencies.
- Bower or node packages for common code.
- Javascript unit testing (using Karma and Jasmine 2.0).
- Source maps for Javascript, allowing continuous minification.
- Source maps for CSS.
Many of these features are not specifically tied to AngularJS. However much of the material you will find on this site is geared to Angular development.