{"id":28490997,"url":"https://github.com/videojs/videojs-generator-verify","last_synced_at":"2026-01-20T18:01:00.855Z","repository":{"id":32977857,"uuid":"148198979","full_name":"videojs/videojs-generator-verify","owner":"videojs","description":"Various automated tests should be preformed on generator plugins pre-publish.","archived":false,"fork":false,"pushed_at":"2023-09-26T21:53:18.000Z","size":716,"stargazers_count":0,"open_issues_count":1,"forks_count":4,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-10-18T10:24:58.852Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/videojs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2018-09-10T18:17:13.000Z","updated_at":"2021-12-14T23:55:15.000Z","dependencies_parsed_at":"2024-06-19T03:04:58.016Z","dependency_job_id":"48e1f418-51a2-4f3e-a16c-3bd406acaac0","html_url":"https://github.com/videojs/videojs-generator-verify","commit_stats":{"total_commits":56,"total_committers":10,"mean_commits":5.6,"dds":0.4107142857142857,"last_synced_commit":"fc38335184081418978790e76a49cc139bacb167"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/videojs/videojs-generator-verify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/videojs%2Fvideojs-generator-verify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/videojs%2Fvideojs-generator-verify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/videojs%2Fvideojs-generator-verify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/videojs%2Fvideojs-generator-verify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/videojs","download_url":"https://codeload.github.com/videojs/videojs-generator-verify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/videojs%2Fvideojs-generator-verify/sbom","scorecard":{"id":920778,"data":{"date":"2025-08-11","repo":{"name":"github.com/videojs/videojs-generator-verify","commit":"fc38335184081418978790e76a49cc139bacb167"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"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":"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":"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":10,"reason":"no dangerous workflow patterns detected","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":"Code-Review","score":2,"reason":"Found 5/19 approved changesets -- score normalized to 2","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/videojs/videojs-generator-verify/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/videojs/videojs-generator-verify/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/videojs/videojs-generator-verify/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/videojs/videojs-generator-verify/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/videojs/videojs-generator-verify/ci.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/ci.yml:73","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"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":"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":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"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 'main'"],"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"}},{"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 18 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"11 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-w5p7-h5w8-2hfq","Warn: Project is vulnerable to: GHSA-cf4h-3jhx-xvhq","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-25T02:21:10.178Z","repository_id":32977857,"created_at":"2025-08-25T02:21:10.178Z","updated_at":"2025-08-25T02:21:10.178Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28607953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T16:10:39.856Z","status":"ssl_error","status_checked_at":"2026-01-20T16:10:39.493Z","response_time":117,"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":"2025-06-08T07:31:03.754Z","updated_at":"2026-01-20T18:01:00.786Z","avatar_url":"https://github.com/videojs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# videojs-generator-verify\n\n[![Build Status](https://travis-ci.org/videojs/videojs-generator-verify.svg?branch=master)](https://travis-ci.org/videojs/videojs-generator-verify)\n[![Greenkeeper badge](https://badges.greenkeeper.io/videojs/videojs-generator-verify.svg)](https://greenkeeper.io/)\n[![Slack Status](http://slack.videojs.com/badge.svg)](http://slack.videojs.com)\n\n[![NPM](https://nodei.co/npm/videojs-generator-verify.png?downloads=true\u0026downloadRank=true)](https://nodei.co/npm/videojs-generator-verify/)\n\nA tool to verify that a generator-videojs-plugin project is ready for publish.\n\nMaintenance Status: Stable\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\n\n- [Installation](#installation)\n- [Usage](#usage)\n  - [Command line](#command-line)\n  - [API](#api)\n    - [Options](#options)\n      - [`verbose`](#verbose)\n      - [`quiet`](#quiet)\n      - [`dir`](#dir)\n      - [`skip`](#skip)\n- [What is tested](#what-is-tested)\n- [License](#license)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n## Installation\n\nInstall `videojs-generator-verify` and `in-publish` via npm\n\n```sh\n$ npm install --save-dev videojs-generator-verify in-publish\n```\n\nThen add a script to your `package.json` as follows:\n\n```json\n{\n  \"scripts\": {\n    \"prepublish\": \"not-in-install \u0026\u0026 npm run build \u0026\u0026 vjsverify || in-install\"\n  }\n}\n```\n\n## Usage\n\n### Command line\nThis package provides two binaries `videojs-generator-verify` and `vjsverify`. `vjsverify` is just an alias to `videojs-generator-verify`.\n\nThe cli has the following options:\n\n```sh\n\n  Usage: vjsverify [--verbose|--quiet|--skip-es-check]\n\n  A tool to verify that a generator-videojs-plugin project is ready for publish.\n\n  -v, --version       Print the version of videojs-generator-verify.\n  -V, --verbose       Print all results, even successful ones.\n  -q, --quiet         Don't print anything.\n  -d, --dir [dir]     Run in this project directory, defaults to cwd.\n  --skip-es-check     skip the syntax check, still here for backwards compatablity\n  --skip-[name]       skip a test that you do not want to run. install, syntax, fields, require\n\n```\n\n### API\nIt is also possible to require this package, and run the `verify` function manually. It takes several options in as an object and returns\na promise that is resolved to 0 on success and 1 on failure.\n\n#### Options\nOptions are passed in an object by key/value.\n\nExample\n\n```js\nconst vjsverify = require('videojs-generator-verify');\nconst opitons = {verbose: true};\n\nvjsverify(options).then(function(exitCode) {\n  process.exit(exitCode);\n}).catch(function(e) {\n  console.error('Uh oh, internally vjsverify error', e);\n\n  process.exit(1);\n});\n```\n\n##### `verbose`\n\n\u003e Type: `boolean`\n\u003e Default: `false`\n\nPrint all results, even for success. By default only errors are printed.\n\n##### `quiet`\n\n\u003e Type: `boolean`\n\u003e Default: `false`\n\nDo not print anything.\n\n##### `dir`\n\n\u003e Type: `string`\n\u003e Default: `process.cwd()`\n\nRun vjsverify in a specific directory. Note that this directory must exist and contain a package.json.\n\n##### `skip`\n\n\u003e Type: `array`\n\u003e Default: `[]`\n\nSkip a tests that are not relevant for your project. valid checks: `require`, `syntax`, `fields`, `install`\n\n## What is tested\nThis package tests three things:\n\n1. Do all the files referenced in `package.json` point to a file that exists\n2. Will the package be installable from npm after publish\n3. Are the dist files all using es5 syntax, unless `--skip-es-check` is passed.\n\n## License\n\nApache-2.0. Copyright (c) Brightcove, Inc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvideojs%2Fvideojs-generator-verify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvideojs%2Fvideojs-generator-verify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvideojs%2Fvideojs-generator-verify/lists"}