{"id":43687852,"url":"https://github.com/emiloberg/nativescript-emulator-reload","last_synced_at":"2026-02-16T13:01:56.382Z","repository":{"id":31591179,"uuid":"35155993","full_name":"emiloberg/nativescript-emulator-reload","owner":"emiloberg","description":"This small gulp script will monitor the source files of a NativeScript project and when a file is changed it'll rebuild and reload the emulator. Will also use Babel to compile your ES6+ JS into ES5 if you want it to","archived":false,"fork":false,"pushed_at":"2015-05-20T10:13:06.000Z","size":148,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-29T04:53:43.773Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emiloberg.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}},"created_at":"2015-05-06T12:04:11.000Z","updated_at":"2023-10-07T20:49:49.000Z","dependencies_parsed_at":"2022-09-12T11:51:44.542Z","dependency_job_id":null,"html_url":"https://github.com/emiloberg/nativescript-emulator-reload","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/emiloberg/nativescript-emulator-reload","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emiloberg%2Fnativescript-emulator-reload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emiloberg%2Fnativescript-emulator-reload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emiloberg%2Fnativescript-emulator-reload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emiloberg%2Fnativescript-emulator-reload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emiloberg","download_url":"https://codeload.github.com/emiloberg/nativescript-emulator-reload/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emiloberg%2Fnativescript-emulator-reload/sbom","scorecard":{"id":375651,"data":{"date":"2025-08-11","repo":{"name":"github.com/emiloberg/nativescript-emulator-reload","commit":"d6d38f497d6caf135f276a8c8951724755a2e413"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/11 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-18T14:11:32.532Z","repository_id":31591179,"created_at":"2025-08-18T14:11:32.533Z","updated_at":"2025-08-18T14:11:32.533Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29508735,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-02-05T03:00:21.768Z","updated_at":"2026-02-16T13:01:56.377Z","avatar_url":"https://github.com/emiloberg.png","language":"JavaScript","funding_links":[],"categories":["Awesome {N} [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)"],"sub_categories":["Table of Contents"],"readme":"# nativescript-emulator-reload\n\nThis small gulp script will monitor the source files of a [NativeScript](https://www.nativescript.org/) project and when a file is changed it'll rebuild and reload the emulator. Will also use Babel to compile your ES6+ JS into ES5 if you want it to.\n\nCurrently only supports iOS emulators.\n\n## Install\n### Either download from Github:\n[Download the package.json and gulpfile.js](https://github.com/emiloberg/nativescript-emulator-reload/archive/master.zip) and put in the root directory of your app. Then run\n\n```\nnpm install\n```\n\n### Or install from NPM:\n```\ncd /your/project/root\nnpm install nativescript-emulator-reload\nmv node_modules/nativescript-emulator-reload/* .\nrm -rf node_modules/nativescript-emulator-reload\nnpm install\n```\n\n## Run\n```\ngulp\n```\n\nor with a device flag:\n\n```\ngulp -d iPad-Retina\n```\n\nlist valid devices with `gulp help`\n\n# ECMAScript 6 version.\nIf you want to use ECMAScript 6 there's an gulpfile (`gulpfile.es6.js`) which will use [Babel](https://babeljs.io/) to turn your ES6+ code into ES5 code.\n\nTo use this file, rename `gulpfile.js` to `gulpfile.es5.js` (or really to anything) and rename `gulpfile.es6.js` to `gulpfile.js`.\n\n\n```\ngulp watch\n```\n\n## The ES6 Gulpscript is opinionated\nYou most probably need to edit the settings in the gulpfile.\n\nThe default settings assumes the following file structure:\n\n```\n/app\n\t/src\n\t\t/shared\n\t\t/test\n\t\t/views\t\n\t/tns_modules\n\t/App_Resources\n\t/...\t\t\t\n```\n\nWhere the content of `src` will be moved to `/app` when compiled. Creating a file structure like:\n\n```\n/app\n\t/src\n\t\t/shared\n\t\t/test\n\t\t/views\t\n\t/tns_modules\n\t/App_Resources\n\t/...\n\t/shared\n\t/test\n\t/views\t\t\n```\n\nWhere the `app/{shared,test,views}` are the compiled version of `app/src/{shared,test,views}`. This way only the ES6 files will be compiled (and not things like `tns_modules`, anything in `node_modules` if you install npm packages, etc.)\n\n### Testing with Mocha\n[Mocha](http://mochajs.org/) is included for your testing pleasures.\n\nPlace your tests in `/src/test` and run them with `gulp test`\n\n### Linting with eslint\n[eslint](http://eslint.org/) is included for your linting pleasures.\n\nLint the code in your `app/src` folder by running `gulp lint`.\n\nIf you're using ES6 you most probably want these settings in your `.eslintrc` in the root directory of your project. `es6: true` will enable all ES6 features _but_ modules which is enabled by `    \"ecmaFeatures\": { modules: true }`. Read more about [configuring eslint](http://eslint.org/docs/user-guide/configuring.html).\n\n```\n{\n    \"env\": {\n    \t\"es6\": true\n    },\n    \"ecmaFeatures\": { \n        modules: true \n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femiloberg%2Fnativescript-emulator-reload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femiloberg%2Fnativescript-emulator-reload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femiloberg%2Fnativescript-emulator-reload/lists"}