0.2.4 • Published 8 years ago

miketmoore-ng-templatecache v0.2.4

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

miketmoore-ng-templatecache

This module loads specified template files and processes them through the ng-templatecache module.

I created this to be used inside npm scripts for an angularjs build process.

setup

Install

npm install miketmoore-ng-templatecache --save

Configure npm script

Add the following key/value to package.json "scripts" section:

"build:templateCache": "miketmoore-ng-templatecache -c templatecache.json"

Create JSON config file

{
  "templates" : "src/js/components/**/*.html",
  "outputFile" : "public/js/templates.js",
  "replaceStr": "src\/js\/components\/",
  "write": true,
  "module": "namespace.templates"
}

Run it!

npm run build:templateCache
0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago

0.0.0

8 years ago