Skip to content

smcreator/angular_task2

Repository files navigation

Gulp seed for angular

Installation

Instal node js and ruby (for scss). Then run:

$ npm install && bower install
Development running

Start application fist time:

$ gulp serve

This will create simple express server and prepare app for first time. First time sass sources will be compiled into css. Each next time, you can run gulp default, or gulp command without any task name:

$ gulp
Test run

To run app for testing, when sources are compiled, use next command:

$ gulp host
Production build

To get production build run next command:

$ gulp build
Other tasks

Manually to remove all generated sources (like css files and build folder and generated index.html) run:

$ gulp clean-generated

Manually to generate index.html run:

$ gulp inject-files

Manually to compile all sass files into css files run:

$ gulp sass

To run jshint on sources use:

$ gulp jshint

Вместо index.html нужно править index-inject.html Index html здесь генерируется на лету при измении файлов.

Тестовое окружение тоже настроено и написан один тест для примера на одну директиву.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published