{"id":15066631,"url":"https://github.com/primer/primer-module-build","last_synced_at":"2025-10-05T03:31:25.634Z","repository":{"id":57330373,"uuid":"72221360","full_name":"primer/primer-module-build","owner":"primer","description":"Scripts to build primer SCSS modules into CSS and stats","archived":true,"fork":false,"pushed_at":"2018-04-27T22:39:25.000Z","size":26,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-10T13:53:09.403Z","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/primer.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":"2016-10-28T15:54:07.000Z","updated_at":"2023-01-28T15:15:26.000Z","dependencies_parsed_at":"2022-09-21T02:10:39.850Z","dependency_job_id":null,"html_url":"https://github.com/primer/primer-module-build","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primer%2Fprimer-module-build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primer%2Fprimer-module-build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primer%2Fprimer-module-build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primer%2Fprimer-module-build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/primer","download_url":"https://codeload.github.com/primer/primer-module-build/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235360895,"owners_count":18977594,"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-09-25T01:10:06.765Z","updated_at":"2025-10-05T03:31:20.357Z","avatar_url":"https://github.com/primer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Primer Module Build Script\n\n[![NPM version](http://img.shields.io/npm/v/primer-module-build.svg)](https://www.npmjs.org/package/primer-module-build)\n[![Build Status](https://travis-ci.org/primer/primer-module-build.svg?branch=master)](https://travis-ci.org/primer/primer-module-build)\n\n\u003e Scripts to build primer SCSS modules into CSS and stats\n\n## Install\n\nThis repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer-module-build` with this command.\n\n```\n$ npm install --save primer-module-build\n```\n\n## Documentation \u0026 Usage\n\nThe script is CLI based. What it does is compiles the scss then runs it throught postcss. Placing the output in the `build/build.css` file. Then it compiles some stats on the module and places it in the `build/index.js` file.\n\n```\n$ primer-module-build index.scss\n```\n\nThe best way to set this up for automation is to place `primer-module-build path/to/file.scss` in the `\"prepublish\"` npm script.\n\n## License\n\n[MIT](./LICENSE) \u0026copy; [GitHub](https://github.com/)\n\n[primer-css]: https://github.com/primer/primer\n[docs]: http://primercss.io/\n[npm]: https://www.npmjs.com/\n[install-npm]: https://docs.npmjs.com/getting-started/installing-node\n[sass]: http://sass-lang.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimer%2Fprimer-module-build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprimer%2Fprimer-module-build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimer%2Fprimer-module-build/lists"}