{"id":24714456,"url":"https://github.com/ml-opensource/blocks","last_synced_at":"2026-04-09T07:02:27.979Z","repository":{"id":144772825,"uuid":"198935446","full_name":"ml-opensource/blocks","owner":"ml-opensource","description":null,"archived":false,"fork":false,"pushed_at":"2019-10-17T20:04:13.000Z","size":7389,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-27T08:16:37.681Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ml-opensource.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-07-26T02:54:08.000Z","updated_at":"2024-05-02T06:41:00.000Z","dependencies_parsed_at":"2024-05-07T16:47:05.821Z","dependency_job_id":null,"html_url":"https://github.com/ml-opensource/blocks","commit_stats":null,"previous_names":["ml-opensource/blocks"],"tags_count":47,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ml-opensource%2Fblocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ml-opensource%2Fblocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ml-opensource%2Fblocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ml-opensource%2Fblocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ml-opensource","download_url":"https://codeload.github.com/ml-opensource/blocks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244924995,"owners_count":20532898,"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":"2025-01-27T08:16:40.143Z","updated_at":"2025-12-30T21:55:07.893Z","avatar_url":"https://github.com/ml-opensource.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blocks\n\nCBRE Blocks design system repository\n\n## Getting started\n\n### Using Blocks\n\nIf you just want to use Blocks styles, you can copy the `blocks-base/dist/blocks.css` file along with the fonts/ and svgs/ folders.\n\nTo include Blocks as a node module, add the following to your `package.json`, ending in whichever [version tag](https://github.com/floored/blocks/tags) you want:\n```\n\"blocks-base\": \"https://github.com/floored/blocks-base@X.X.X\"\n```\nor\n```\n\"blocks-react\": \"https://github.com/floored/blocks-react@X.X.X\"\n```\n\nIf you are using React components, you can access them by pointing to the react-index, ex:\n```\nconst Checkbox = require('blocks-react').Input.Checkbox;\n```\n\n### Developing Blocks\n\nChanges made to the `blocks-base` or `blocks-react` directories need to be rebuilt (via `gulp build` to update the generated files in their respective `dist/` directories).\n\nYou can set up a git pre-commit hook to remind you of this by running\n```\nln -s -f ../../hooks/pre-commit .git/hooks/pre-commit\n```\n\nInstall lerna (the tool we use to manage multiple packages):\n```\nnpm install -g lerna\n```\n\nUse lerna to install package dependencies and interdependencies:\n```\nlerna bootstrap\n```\n\nTo build the `blocks-base` or `blocks-react` packages, run:\n```\nnpm run build:base\n```\nor\n```\nnpm run build:react\n```\nfrom the root directory.\n\nTo build the `blocks-docs` (or documentation) package for development, run:\n\n```\nnpm run dev:docs\n```\nfrom the root directory.\n\nIf this is your first time trying to build the site, you might also have to run `npm install` from within the `blocks-docs` directory.\n\nNote: if you update the `blocks-base` or `blocks-react` packages and want those local changes reflected locally, you'll need to rerun `npm run dev:docs` to pick them up.\n\nYou can navigate to the documentation site at http://localhost:8080.\n\nTo serve the documentation site for production, run:\n```\nnpm run serve:docs\n```\nfrom the root directory.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fml-opensource%2Fblocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fml-opensource%2Fblocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fml-opensource%2Fblocks/lists"}