workflow to use with FCC - Free Code Camp
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 34 commits ahead of Egoscio:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
index.html
src
.eslintrc.js
.gitignore
README.md
gulpfile.js
package-lock.json
package.json

README.md

Free Code Camp challenge on 🔥

Work faster with an nice setup

tasks

  • Reload your browser
  • Pug(Jade) templating
  • Lint Javascript
  • Compile es2015 with Babel
  • Compilation with Stylus

Prerequisites:

Dependencies:

  1. NPM: [https://docs.npmjs.com/cli/install](Install NPM)
  2. NodeJs: NodeJs
  3. Gulp: Installing Gulp

Installation

1. In your Terminal clone the repo(Github)

git clone https://github.com/xavierartot/workflow-fcc my-project

2. Go to the folder

cd my-project

3. Install the package NPM in your project

npm install

4. Start gulp

gulp watch

the first Babel precompilation takes 30 secs, this is normal, then it's takes 1 seconde

the main files are:

Files Files Types destination
src/babel/script.js Javascript folder index.html/
src/jade/index.jade html folder index.html/
src/stylus/style.styl Stylus(CSS) folder index.html/

How Do You Use This Workflow With FCC

Clone this repository. Once You're done. You'll copy the code in FCC you can use es6 with Free Code Camp or copy the script in index.html/script.js