All Projects β†’ ItsJonQ β†’ zero

ItsJonQ / zero

Licence: MIT license
πŸ“¦ A zero config scripts library

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to zero

nest-boilerplate
Nest.js boilerplate with CircleCI, Commitizen, Commitlint, Docker-Compose, ESLint, GitHub Actions, Husky, Lint-staged, OpenAPI, Prettier, PostGreSQL, Travis CI, TypeORM
Stars: ✭ 16 (-5.88%)
Mutual labels:  eslint, prettier, lint-staged
Serverless Typescript Starter
πŸ—„πŸ™…β€β™€οΈ Deploy your next serverless JavaScript function in seconds
Stars: ✭ 653 (+3741.18%)
Mutual labels:  eslint, jest, prettier
Webpack React Boilerplate
Minimal React 16 and Webpack 4 boilerplate with babel 7, using the new webpack-dev-server, react-hot-loader, CSS-Modules
Stars: ✭ 358 (+2005.88%)
Mutual labels:  eslint, jest, prettier
walrus
πŸŽ‰ Cli development framework.
Stars: ✭ 17 (+0%)
Mutual labels:  eslint, jest, prettier
Starter React Flux
Generate your React PWA project with TypeScript or JavaScript
Stars: ✭ 65 (+282.35%)
Mutual labels:  eslint, jest, prettier
awesome-address-book
This project shows a basic address book built with ReactJS, Redux Toolkit and Typescript πŸ“–
Stars: ✭ 20 (+17.65%)
Mutual labels:  eslint, jest, prettier
Typescript Express Starter
πŸš€ TypeScript Express Starter
Stars: ✭ 238 (+1300%)
Mutual labels:  eslint, jest, prettier
eslint-config-adjunct
A reasonable collection of plugins to use alongside your main esLint configuration
Stars: ✭ 39 (+129.41%)
Mutual labels:  eslint, jest, prettier
Node Typescript Boilerplate
Minimalistic project template to jump start a Node.js back-end application in TypeScript. ESLint, Jest and type definitions included.
Stars: ✭ 1,061 (+6141.18%)
Mutual labels:  eslint, jest, prettier
Express React Boilerplate
πŸš€πŸš€πŸš€ This is a tool that helps programmers create Express & React projects easily base on react-cool-starter.
Stars: ✭ 32 (+88.24%)
Mutual labels:  eslint, jest, prettier
node-backend-template
A template for NodeJS backend projects
Stars: ✭ 19 (+11.76%)
Mutual labels:  eslint, jest, prettier
Simple React Calendar
A simple react based calendar component to be used for selecting dates and date ranges
Stars: ✭ 97 (+470.59%)
Mutual labels:  eslint, jest, prettier
react16-seed-with-apollo-graphql-scss-router4-ssr-tests-eslint-prettier-docker-webpack3-hot
Seed to create your own project using React with Apollo GraphQL client
Stars: ✭ 19 (+11.76%)
Mutual labels:  eslint, jest, prettier
reactjs-vite-tailwindcss-boilerplate
ReactJS + Vite boilerplate to be used with Tailwindcss.
Stars: ✭ 103 (+505.88%)
Mutual labels:  eslint, jest, prettier
nextjs-baseweb
Slightly opinionated scaffold of Next.js and Base Web.
Stars: ✭ 46 (+170.59%)
Mutual labels:  eslint, jest, prettier
React Typescript Web Extension Starter
πŸ–₯ A Web Extension starter kit built with React, TypeScript, SCSS, Storybook, Jest, EsLint, Prettier, Webpack and Bootstrap. Supports Google Chrome + Mozilla Firefox + Brave Browser πŸ”₯
Stars: ✭ 510 (+2900%)
Mutual labels:  eslint, jest, prettier
ying-template
θΏ™ζ˜―δΈ€δΈͺ基于 `webpack@^5.27.2` + `typescript@^4.2.3` + `@babel/core@^7.2.2` + `jest@^26.6.3` + `eslint@^7.22.0` ηš„ε€šι‘΅ι’θ„šζ‰‹ζžΆγ€‚
Stars: ✭ 125 (+635.29%)
Mutual labels:  eslint, jest, prettier
react-component-library-lerna
Build your own React component library managed with lerna, presented with storybook and published in private npm registry.
Stars: ✭ 55 (+223.53%)
Mutual labels:  eslint, jest, prettier
React Ssr Starter
All have been introduced React environment
Stars: ✭ 20 (+17.65%)
Mutual labels:  eslint, jest, prettier
Mostly
They mostly come at night; mostly.
Stars: ✭ 78 (+358.82%)
Mutual labels:  eslint, jest, prettier

