Coder Social home page Coder Social logo

yet-another-js-dev-env's Introduction

Yet another JavaScript Development Environment

This repository holds yet another JavaScript dev environment, ready for you to check out and be awesome with.

  • EditorConfig for consistent coding styles
  • NPM as package manager
  • Security Scanning using nsp check configured on start
  • Express Server
  • Localtunnel for easy work sharing
  • NPM Scripts for automation (Grunt and Gulp is so yesterday)
  • Babel for transpiling
  • Webpack for bundling
  • Source map set to inline
  • ESLint for linting, dedicated config file, receommended ruleset plus ES6 import errors and warnings
  • ES Watch configured on start
  • Mocha for testing, configured upon start and watch.
  • Added Travis as the Continious Integration server
  • Added Fetch support for APIs, using polyfill for older browsers.
  • For mocking declare Schema with JSON Schema Faker, Generate Random Data (faker.js, chance.js, randexp.js) and Serve data via API with JSON Server

I am not actively maintaining it so if it is broken you are on your own buddy.

You know the drill

Clone this repo into new project folder (e.g., my-proj).

git clone https://github.com/Sarel-Esterhuizen/yet-another-js-dev-env  my-proj
cd my-proj

Assume I have no intention of updating the source on Sarel-Esterhuizen/yet-another-js-dev-env . Discard the .git folder..

rm -rf .git  # OS/X (bash)
rd .git /S/Q # windows

Delete non-essential files (optional)

You can quickly delete the non-essential files that concern testing and QuickStart repository maintenance (including all git-related artifacts such as the .git folder and .gitignore!) by entering the following commands while in the project folder:

OS/X (bash)
xargs rm -rf < non-essential-files.osx.txt
rm src/app/*.spec*.ts
rm non-essential-files.osx.txt
Windows
for /f %i in (non-essential-files.txt) do del %i /F /S /Q
rd .git /s /q

Create a new git repo

You could start writing code now and throw it all away when you're done. If you'd rather preserve your work under source control, consider taking the following steps.

Initialize this project as a local git repo and make the first commit:

git init
git add .
git commit -m "Initial commit"

Recover the deleted .gitignore from the yet-another-js-dev-env repository if you lost it in the Delete non-essential files step.

Create a remote repository for this project on the service of your choice.

Grab its address (e.g. https://github.com/<my-org>/my-proj.git) and push the local repo to the remote.

git remote add origin <repo-address>
git push -u origin master

Install npm packages

Install the npm packages described in the package.json and verify that it works:

npm install
npm start

yet-another-js-dev-env's People

Contributors

sarel-esterhuizen avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.