New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ginterdev/toolkit

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ginterdev/toolkit

Complete toolkit for setting up a new project with a single command

  • 0.1.0-rc.12
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
13
increased by1200%
Maintainers
1
Weekly downloads
 
Created
Source

@ginterdev/toolkit

Fully-featured toolkit for my projects. Includes CLI for generating complete project boilerplate.

npm version

Installation

This library requires Node v12 or newer.

npm add --save-exact @ginterdev/toolkit

# or

yarn add --exact @ginterdev/toolkit

Usage

npx @ginterdev/toolkit [options]

Options

This CLI has some default features that will always be installed:

  • ESLint (with config),
  • Husky v4 (pre-commit hook),
  • lint-staged (with config),
  • Prettier (with config).
npx @ginterdev/toolkit

  # add Dockerfile and .dockerignore for building basic Node.js image
  --docker

  # install dependencies versions that don't support IE11 (like Tailwind v2)
  --drop-ie11

  # add 'jest' for testing
  --jest

  # add .github with workflow running basic checks (linters, type checking)
  --github-ci

  # specify exact node version to use for the project
  # notice, that <version> must be valid semver: <major>.<minor>.<patch>
  # when this option is not specified, default version will be used (12.20.1)
  --node <version>

  # use 'npm' instead of 'yarn' for commands
  --npm

  # add 'react' and 'react-dom' along with some basic components
  --react

  # add Next.js configuration
  # (notice that --react doesn't have to be specified because this option
  # indicates using of React)
  --nextjs

  # don't install dependencies as part of this CLI execution
  --skip-install

  # add Tailwind support
  # - creates config files
  # - add 'tailwindcss' as dependency
  --tailwind

  # add Typescript support
  --typescript

  # add simple .vscode directory with couple of settings
  --vscode

Example usage

Create project with Tailwind, Typescript and Next.js. Don't include Github Actions workflows or Docker support. Use Node v14.

npx @ginterdev/toolkit --node 14.15.4 --tailwind --nextjs --typescript

FAQs

Package last updated on 29 Mar 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc