From 09d4fe4d066b28647a21638bda0d594525e8fc7a Mon Sep 17 00:00:00 2001 From: Riku Rouvila Date: Thu, 24 Apr 2014 13:54:33 +0300 Subject: [PATCH] Update README.md Section about using JavaScript instead of CoffeeScript --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 1770d27..86708e9 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,22 @@ Now your should be able to require jQuery in your coffee files $ = require 'jquery' +## Using JavaScript instead of CoffeeScript +Remove coffeeify transform from package.json file (browserify.transform field) +`````` +"browserify": { + "transform": ["browserify-shim"] +} +`````` + +and change the ".coffee" extension to ".js" from gulpfile.coffee +`````` +paths = + scripts: + source: './src/coffee/main.js' +````` + +You also can change the directory name to scripts or what ever. ## Development guidelines * **public** - directory should be dedicated only to compiled/copied files from **src** - directory.