All Projects → borela-tech → Js Toolbox

borela-tech / Js Toolbox

Licence: apache-2.0
CLI tool to simplify the development of JavaScript apps/libraries with little to no configuration. (WORK IN PROGRESS/PACKAGE NOT PUBLISHED).

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
flow
126 projects

Projects that are alternatives of or similar to Js Toolbox

React Boilerplate
This project is deprecated. Please use CRA instead.
Stars: ✭ 88 (+66.04%)
Mutual labels:  webpack, babel, jest, postcss
Pwa
An opinionated progressive web app boilerplate
Stars: ✭ 353 (+566.04%)
Mutual labels:  webpack, babel, jest, postcss
Support
JS.coach is a manually curated list of packages related to React, Webpack, Babel and PostCSS
Stars: ✭ 305 (+475.47%)
Mutual labels:  webpack, babel, postcss
React Redux Boilerplate
Awesome React Redux Workflow Boilerplate with Webpack 4
Stars: ✭ 307 (+479.25%)
Mutual labels:  webpack, jest, postcss
Express React Boilerplate
🚀🚀🚀 This is a tool that helps programmers create Express & React projects easily base on react-cool-starter.
Stars: ✭ 32 (-39.62%)
Mutual labels:  webpack, babel, jest
react-enterprise-starter-kit
Highly Scalable Awesome React Starter Kit for an enterprise application with a very easy maintainable codebase. 🔥
Stars: ✭ 55 (+3.77%)
Mutual labels:  babel, postcss, jsx
Webpack Blocks
📦 Configure webpack using functional feature blocks.
Stars: ✭ 2,992 (+5545.28%)
Mutual labels:  webpack, babel, postcss
Electron React Boilerplate
A Foundation for Scalable Cross-Platform Apps
Stars: ✭ 18,727 (+35233.96%)
Mutual labels:  webpack, babel, jest
Front End Guide
📚 Study guide and introduction to the modern front end stack.
Stars: ✭ 14,073 (+26452.83%)
Mutual labels:  webpack, babel, jest
Poi
⚡A zero-config bundler for JavaScript applications.
Stars: ✭ 5,291 (+9883.02%)
Mutual labels:  webpack, babel, postcss
Naomi
Sublime Text enhanced syntax highlighting for JavaScript ES6/ES7/ES2015/ES2016/ES2017+, Babel, FlowType, React JSX, Styled Components, HTML5, SCSS3, PHP 7, phpDoc, PHPUnit, MQL4. Basic: Git config files.
Stars: ✭ 544 (+926.42%)
Mutual labels:  webpack, babel, postcss
Serverless Typescript Starter
🗄🙅‍♀️ Deploy your next serverless JavaScript function in seconds
Stars: ✭ 653 (+1132.08%)
Mutual labels:  webpack, babel, jest
React
Extremely simple boilerplate, easiest you can find, for React application including all the necessary tools: Flow | React 16 | redux | babel 6 | webpack 3 | css-modules | jest | enzyme | express + optional: sass/scss
Stars: ✭ 244 (+360.38%)
Mutual labels:  webpack, babel, jest
Svelte Boilerplate
Svelte application boilerplate with Webpack, Babel, PostCSS, Sass, Fetch, Jest, .Env, EsLint.
Stars: ✭ 216 (+307.55%)
Mutual labels:  webpack, jest, postcss
React Bolt
⚡ The most simple & robust boilerplate for your React projects.
Stars: ✭ 298 (+462.26%)
Mutual labels:  webpack, babel, jest
Xdm
a modern MDX compiler. No runtime. With esbuild, Rollup, and webpack plugins
Stars: ✭ 206 (+288.68%)
Mutual labels:  webpack, babel, jsx
React Es6 Padawan To Jedi Book
Uma introdução simples e completa para React usando ES6 e Babel.
Stars: ✭ 46 (-13.21%)
Mutual labels:  webpack, babel, jsx
Express Webpack React Redux Typescript Boilerplate
🎉 A full-stack boilerplate that using express with webpack, react and typescirpt!
Stars: ✭ 156 (+194.34%)
Mutual labels:  webpack, babel, jest
Hops
Universal Development Environment
Stars: ✭ 158 (+198.11%)
Mutual labels:  webpack, babel, postcss
Ts Monorepo
Template for setting up a TypeScript monorepo
Stars: ✭ 459 (+766.04%)
Mutual labels:  webpack, babel, jest

borela-js-toolbox

GitHub watchers GitHub stars GitHub issues GitHub pulls GitHub forks

Build Travis Build Appveyor NodeJS version David Platforms License All Contributors

Develop JavaScript apps/libraries with little to no configuration and still be allowed to use all bleeding edge features available through Babel and Webpack.

This tool can be installed globally and be used to compile any project that follows the expected directory structure.

Table of contents

  1. What’s included
  2. Installation
  3. Creating a simple JS library
  4. Creating an Express server
  5. Creating a Single Page React Application
  6. More information

What’s included

  • Commands to scaffold, build, lint, test and run the app;
  • All Babel’s experimental plugins are enabled by default;
  • Polyfills are included based on the browsers and minimum NodeJS version supported by your project;

Some features must be enabled explicitly either through command flags, configuration or project type:

Installation

npm install @borela-tech/js-toolbox -g

The toolbox uses ´“bb” as its command alias, to see the available options type:

bb --help

Creating a simple JS library

  1. Navigate to the directory you want to create the project;
  2. Run the command bb scaffold lib;

Run the tests:

bb test

# Or in watch mode.
bb test --watch

Lint the sources and tests:

bb lint

# ESLint will try to fix linting errors but be aware that not all of them can
# be fixed automatically.
bb lint --fix

And finally, to build:

bb build

# The previous command includes a lot of stuff that’s only needed during
# development and some of them require the toolbox to be installed. You
# need to set NODE_ENV to production to remove them:
bb build --production

Creating an Express server

  1. Navigate to the directory you want to create the project;
  2. Run the command bb scaffold-project express;

The commands to test, lint and build are the same but this time, you can also:

bb start

This command will start the server using nodemon and any changes to the files will restart the server.

Creating a Single Page React Application

  1. Navigate to the directory you want to create the project;
  2. Run the command bb scaffold-project react/spa;

The commands to test, lint and build are the same but this time, you can also:

bb serve

This command will spin up Webpack’s Development Server to serve your application on localhost:9000. Features included:

  • React Hot Loader to enable hot reload of react components without losing state;
  • Pretty error messages;

More information

To see the available commands/flags you can find more information on our wiki or type --help next to the command in question:

bb --help
bb build --help
bb test --help
# Etc...

Contributors

Thanks goes to these wonderful people (emoji legend):


Alexandre Borela

💻 🎨 📖 👀 ⚠️

Batarian711

🎨

This project follows the all-contributors specification. Contributions of any kind welcome!

If you are not included but created bug reports, sent ideas or patches please send a pull request to the .all-contributorsrc file.

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].