fixing grunt coffeescript issue (remove coffeescript test) and adding html plugin to ake examples work from root directory
1 files deleted
3 files modified
| | |
| | | 1. Clone this repo |
| | | 2. Run npm install |
| | | 3. Start dev server with `npm run examples` |
| | | 4. Browse `http://localhost:8080 |
| | | 4. Browse `http://localhost:8080' |
| | |
| | | var HtmlWebpackPlugin = require('html-webpack-plugin'); |
| | | |
| | | module.exports = { |
| | | |
| | | entry: { |
| | |
| | | stats: {colors: true}, |
| | | }, |
| | | |
| | | devtool: "eval-source-map" |
| | | devtool: "eval-source-map", |
| | | plugins: [new HtmlWebpackPlugin({ |
| | | template: __dirname + '/basic/index.html' |
| | | })] |
| | | |
| | | }; |
| | |
| | | "grunt-contrib-watch": "~0.5.3", |
| | | "grunt-react": "~0.10.0", |
| | | "grunt-shell": "~0.6.4", |
| | | "html-webpack-plugin": "^1.1.0", |
| | | "jsx-loader": "^0.12.2", |
| | | "react": ">=0.12", |
| | | "react-tools": "^0.12.2", |