Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@namics/frontend-defaults-cli
Advanced tools
CLI tool which creates a default setup for your frontend project
npx @namics/frontend-defaults-cli my-project
or in an existing project
npx @namics/frontend-defaults-cli
npx @namics/frontend-defaults-cli --eslint --dryRun
npx @namics/frontend-defaults-cli my-project --presetTs
npx @namics/frontend-defaults-cli --ts --eslint
Usage: <project-name> [options]
Options:
-pTs, --presetTs Preset typescript (recommended)
-pEs, --presetEs Preset javascript
-ts, --ts with typescript configurations
-es, --es with javascript configurations
-esl, --eslint add eslint
-e --editorconfig add editorconfig
-p --prettier add prettier
-s --stylelint add stylelint
-lo --licenseOpenSource select open source license
-lc --licenseClosedSource select closed source license
-ch --copyrightHolder [string] for open source license the copyrightHolder is needed
-gi --gitignore add gitignore
-n --npmrc add npmrc
-r --readme add readme file
-gh --githooks add githooks
-c --commitlint add commitlint (will enable githooks too)
-lch --licenseChecker add licenseChecker
-nv --nodeVersion add node-version file
-w --webpack add webpack with webpack-config-plugins
-b --build add build and watch script
-i --install install dependencies
-ni --noInstall do not install dependencies
-f --force create package.json and override existing files
-cwd --cwd defines where the configurations will be installed (default = process.cwd())
-d --dryRun prints changes will happens by given args
-h, --help output usage information
const { api } = require('@namics/frontend-defaults-cli');
api({
ts: true,
eslint: true,
install: false,
});
FAQs
CLI tool which creates a default setup for your frontend project
The npm package @namics/frontend-defaults-cli receives a total of 42 weekly downloads. As such, @namics/frontend-defaults-cli popularity was classified as not popular.
We found that @namics/frontend-defaults-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 open source maintainers 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.