{"id":15062050,"url":"https://github.com/lightingbeetle/light-scripts","last_synced_at":"2026-01-02T15:32:30.529Z","repository":{"id":48060287,"uuid":"83884393","full_name":"lightingbeetle/light-scripts","owner":"lightingbeetle","description":"Build scripts for Lighting Beetle* light framework","archived":false,"fork":false,"pushed_at":"2023-03-03T14:36:28.000Z","size":1903,"stargazers_count":0,"open_issues_count":8,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-27T05:17:04.914Z","etag":null,"topics":["babel","build-script","gulp","light","pug","scss"],"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/lightingbeetle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-04T10:08:17.000Z","updated_at":"2022-04-06T20:06:20.000Z","dependencies_parsed_at":"2024-10-12T22:20:44.907Z","dependency_job_id":"787abf29-9f34-42d8-98f3-535aafcce038","html_url":"https://github.com/lightingbeetle/light-scripts","commit_stats":{"total_commits":77,"total_committers":6,"mean_commits":"12.833333333333334","dds":"0.37662337662337664","last_synced_commit":"8f8146a36cb160d08cce184f24c40c0b9e5004fe"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightingbeetle%2Flight-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightingbeetle%2Flight-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightingbeetle%2Flight-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightingbeetle%2Flight-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lightingbeetle","download_url":"https://codeload.github.com/lightingbeetle/light-scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243725633,"owners_count":20337670,"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":["babel","build-script","gulp","light","pug","scss"],"created_at":"2024-09-24T23:29:34.323Z","updated_at":"2026-01-02T15:32:30.475Z","avatar_url":"https://github.com/lightingbeetle.png","language":"JavaScript","readme":"# Light scripts\n\n\u003e Build scripts for Lighting Beetle* light framework.\n\n## Table of Contents\n\n- [Prerequisites](#prerequisites)\n- [Install](#install)\n- [Features](#features)\n- [Usage](#usage)\n- [License](#license)\n\n## Prerequisites\n\n```\nnode.js \u003e= 6.9.0\n```\n\n## Install\n\n```\nnpm install light-scripts --save-dev\n```\nor\n```\nyarn add light-scripts --dev\n```\n\n## Features\n\n* Webserver with liverelaod ([Browsersync](https://www.browsersync.io/))\n* Pug templates compilation with incremental builds ([Pug](https://pugjs.org/)) ([pug-inheritance](https://github.com/adammockor/pug-inheritance))\n* Scss compilation ([node-sass](https://github.com/sass/node-sass))\n* CSS autoprefixing ([autoprefixer](https://autoprefixer.github.io/))\n* JS bundling ([webpack 2](https://webpack.js.org/))\n* JS compilation ([babel](https://babeljs.io/)) ([babel-preset-env](https://github.com/babel/babel-preset-env))\n* JS linting ([eslint](http://eslint.org/)) ([airbnb-base](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb-base))\n* Image optimization ([imagemin](https://github.com/imagemin/imagemin))\n* Lean Modernizr builds ([gulp-modernizr](https://github.com/doctyper/gulp-modernizr))\n* Deploying via rsync/sftp ([gulp-rsync](https://github.com/jerrysu/gulp-rsync))\n\n## Usage\n\n### Config\nAdd `light.config.js` file to `light` project root. Format of config file should look like this:\n```js\nmodule.exports = (defaultPaths, defaultConfig, flags) =\u003e ({\n  paths: {},\n  config: {},\n});\n```\nVia config file, default configuration can be customized if necessary.\n\nIf custom configuration is not needed, `light.config.js` can be omitted.\n\n### Tasks\nTasks should be run in main project folder, which depends on `light-scripts`.\n\nMain gulp tasks:\n\n* Project serving with live-reload:\n```\ngulp serve\n```\n\n* Project build:\n```\ngulp serve\n```\n\n* Other tasks:\n```\ngulp -T\n```\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightingbeetle%2Flight-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flightingbeetle%2Flight-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightingbeetle%2Flight-scripts/lists"}