{"name":"cjsx-loader","description":"coffee-react-transform loader module for webpack","version":"0.0.2","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/KyleAMathews/cjsx-loader/issues"},"dependencies":{"loader-utils":"0.2.x"},"keywords":["react","coffeescript","jsx","webpack"],"license":"ISC","main":"index.js","peerDependencies":{"coffee-react-transform":"0.4.x"},"repository":{"type":"git","url":"https://github.com/KyleAMathews/cjsx-loader"},"gitHead":"42e775e45743a61bfab3e56139ae537f00395fb9","homepage":"https://github.com/KyleAMathews/cjsx-loader","_id":"cjsx-loader@0.0.2","scripts":{},"_shasum":"42614ddb6981ff6de4e48dca8ce28c3b57afd5ca","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"42614ddb6981ff6de4e48dca8ce28c3b57afd5ca","tarball":"http://registry-npm.ywwl.com/cjsx-loader/download/cjsx-loader-0.0.2.tgz","integrity":"sha512-MC85KZ0kUPZZQnr+YS9RkBnpy1GNYOP/beTLqWeFo0k3u5a0JwVz30D0CmGzKMirZ/F+or5p6A4J8NY5387K1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSVMAfqutxGyompaRyHvznXL627GM01tHaKWOcn6tsQAIhANURLBpBjRyUt7EgZg1noTHbdpl10Tx9tg/I/YRQ/hAg"}],"size":1389,"noattachment":false,"key":"/cjsx-loader/-/cjsx-loader-0.0.2.tgz"},"directories":{},"readme":"[coffee-react-transform](https://github.com/jsdf/coffee-react-transform) loader module for [Webpack](http://webpack.github.io/).\n\n## Install\n`npm install cjsx-loader`\n\n## Usage\n\nHere's a simple `webpack.config.js` file that you could use. For a more\nsophisticated/complete example, see my [coffee-react-quickstart\nproject](https://github.com/KyleAMathews/coffee-react-quickstart).\n\n```javascript\nvar path = require('path');\nvar webpack = require('webpack');\n\nmodule.exports = {\n  entry: [\n    \"webpack-dev-server/client?http://0.0.0.0:8080\",\n    './src/scripts/router'\n  ],\n  devtool: \"eval\",\n  output: {\n    path: path.join(__dirname, \"public\"),\n    filename: 'bundle.js'\n  },\n  resolveLoader: {\n    modulesDirectories: ['node_modules']\n  },\n  resolve: {\n    extensions: ['', '.js', '.cjsx', '.coffee']\n  },\n  module: {\n    loaders: [\n      { test: /\\.cjsx$/, loaders: ['coffee', 'cjsx']},\n      { test: /\\.coffee$/, loader: 'coffee' }\n    ]\n  }\n};\n```\n","publish_time":1406850284987,"_cnpm_publish_time":1406850284987,"dist-tags":{"latest":"3.0.0"}}