{"id":23663463,"url":"https://github.com/eyolas/gulp-angular-starter","last_synced_at":"2025-12-06T09:30:29.459Z","repository":{"id":19088343,"uuid":"22316099","full_name":"eyolas/gulp-angular-starter","owner":"eyolas","description":"A started project using AngularJS (can build less or compass)","archived":false,"fork":false,"pushed_at":"2014-07-28T18:53:12.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-29T05:28:28.907Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eyolas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-27T16:48:18.000Z","updated_at":"2014-07-27T16:58:05.000Z","dependencies_parsed_at":"2022-09-25T04:31:17.807Z","dependency_job_id":null,"html_url":"https://github.com/eyolas/gulp-angular-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyolas%2Fgulp-angular-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyolas%2Fgulp-angular-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyolas%2Fgulp-angular-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyolas%2Fgulp-angular-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eyolas","download_url":"https://codeload.github.com/eyolas/gulp-angular-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239662734,"owners_count":19676435,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-29T05:28:27.724Z","updated_at":"2025-12-06T09:30:24.203Z","avatar_url":"https://github.com/eyolas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Gulp - AngularJS Starter Project\n==============================\n\nThis repository contains a starter project using AngularJS.\nBased on [gulp-angularjs-starter-project](https://github.com/wlepinski/gulp-angularjs-starter-project)\n\n### Compilation phase\n\nTo compile the project go to a terminal window pointing to the project's root folder. First of all you need to install all Node dependencies using the command \u003ccode\u003enpm install\u003c/code\u003e. This will take some time and after that you can use the \u003ccode\u003egulp\u003c/code\u003e or \u003ccode\u003egulp compile\u003c/code\u003e commands to compile your project.\n\nThe compilation result will be stored on the \u003ccode\u003ebuild\u003c/code\u003e folder.\n\nThe compilation phase has some steps described below:\n\n- Cleans the build folder.\n- Compile all css (less and compass see )\n- Lint all JS files\n  - If there's something wrong it stops the stream and show all linting errors on console.\n- Creates a new header based on some information available on package.json to be inserted on top off every CSS and JS files.\n- Instrospect all HTML files and find all compilation comments.\n  - For both CSS and JS we're minifying (uglyfing for JS) and revisioning all files present inside a compilation comment.\n  - For JS files, runs ngMin to assemble AngularJS DI dependencies that doesn't follow the \u003ccode\u003e['dep', function(dep){ }]\u003c/code\u003e convention.\n  - Concatenate all JS libraries and insert a SHA fingerprint on the file.\n  - Inject a compiled version of all views.\n- Copy images files and optimize them.\n- Minify all entry HTML files.\n- Drop the compilated HTML file on the build directory.\n\n### Serve tasks\n\nThere's two serve tasks available to be used. The \u003ccode\u003egulp serve:app\u003c/code\u003e and the \u003ccode\u003egulp serve:build\u003c/code\u003e.\n\nThe \u003ccode\u003egulp serve:app\u003c/code\u003e should be used during development. It uses a connect server pointing to the \u003ccode\u003eapp\u003c/code\u003e folder and configures a Livereload server to automatically refresh files. This task depends on another task called watch, that does exactly what you expect it to do.\n\nThe \u003ccode\u003egulp serve:build\u003c/code\u003e should be used to test the whole compilation process. It uses a connect server pointing to the \u003ccode\u003ebuild\u003c/code\u003e folder and there's no Livereload server running on this task.\n\n### Build compass\n- Compile all SASS files and drop then on the .tmp folder.\n  - Refresh the livereload server\n  - If there's something wrong it stops the stream and show all compilation errors on console.\n\nTo build compass, install gulp-compass\n```bash\n$ npm i --save-dev gulp-compass\n```\nUncomment this line\n```js\n// var compass = require('gulp-compass');\n```\n\nadd compass in array CSS_COMPILE\n```js\nvar CSS_COMPILE = ['compass', 'nativeCss'];\n```\n\n### Build less\n- Compile all less files and drop then on the .tmp folder.\n  - Refresh the livereload server\n\nTo build less, install gulp-less\n```bash\n$ npm i --save-dev gulp-less\n```\nUncomment this line\n```js\n// var less = require('gulp-less');\n```\n\nadd less in array CSS_COMPILE\n```js\nvar CSS_COMPILE = ['less', 'nativeCss'];\n```\n\n## Authors\n\n - [David Touzet](https://github.com/eyolas) \n - [William Lepinski](william.lepinski@rga.com) ([gulp-angularjs-starter-project](https://github.com/wlepinski/gulp-angularjs-starter-project))\n\n## License\n\nThe [MIT](LICENCE) License\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feyolas%2Fgulp-angular-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feyolas%2Fgulp-angular-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feyolas%2Fgulp-angular-starter/lists"}