Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@albertli90/al-cli
Advanced tools
Readme
This project is reserved for personal usage and for the react-openfin-js scaffolding tool please refer openfin-js-cli instead. Currently, this client no longer support to generate openfin prototype projects
_ _ _ _ _
__ _| | |__ ___ _ __| |_ ___| (_)
/ _` | | '_ \ / _ \ '__| __|____ / __| | |
| (_| | | |_) | __/ | | ||_____| (__| | |
\__,_|_|_.__/ \___|_| \__| \___|_|_|
v0.70.2
albert li personal cli to generate boilerplate codes
SYNOPSIS
$ al-cli electron-ts <app name>
$ al-cli react-ts <app name>
$ al-cli comp <component name>
$ al-cli view <view component name>
$ al-cli lyt <layout component name>
$ al-cli help
DESCRIPTION
--force -f Create the target file by force, override if any already exist
--directory -d Override the default path where the file created
--verbose -v Include comments
--skipInstall Skip to install node_moduels
npm install @albertli90/al-cli -g
or
yarn global add @albertli90/al-cli
To generate a electron prototype project basing on create-react-app in typescript
$ al-cli electron-ts sample-electron-app
Once created, change into the working directory:
# install dependencies if skipped before
yarn install
# clean building directory for the workspace
yarn clean
# start dev server
yarn start
# bundle and build the js codes for production
yarn build
# run all unit test cases
yarn test
# eject all scaffolding files
yarn eject
# conditionally run all end2end test cases; this task expects bundle files to be built in advance at directory build
yarn e2e
# bundle and build the js codes and package into binaries for production
yarn package
# bundle and build the js codes and package into binaries with directories for production
yarn package:dir
# lint all source codes
yarn lint
# prettify all source codes
yarn prettify
To generate a front-end prototype project basing on create-react-app in typescript
$ al-cli react-ts sample-react-ts-app -v --skipInstall
Once created, change into the working directory:
# install dependencies if skipped before
yarn install
# start dev server
yarn start
# build the applicaton for production
yarn build
# run all unit test cases
yarn test
# eject all scaffolding files
yarn eject
# conditionally run all end2end test cases; this task expects active server running, like a dev server
yarn e2e
# lint all source codes
yarn lint
# prettify all source codes
yarn prettify
FAQs
albert li personal cli to generate boilerplate codes
The npm package @albertli90/al-cli receives a total of 2 weekly downloads. As such, @albertli90/al-cli popularity was classified as not popular.
We found that @albertli90/al-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.