Gathering detailed insights and metrics for @leanup/cli
Gathering detailed insights and metrics for @leanup/cli
Gathering detailed insights and metrics for @leanup/cli
Gathering detailed insights and metrics for @leanup/cli
@leanup/cli-preact
This package contains the Preact framework extension for the @leanup/cli.
@leanup/cli-vue
This package contains the Vue framework extension for the @leanup/cli.
@leanup/cli-react
This package contains the React framework extension for the @leanup/cli.
@leanup/cli-vue3
This package contains the Vue3 framework extension for the @leanup/cli.
Generic CLI to develop, test and build a SPA/PWA (framework independently)
npm install @leanup/cli
Typescript
Module System
Node Version
NPM Version
TypeScript (70.88%)
JavaScript (13.46%)
HTML (7.34%)
Vue (2.74%)
Shell (2.35%)
Sass (1.98%)
Svelte (1.03%)
Gherkin (0.22%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
Apache-2.0 License
34 Stars
3,532 Commits
5 Forks
2 Watchers
293 Branches
3 Contributors
Updated on Apr 26, 2025
Latest Version
1.3.50
Package Id
@leanup/cli@1.3.50
Unpacked Size
137.22 kB
Size
38.30 kB
File Count
63
NPM Version
10.5.0
Node Version
18.20.2
Published on
Apr 24, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
3
The @leanup
CLI contains all required popular tools in there minimal default, transparent and extensible configuration to develop JavaScript/TypeScript web applications.
There are some working examples:
To install the @leanup
CLI execute the following command:
npm install @leanup/cli typescript --save-dev
And a non-framework or framework strategy must also be selected:
Non-framework:
npm install @leanup/cli-vanilla --save-dev
Or with framework:
npm install @leanup/cli-angular --save-dev
or
npm install @leanup/cli-angularjs --save-dev
or
npm install @leanup/cli-aurelia --save-dev
or
npm install @leanup/cli-inferno --save-dev
or
npm install @leanup/cli-lit-element --save-dev
or
npm install @leanup/cli-preact --save-dev
or
npm install @leanup/cli-react --save-dev
or
npm install @leanup/cli-svelte --save-dev
or
npm install @leanup/cli-vue --save-dev
or
npm install @leanup/cli-vue3 --save-dev
Install the peer dependencies chromedriver
, geckodriver
or selenium-server
in the required version, if you need that features.
npm install chromedriver --save-dev
npm install geckodriver --save-dev
npm install selenium-server--save-dev
Tool/Technology | Description | Status | Note | Rating |
---|---|---|---|---|
TypeScript | Language | ✔️ | ready | |
Webpack | Bundler | ✔️ | ready | |
Snowpack | Bundler | ⌛ | in progress | |
Vite | Bundler | ⌛ | in progress | |
ESBuild | Transpiler | ✔️ | ready | |
Babel | Transpiler | ✔️ | ready | |
Mocha | Unit-Test-Runner | ✔️ | ready | |
Chai | Assertion | ✔️ | ready | |
Sinon | Mocking | ✔️ | ready | |
NYC | Code-Coverage | ✔️ | ready | |
ESLint | Code-Checker | ✔️ | ready | |
Nightwatch.js | E2E-Test-Runner | ✔️ | ready | |
Allsure | Report | ✔️ | ready | |
Cucumber | BDD | ✔️ | ready | |
robotframework | BDD | ⌛ | will be evaluated | |
Storybook | Documentation | ⌛ | in progress | |
OpenAPI | API | ✔️ | ready | |
GraphQL | API | ✔️ | ready | |
Workbox | PWA | ✔️ | ready | |
Lerna | Mono-Repo | ✔️ | ready | |
Ant-Design | Design-System | ✔️ | proved | |
Bootstrap | Design-System | ✔️ | proved | |
Material | Design-System | ✔️ | proved | |
Tailwindcss | Design-System | ✔️ | proved | |
WindiCSS | Design-System | ✔️ | proved | |
Nexus IQ | Vulnerabiliy-Gate | ✔️ | ready | |
Less | CSS | ✔️ | ready | |
Sass | CSS | ✔️ | ready | |
PostCSS | CSS | ✔️ | ready | |
TSArch | Architecture | ⌛ | in progress | |
Webhint | Webhint | ✔️ | moved *** | |
TestCafe | E2E-Test-Runner | ⌛ | will be evaluated **** | |
TSLint | Code-Checker | ❌ | removed ** | |
Cypress | E2E-Test-Runner | ❌ | excluded * |
* Arguments agains Cypress:
- reinvent wheel
- detect css selectors
- BDD test syntax
- principals
- large tooling
- a lot of binaries
- many dependencies
- ci integration vs selenium hub
It is difficult to keep focus with Cypress as it is more a nice tool than an effective tool. It is expected that a lot of time will be invested to justify the requirements of a project.
** TSLint is deprecated.
*** Webhint is not practical for the development of components, since component tags often have no relation to standard HTML. In addition, the webhint package alone is over 100 MB in size. I have good by using a IDE webhint plugin, like VSCode webhint.
**** TestCafe The idea that defined TestCafe architecture was that you don't really need an external driver to run end-to-end tests in the browser. That's interesting.
Vanilla Java-/TypeScript are supported by default. That means for example custom elements and any plain Java-/TypeScript code.
@leanup/cli
✔️@leanup/cli-vanilla
(optional) ✔️ Vanilla Java-/TypeScript are supported by default. That means for example custom elements and any plain Java-/TypeScript code.
The selection of the following frameworks depends in parts on the following references:
Currently the following framework extensions are available:
@leanup/cli-angular
✔️ @leanup/cli-angularjs
✔️ @leanup/cli-aurelia
✔️ @leanup/cli-inferno
✔️ @leanup/cli-lit-element
✔️ @leanup/cli-preact
✔️ @leanup/cli-react
✔️ @leanup/cli-svelte
✔️ @leanup/cli-vue
✔️ @leanup/cli-vue3
✔️ (RC) A separate package contains some nice but not required addons for webpack.
@leanup/cli-addons
✔️ @leanup/cli-cucumber
✔️ @leanup/cli-graphql
✔️ @leanup/cli-pwa
✔️ @leanup/cli-webhint
✔️ There a separate packages for important application features.
@leanup/git-hooks
✔️ @leanup/form
✔️ @leanup/lib
✔️ The following variable names are replaced by the values from package.json
file in the bundle:
Name | Description |
---|---|
APP_AUTHER | The value of the author attribute from the package.json file. |
APP_HOMEPAGE | The value of the homepage attribute from the package.json file. |
APP_NAME | The value of the name attribute from the package.json file. |
APP_VERSION | The value of the version attribute from the package.json file. |
NODE_ENV | The value of the version attribute from the package.json file. |
For example:
package.json
:
1{ 2 "name": "@scope/my-app", 3 "version": "1.1.0", 4 "description": "This CLI brings along all required tools to serve, test and build multi framework SPAs", 5 "author": "Martin Oppitz <npmjs@martinoppitz.com>", 6 "homepage": "https://leanupjs.org", 7 ...
App code:
1const APP_METADATA = { 2 author: '$$APP_AUTHER$$', 3 homepage: '$$APP_HOMEPAGE$$', 4 name: '$$APP_NAME$$', 5 version: '$$APP_VERSION$$', 6 environment: '$$NODE_ENV$$', // development | test | production ⌛ 7}; 8console.log(APP_METADATA);
Package | Size | Vulnerabilities |
---|---|---|
chromedriver | ||
geckodriver | ||
graphql | ||
selenium-server | ||
typescript |
Package | Size | Vulnerabilities |
---|---|---|
@leanup/git-hooks | ||
allure-commandline | ||
lerna | ||
workbox-cli |
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
SAST tool detected: CodeQL
Details
Reason
security policy file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
63 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More