{"id":13670988,"url":"https://github.com/SaekiRaku/qi-rollup-dev","last_synced_at":"2025-04-27T13:33:25.073Z","repository":{"id":36787284,"uuid":"230292034","full_name":"SaekiRaku/qi-rollup-dev","owner":"SaekiRaku","description":"Provide useful preset configs and tool functions for rollup.","archived":false,"fork":false,"pushed_at":"2023-01-05T03:43:41.000Z","size":140,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T22:03:43.872Z","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/SaekiRaku.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":"2019-12-26T16:10:19.000Z","updated_at":"2020-06-21T09:57:51.000Z","dependencies_parsed_at":"2023-01-17T04:48:08.268Z","dependency_job_id":null,"html_url":"https://github.com/SaekiRaku/qi-rollup-dev","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaekiRaku%2Fqi-rollup-dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaekiRaku%2Fqi-rollup-dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaekiRaku%2Fqi-rollup-dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaekiRaku%2Fqi-rollup-dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SaekiRaku","download_url":"https://codeload.github.com/SaekiRaku/qi-rollup-dev/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251145825,"owners_count":21543102,"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-08-02T09:00:55.150Z","updated_at":"2025-04-27T13:33:20.064Z","avatar_url":"https://github.com/SaekiRaku.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Qi Rollup Dev\n\nProvide useful preset configs and tool functions for `rollup`, just like a start-up template but with more controllability. The main goal of this project is reduce the time for design development environment.\n\n**NOTICE: This project is experimental, use at your own risk if you'd like use it for production purpose.**\n\n## Features\n\n* ~~Out of the box of preset configs covered for most common useage of `rollup`.~~ (Only library development by now.)\n\n## Todo\n\n* Add preset for `typescript`\n\n## Useage\n\nThis project didn't have complicated functions, so I'm just going to provide some example code.\n\n### Case 1 - Node library\n\nOnly 5 lines of core code to create a framework for NodeJS library development.\n\n```javascript\nconst QiRollupDev = require(\"@qiqi1996/qi-rollup-dev\");\n\n// Create instance and provide basic info of project.\nvar dev = new QiRollupDev({ name: \"LibraryName\", input: \"/path/to/entry.js\", output: \"/path/to/output.js\" });\n\n// Add output config for `rollup` that can output two type of modules(CommonJS \u0026 ESModules).\n// It will generate 3 files at last, which are `output.js(CommonJS, cause it's the first argument)`, `output.cjs.js(CommonJS)`, `output.esm.js(ESModule)`.\ndev.presets.formats(\"cjs\", \"esm\");\n\n// You can check(or modify) the final config of rollup by this:\n// dev.config.plugins = [ babel(), strip(), ... ]\n// console.log(dev.config);\n\n// Auto rebuild when code changed. For `evt` object, see: http://rollupjs.org/guide/en/#rollupwatch\ndev.watch({ callback: (evt) =\u003e { \"Do something...\" } });\n\n// Bundle up the whole project.\ndev.build();\n```\n\n### More Cases\n\nSee example code [Go→](./example/)\n\n## License\n\nMIT\n\nCopyright 2019(c), qiqi1996.com. All right reserved.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSaekiRaku%2Fqi-rollup-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSaekiRaku%2Fqi-rollup-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSaekiRaku%2Fqi-rollup-dev/lists"}