{"id":17249331,"url":"https://github.com/axmand/karma-rollup-mocha","last_synced_at":"2025-04-14T05:08:46.075Z","repository":{"id":57288536,"uuid":"91093072","full_name":"axmand/karma-rollup-mocha","owner":"axmand","description":"an empty project based on karma,rollup and mocha","archived":false,"fork":false,"pushed_at":"2017-05-27T16:31:56.000Z","size":29,"stargazers_count":5,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T18:55:20.476Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/axmand.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":"2017-05-12T13:13:51.000Z","updated_at":"2021-11-22T09:57:07.000Z","dependencies_parsed_at":"2022-09-20T01:33:08.258Z","dependency_job_id":null,"html_url":"https://github.com/axmand/karma-rollup-mocha","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/axmand%2Fkarma-rollup-mocha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axmand%2Fkarma-rollup-mocha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axmand%2Fkarma-rollup-mocha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axmand%2Fkarma-rollup-mocha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/axmand","download_url":"https://codeload.github.com/axmand/karma-rollup-mocha/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248643044,"owners_count":21138353,"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-15T06:44:05.382Z","updated_at":"2025-04-14T05:08:46.048Z","avatar_url":"https://github.com/axmand.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# karma-rollup-mocha #\n[![Build Status](https://travis-ci.org/axmand/karma-rollup-mocha.svg?branch=master)](https://travis-ci.org/axmand/karma-rollup-mocha)\n[![codecov](https://codecov.io/gh/axmand/karma-rollup-mocha/branch/master/graph/badge.svg)](https://codecov.io/gh/axmand/karma-rollup-mocha)\n\n##  Unit test  ##\n\u003eUnit test to make you code runs well\n### step 1: ###\n```\nnpm install\n```\n### step 2: ###\n```\nnpm install -g karma-cli\n```\n\u003eYou will need to do this if you want to run Karma on Windows from the command line.\n\n### start karam ###\n```\nkarma start\n```\n##  Build  ##\n\u003eBuilding 'dist/bundle.js' as an output if you confirmed that all of your tests runs well.\n### install rollup ###\n```\nnpm install -g rollup \n```\n\u003eYou will need to install rollup in global if you want to run rollup on Windows from the command line.\n### build ###\n```\nrollup -c\n```\n\u003eThe default output folder's location : \"./dist/*\"\n##  Npm publish  ##\n```\nnpm publish\n```\n\u003eBefore publish code to npm,you need to add one account at least.\n### add npm user ###\n```\nnpm adduser\n```\n\u003eThen add username/password/email\n\n## Debugger for chrome ##\n\u003eAdd settings in VSC launch.json\n```\n {\n     \"type\": \"chrome\",\n     \"request\": \"attach\",\n     \"name\": \"Attach Karma Chrome\",\n     \"address\": \"localhost\",\n     \"port\": 9333,\n     \"webRoot\": \"${workspaceRoot}\",\n     \"pathMapping\": {\n         \"/\": \"${workspaceRoot}\",\n         \"/base/\": \"${workspaceRoot}/\"\n     }\n }\n```\n \u003erunning code \n ```\n karma start\n ```\n \u003epress 'F5' to attach the source , enjoy it!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxmand%2Fkarma-rollup-mocha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faxmand%2Fkarma-rollup-mocha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxmand%2Fkarma-rollup-mocha/lists"}