Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

asset-smasher

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asset-smasher - npm Package Compare versions

Comparing version 0.2.11 to 0.2.12

lib/compilation/transforms/jsx_transform.js

4

CHANGELOG.md
# 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 @@ };

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc