{"name":"cjsx-loader","description":"coffee-react-transform loader module for webpack","version":"2.0.0","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/KyleAMathews/cjsx-loader/issues"},"dependencies":{"coffee-react-transform":"^3.0.0"},"keywords":["react","coffeescript","jsx","webpack"],"license":"ISC","main":"index.js","repository":{"type":"git","url":"https://github.com/KyleAMathews/cjsx-loader"},"gitHead":"a9c753a7965fa4adbfb4953307a55956a5cfaa4c","homepage":"https://github.com/KyleAMathews/cjsx-loader","_id":"cjsx-loader@2.0.0","scripts":{},"_shasum":"1e45bed04aebd735ba8b1f3ea798cfca50e34978","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.10.35","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"1e45bed04aebd735ba8b1f3ea798cfca50e34978","tarball":"http://registry-npm.ywwl.com/cjsx-loader/download/cjsx-loader-2.0.0.tgz","integrity":"sha512-oExumQ5p4sgI6Tr41hOKf7Pk74yBhK5p1mdXshM3vHKCNdVGdhnQ2McECuFhHcaftWeIOSlWnz5PfHenjrV6uw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE2AU44u99BP1CqGCq3zsgDQEA4qJtsm/SF1V2wztThIAiBD31QwjRSN/rQtYrl+/uvUU0LF+khm0DpFGbRw14trdw=="}],"size":2630,"noattachment":false,"key":"/cjsx-loader/-/cjsx-loader-2.0.0.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":1426610283511,"_cnpm_publish_time":1426610283511,"dist-tags":{"latest":"3.0.0"}}