{"name":"cjsx-loader","description":"coffee-react-transform loader module for webpack","version":"2.1.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","loader-utils":"0.2.x"},"keywords":["react","coffeescript","jsx","webpack"],"license":"ISC","main":"index.js","repository":{"type":"git","url":"git+https://github.com/KyleAMathews/cjsx-loader.git"},"gitHead":"fe517efc94269cf40020c95d591f2e7e394fa783","homepage":"https://github.com/KyleAMathews/cjsx-loader#readme","_id":"cjsx-loader@2.1.0","scripts":{},"_shasum":"d783959c97d7e1d374b44daabef65ca08b3a3b3b","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.0.0","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"d783959c97d7e1d374b44daabef65ca08b3a3b3b","tarball":"http://registry-npm.ywwl.com/cjsx-loader/download/cjsx-loader-2.1.0.tgz","integrity":"sha512-fSSF8o8BEb8iCgRmheGe1P3BdjuY80lVQryqqCR+yMb2nASnEuLnpgiBQKf0lyIifhvNpND+lUJnJooeZkSckg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5Cw8cgAWaHY70jx8CDzAyiIAM1WSXC5aunSzNdPqZHgIhAOOUDVknaC9lWV887lKRAZ/zyX7OT8FTLWZ1bc1tXjI0"}],"size":2744,"noattachment":false,"key":"/cjsx-loader/-/cjsx-loader-2.1.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":1447049088525,"_cnpm_publish_time":1447049088525,"dist-tags":{"latest":"3.0.0"}}