Skip to content

stack247/js-de

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Development Environment

JavaScript doesn't have a specific and dedicated IDE that you would find in strong-typed language such as Java or C#. The absence of a dedicated IDE may not be comfortable for some people as you would need to perform manual tasks, such as bundling and minifying ('compile') or running tests. In full-featured IDE, such as Eclipse and Visual Studio, these tasks are integrated within the IDE, allowing programmers to quickly and easily run the tasks. Most of these features feel 'natural' to Java / C# developers and sometime, we take it for granted.

This project shows how we can with achieve similar full-featured IDE with help of tooling such as Gulp, Browserify and many more.

Features

Some of the development features this project trying to achieve are:

  • Code editor
  • Syntax highlighting
  • Syntax validation
  • Auto complete
  • Auto run/refresh
  • Project folder
  • Reference management
  • Test runner
  • Build
  • Compile
  • Bundle and minification (uglify)
  • Run
  • Deployment
  • Code coverage
  • Package manager
  • Source control

Operating System

  • Windows 8.1
  • Node
  • Webstorm

Demo Steps

Project Setup

  1. Create project root folder: 'js-de'.

Source Control Setup

  1. Initialize git repository: run 'git init'.
  2. Add origin to source control: run 'git remote add origin https://github.com/stack247/js-de.git'.
  3. Set tracking information for the branch: run 'git branch --set-upstream-to=origin/master master'.
  4. Add source control related files: ".gitignore", "README.md".
  5. Add files to source control: run 'git add .'.
  6. Commit to source control: run 'git commit -m "Initial commit"'.
  7. Push to source control: run 'git push origin master'.

App Setup

  1. Add folders (build, src, src/modules, src/test).
  2. Add application related files: "index.html", "app.js", "greeting.js".

Node / NPM

  1. Initialize npm package manager to create 'package.json': run 'npm init'.
  2. Install 'Browserify' package globally: run 'npm install -g browserify'.
  3. Install 'Browserify' in the project: run 'npm install -save browserify'.
  4. Install 'Gulp' package globally: Run 'npm install -g gulp'.
  5. Install 'Gulp' in the project: run 'npm install -save-dev gulp'.

Gulp

  1. Add gulp task file: 'gulpfile.js'
  2. Uncomment 'uglify' require and pipe.
  3. Uncomment 'sourcemaps' require and pipe.

Run

  1. Run 'git clone https://github.com/stack247/js-de.git'.
  2. Run 'npm install'.
  3. Run 'gulp'.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published