asset-smasher
Advanced tools
Comparing version 0.2.11 to 0.2.12
# Asset Smasher Changelog | ||
## 0.2.12 (May 30, 2013) | ||
- Add a `.jsx` transformer for use with [React](http://facebook.github.io/react/) | ||
## 0.2.11 (May 18, 2013) | ||
@@ -4,0 +8,0 @@ |
@@ -27,2 +27,3 @@ /** | ||
Stylus:require('./transforms/stylus_transform'), | ||
Jsx:require('./transforms/jsx_transform'), | ||
Mf:require('./transforms/mf_transform') | ||
@@ -29,0 +30,0 @@ }; |
{ | ||
"name": "asset-smasher", | ||
"description": "Asset pre-processor, merger, and compressor.", | ||
"version": "0.2.11", | ||
"version": "0.2.12", | ||
"author": "Jim Riecken <jriecken@gmail.com>", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -23,8 +23,9 @@ # Asset Smasher | ||
- Pre-processing and transforming files down to plain JavaScript and CSS. | ||
- `.coffee` - Compile CoffeeScript into JavaScript | ||
- `.ejs` - Run a file through EJS (e.g. to populate configuration parameters into a JavaScript file) | ||
- `.less` - Compile Less into CSS | ||
- `.styl` - Compile Stylus into CSS | ||
- `.hbs` - Precompile Handlebars templates into JavaScript files that register them with `Handlebars.templates`. | ||
- `.dust` - Precompile Dust templates into JavaScript files that register them for use with `dust.render`. | ||
- `.coffee` - Compile [CoffeeScript](http://coffeescript.org/) into JavaScript | ||
- `.ejs` - Run a file through [EJS](https://github.com/visionmedia/ejs) (e.g. to populate configuration parameters into a JavaScript file) | ||
- `.less` - Compile [Less](http://lesscss.org/) into CSS | ||
- `.styl` - Compile [Stylus](http://learnboost.github.io/stylus/) into CSS | ||
- `.hbs` - Precompile [Handlebars](http://handlebarsjs.com/) templates into JavaScript files that register them with `Handlebars.templates`. | ||
- `.dust` - Precompile [Dust](http://linkedin.github.io/dustjs/) templates into JavaScript files that register them for use with `dust.render`. | ||
- `.jsx` - Transform JSX files (for use with [React](http://facebook.github.io/react/)) into JavaScript files. | ||
- Processors can be chained together. E.g `test.js.hbs.ejs` (run Handlebars template through EJS, then compile it) | ||
@@ -430,2 +431,11 @@ - Additional processors can be plugged in. | ||
To use a transformer you must install the associated node module. | ||
- `.coffee` - `npm install coffee-script` | ||
- `.dust` - `npm install dustjs-linkedin` | ||
- `.ejs` - `npm install ejs` | ||
- `.hbs` - `npm install handlebars` | ||
- `.jsx` - `npm install react-tools` | ||
- `.less` - `npm install less` | ||
- `.styl` - `npm install stylus` | ||
### <a name="tn-less-styl"></a> LESS/Stylus | ||
@@ -432,0 +442,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
87263
24
1949
453