/iseed

Frontend project template (for a quick star), with full test and build infrastructure.

Primary LanguageJavaScript

iSeed

Based on advice on the lecture about infrastructure at Yandex.

Russian version.

Quick start

git clone git@github.com:alt-j/iseed.git
cd iseed
npm install
npm build

Then open the link in your favorite browser: build/index.html.

What's inside?

Features

Tools

  • eslint — a tool to detect errors and potential problems in JavaScript code
  • jscs — a code style checker for javascript
  • git-hooks — a tool for git hooks managment
  • mocha + chai + sinon + phantomjs + karma— testing client javascript

How it works

Project structure

.git-hooks          Git hooks
src                 Source code
src/assets          Static data
src/js              Javascript files
src/styles          CSS or Stylus files

Commands

For build project

npm run build

Builded version located in ./build directory.

For development

npm run dev

After that open http://localhost:8080/webpack-dev-server/ with your favorite browser.

For static code analyse and codestyle checking

npm run lint

For run tests

Run tests:

npm run test

Contribution