πŸ“¦ Zero

Build Status

A zero config scripts library

Zero is a "zero config" tool designed to make it easy to create, develop, test, build, and publish libraries.

It comes with a bunch of modern front-end tools, like Babel, Rollup, ESLint, Prettier, and Jest - All pre-configured to let you build stuff without fiddling with configuration files, scripts and commands.

πŸ“¦  Zero

zero <command>

Example:
  zero build

Options:
  -V, --version     output the version number
  -h, --help        output usage information

Commands:
  build [options]   Builds project with Babel, Rollup, or TypeScript
  bundle [options]  Bundles project into single files with Rollup
  contributors      Generates markdown file with all contributors
  format [options]  Formats files with Prettier
  lint [options]    Lints files with ESLint
  new               Generate a new module
  pre-commit        Lints files before staging for commit
  prestart          Automatically install dependencies before starting
  release           Publish to npm
  setup [options]   Sets up tooling in project
  test [options]    Run test with Jest
  typecheck         Check types with TypeScript
  validate          Validates project with lint, tests, and build

Table of Contents

Installation

Add Zero to your project with this command:

npm install --save-dev @itsjonq/zero

Or globally with:

npm install -g @itsjonq/zero

Usage

Zero comes with a handful of scripts that you can add to your own package.json scripts:

"scripts": {
  "prestart": "zero prestart",
  "build": "zero build",
  "format": "zero format",
  "lint": "zero lint",
  "precommit": "zero pre-commit",
  "release": "zero release",
  "test": "zero test",
  "validate": "zero validate",
}

CLI

To use Zero as a CLI, install it globally, then run this command:

zero

Alternatively, you can run it with npx

npx @itsjonq/zero

Extending

Zero can build, lint, format, and release out-of-the-box!

If you need to personalize Babel, ESLint, or Jest, Zero's got you covered. Add your own adjustments by extending Zero's based configurations.

Babel

Create a babel or .babelrc file with:

{"presets": ["@itsjonq/zero/babel"]}

babel-core@7

As of version 1.0.0, Zero is now on @babel version 7. Your project may need to install [email protected]. To do so, add that package to your package.json, or run:

npm install --save-dev [email protected]

@babel/runtime

Zero does not use @babel/runtime, as it is still being used to compile projects on Babel 6. If you need an ultra-modern Babel 7 ready tool, check out kcd-scripts.

babel-plugin-react-app

Zero no longer comes with babel-plugin-react-app. The reason is because this module uses @babel/runtime with the new Babel 7 set up. If your project requires babel-plugin-react-app (e.g. building Docz), you'll need to add it yourself as a devDependencies.

ESlint

Create an .eslintrc file with:

{"extends": "./node_modules/@itsjonq/zero/eslint.js"}

Note: for now, you'll have to include an .eslintignore in your project until this eslint issue is resolved.

Jest

Create a jest.config.js file with:

const jestConfig = require('@itsjonq/zero/jest');

module.exports = Object.assign(jestConfig, {
	// your overrides here
});

Prettier

Create a .prettierrc.js file with:

module.exports = require("@itsjonq/zero/prettier");

Thanks

Thanks to kcd-scripts and create-react-app for the inspiration and code!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].