{"id":22699859,"url":"https://github.com/enactjs/cli","last_synced_at":"2026-01-16T19:40:34.469Z","repository":{"id":37390493,"uuid":"68740037","full_name":"enactjs/cli","owner":"enactjs","description":"Full-featured build environment tool for Enact applications","archived":false,"fork":false,"pushed_at":"2026-01-12T07:12:13.000Z","size":29060,"stargazers_count":15,"open_issues_count":8,"forks_count":28,"subscribers_count":93,"default_branch":"master","last_synced_at":"2026-01-12T17:18:14.329Z","etag":null,"topics":["babel","cli","enact","enact-cli","enyme","es6","eslint","jest","less","lg","react","toolkit","web","webapp","webos","webos-ose","webos-tv","webpack"],"latest_commit_sha":null,"homepage":"http://enactjs.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/enactjs.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-09-20T18:11:58.000Z","updated_at":"2025-11-14T05:44:59.000Z","dependencies_parsed_at":"2024-01-30T02:45:08.330Z","dependency_job_id":"fb1fe464-9474-4c91-bd65-93593bec1de0","html_url":"https://github.com/enactjs/cli","commit_stats":{"total_commits":616,"total_committers":23,"mean_commits":"26.782608695652176","dds":0.3798701298701299,"last_synced_commit":"f8ff5a6a8555a2c71d68ef8c5a9f8bf2768a950d"},"previous_names":["enyojs/enact-dev","enyojs/enact-cli"],"tags_count":108,"template":false,"template_full_name":null,"purl":"pkg:github/enactjs/cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enactjs%2Fcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enactjs%2Fcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enactjs%2Fcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enactjs%2Fcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enactjs","download_url":"https://codeload.github.com/enactjs/cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enactjs%2Fcli/sbom","scorecard":{"id":376560,"data":{"date":"2025-08-11","repo":{"name":"github.com/enactjs/cli","commit":"cf2ba4d78b1f39b332734ece2508e554bb903168"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.6,"checks":[{"name":"Maintained","score":10,"reason":"13 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/update-copyright-years.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":"Code-Review","score":2,"reason":"Found 6/30 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":"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/update-copyright-years.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/enactjs/cli/update-copyright-years.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/update-copyright-years.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/enactjs/cli/update-copyright-years.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction 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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 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"}}]},"last_synced_at":"2025-08-18T14:22:57.488Z","repository_id":37390493,"created_at":"2025-08-18T14:22:57.488Z","updated_at":"2025-08-18T14:22:57.488Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28481925,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"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":["babel","cli","enact","enact-cli","enyme","es6","eslint","jest","less","lg","react","toolkit","web","webapp","webos","webos-ose","webos-tv","webpack"],"created_at":"2024-12-10T06:08:56.178Z","updated_at":"2026-01-16T19:40:34.460Z","avatar_url":"https://github.com/enactjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @enact/cli [![Travis](https://img.shields.io/travis/com/enactjs/cli/master?style=flat-square)](https://app.travis-ci.com/github/enactjs/cli) [![NPM](https://img.shields.io/npm/v/@enact/cli.svg?style=flat-square)](https://www.npmjs.com/package/@enact/cli)\n\n\u003e A standalone toolkit for rapid Enact app development.\n\n## Installation\n\nAll that's needed to install @enact/cli is to use npm to install it globally. For Linux `sudo` may be required.\n```\nnpm install -g @enact/cli\n```\n\n\u003eNote: Node 16 or greater required.\n\n## Creating a new App\n\nThe only time you're ever want to directly use the Enact CLI is when you want to create a new project.\n\n```sh\nenact create [directory]\n```\n\nThis will generate a basic App template, complete with npm scripts and dependencies. If no directory path is specified, it will be generated within the working directory.\n\n\u003eAdvanced: If you've used `npm link` on separate installations of the Enact repo, you can run `enact link` afterwards to link in any available Enact libraries.\n\n## Available Commands\n\nEnact supports several commands, each accessible through the `enact` command and through npm aliases in **package.json**. For help on individual commands, add `--help` following the command name. The commands are:\n\n### `enact serve` (aliased as `npm run serve`)\n\nBuilds and serves the app in the development mode.\u003cbr\u003e\nOpen [http://localhost:8080](http://localhost:8080) to view it in the browser.\n\nThe page will reload if you make edits.\u003cbr\u003e\n\n### `enact pack` (aliased as `npm run pack`, `npm run pack-p`, and `npm run watch`)\n\nBuilds the project in the working directory. Specifically, `pack` builds in development mode with code un-minified and with debug code included, whereas `pack-p` builds in production mode, with everything minified and optimized for performance. Be sure to avoid shipping or performance testing on development mode builds.\n\n### `enact clean` (aliased as `npm run clean`)\n\nDeletes previous build fragments from ./dist.\n\n### `enact lint` (aliased as `npm run lint`)\n\nRuns the Enact configuration of ESLint on the project for syntax analysis.\n\n### `enact test` (aliased as `npm run test` and `npm run test-watch`)\n\nThese tasks will execute all valid tests (files that end in `-specs.js`) that are within the project directory. The `test` is a standard single execution pass, while `test-watch` will set up a watcher to re-execute tests when files change.\n\n### `enact license` (aliased as `npm run license`)\n\nOutputs a JSON representation of the licenses for modules referenced by the current project as well as any licenses of modules used by `@enact/cli` that may be included in a production build of an app.\n\n\n## Enact Build Options\n\nThe @enact/cli tool will check the project's **package.json** looking for an optional `enact` object for a few customization options:\n\n* `template` _[string]_ - Filepath to an alternate HTML template to use with the [Webpack html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin).\n* `isomorphic` _[string]_ - Alternate filepath to a custom isomorphic-compatible entry point. Not needed if main entry point is already isomorphic-compatible.\n* `title` _[string]_ - Title text that should be put within the HTML's `\u003ctitle\u003e\u003c/title\u003e` tags. Note: if this is a webOS-project, the title will, by default, be auto-detected from the **appinfo.json** content.\n* `alias` _[object]_ - String mapping of webpack alias paths to use when building.\n* `theme` _[object]_ - A simplified string name to extrapolate `fontGenerator`, `ri`, and `screenTypes` preset values from. For example, `\"sandstone\"`.\n* `fontGenerator` _[string]_ - Filepath to a CommonJS fontGenerator module which will build locale-specific font CSS to inject into the HTML. By default, will use any preset for a specified theme or fallback to sandstone.\n* `ri` _[object]_ - Resolution independence options to be forwarded to the [postcss-resolution-independence](https://github.com/enactjs/postcss-resolution-independence). By default, will use any preset for a specified theme or fallback to sandstone.\n\t* `baseSize` _[number]_ - The root font-size to use when converting the value of the base unit to a resolution-independent unit. For example, when `baseSize` is set to 24, 48px in the LESS file will be converted to 2rem.\n* `screenTypes` _[array|string]_ - Array of 1 or more screentype definitions to be used with prerender HTML initialization. Can alternatively reference a json filepath to read for screentype definitions.  By default, will use any preset for a specified theme or fallback to sandstone.\n* `nodeBuiltins` _[object]_ - Configuration settings for polyfilling NodeJS built-ins. See `node` [webpack option](https://webpack.js.org/configuration/node/).\n* `resolveFallback` _[object]_ - Configuration settings for redirecting module requests when normal resolving fails. See `resolve.fallback` [webpack option](https://webpack.js.org/configuration/resolve/#resolvefallback).\n* `externalStartup` _[boolean]_ - Flag whether to externalize the startup/update js that is normally inlined within prerendered app HTML output.\n* `forceCSSModules` _[boolean]_ - Flag whether to force all LESS/CSS to be processed in a modular context (not just the `*.module.css` and `*.module.less` files).\n* `deep` _[string|array]_ - 1 or more JavaScript conditions that, when met, indicate deeplinking and any prerender should be discarded.\n* `target` _[string|array]_ - A build-type generic preset string (see `target` [webpack option](https://webpack.js.org/configuration/target/)) or alternatively a specific [browserslist array](https://github.com/browserslist/browserslist) of desired targets.\n* `publicUrl` _[string]_ - Public path URL at which the app is served or destined to be hosted. This can also be set via the package.json `homepage` field.\n* `proxy` _[string]_ - Proxy target during project `serve` to be used within the [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware).\n\nFor example:\n```js\n{\n\t...\n\t\"enact\": {\n\t\t\"theme\": \"sandstone\",\n\t\t\"resolveFallback\": {\n\t\t\tfs: false,\n\t\t\tnet: false,\n\t\t\ttls: false\n\t\t}\n\t}\n\t...\n}\n```\n\n## Displaying Lint Output in the Editor\n\nSome editors, including Visual Studio Code, Sublime Text, and Atom provide plugins for ESLint.\n\nThey are not required for linting. You should see the linter output right in your terminal. However, if you prefer the lint results to appear right in your editor, there are some extra steps you can do.\n\nYou would need to install an ESLint plugin for your editor first.\n\nEver since ESLint 6, global installs of ESLint configs are no longer supported.\nTo work around this new limitation, while still supporting in-editor linting, we've created a new [eslint-config-enact-proxy](https://github.com/enactjs/eslint-config-enact-proxy) package.\nThe [eslint-config-enact-proxy](https://github.com/enactjs/eslint-config-enact-proxy) acts like a small proxy config, redirecting ESLint to use a globally-installed Enact ESLint config.\n`eslint-config-enact-proxy` needs to be installed locally on a project to enable in-editor linting:\n\n```sh\nnpm install --save-dev eslint-config-enact-proxy\n```\n\nAlso, you need to modify `eslintConfig` property in `package.json`:\n\n```json\n  \"eslintConfig\": {\n    \"extends\": \"enact-proxy\"\n  },\n```\n\u003e**NOTE**: For strict mode, use `\"extends\": \"enact-proxy/strict\"`.\n\nIn order for in-editor linting to work with our updated ESLint config, you'll need to upgrade to ESLint 7 or later. This can be installed globally by running:\n\n```sh\nnpm install -g eslint\n```\n\nThen, you will need to uninstall any previous globally-installed Enact linting package (everything but eslint itself):\n\n```sh\nnpm uninstall -g eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-babel @babel/eslint-parser eslint-plugin-jest eslint-plugin-enact eslint-config-enact\n```\n\n## Documentation\n* [Enact CLI Development Tool](https://enactjs.com/docs/developer-tools/cli/)\n\n## Copyright and License Information\n\nUnless otherwise specified, all content, including all source code files and documentation files in this repository are:\n\nCopyright (c) 2016-2025 LG Electronics\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n\nPortions of this project are based upon [create-react-app](https://github.com/facebookincubator/create-react-app), Copyright (C) 2016-present Facebook, Inc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenactjs%2Fcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenactjs%2Fcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenactjs%2Fcli/lists"}