{"id":17962335,"url":"https://github.com/rakannimer/rn-js-library","last_synced_at":"2025-06-25T22:35:02.462Z","repository":{"id":66139364,"uuid":"115180506","full_name":"rakannimer/rn-js-library","owner":"rakannimer","description":"A boilerplate repo to clone when starting a new JS library.","archived":false,"fork":false,"pushed_at":"2017-12-25T08:49:26.000Z","size":64,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-09T07:23:58.262Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rakannimer.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":"2017-12-23T07:57:55.000Z","updated_at":"2017-12-25T12:32:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"c39ad97d-2dbf-4284-9212-4d0c0cfcac5e","html_url":"https://github.com/rakannimer/rn-js-library","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/rakannimer%2Frn-js-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakannimer%2Frn-js-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakannimer%2Frn-js-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakannimer%2Frn-js-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rakannimer","download_url":"https://codeload.github.com/rakannimer/rn-js-library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247061882,"owners_count":20877176,"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-10-29T11:19:00.540Z","updated_at":"2025-04-03T19:19:43.137Z","avatar_url":"https://github.com/rakannimer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Boilerplate project for building a JS library.\n\n  \u003ca href=\"https://standardjs.com\"\u003e\u003cimg src=\"https://img.shields.io/badge/code_style-standard-brightgreen.svg\" alt=\"Standard - JavaScript Style Guide\"\u003e\u003c/a\u003e\n\n### The problem.\n\nWhen developing a JS library, it takes a lot of time to configure it right.\n\nThis is a boilerplate I use for quickly getting started with a (relatively) clean project.\n\n### This solution.\n\n**Uses** : \n  - [parcel](https://github.com/parcel-bundler/parcel) for running the demo.\n  - [microbundle](https://github.com/developit/microbundle) for building the library and sourcemaps.\n  - [jest](https://github.com/facebook/jest/) for testing.\n  - [eslint](https://eslint.org/) with [standard](https://standardjs.com/) for code linting.\n  - [prettier](https://github.com/prettier/prettier) for code formatting.\n\n### Installation\n\n```bash\n  git clone https://github.com/rakannimer/rn-js-library MY_LIBRARY_NAME\n  cd MY_LIBRARY_NAME \u0026\u0026 rm -rf ./.git\n  yarn install\n```\n\nReady to go. 👍\n\n### Usage\n\nComes with the following scripts : \n\n1. Run demo with live reload.\n\n```bash\n  yarn demo \n```\n\n2. Build.\n\n```bash\n  yarn build\n```\n\n3. Lint.\n\n```bash\n  yarn lint\n```\n\n4. Run Tests\n\n```bash\n  yarn test\n```\n\n5. Precommit test run\n\nBefore committing all staged js(on) code is linted, prettified and tested.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frakannimer%2Frn-js-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frakannimer%2Frn-js-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frakannimer%2Frn-js-library/lists"}