Socket
Socket
Sign inDemoInstall

tradie

Package Overview
Dependencies
542
Maintainers
1
Versions
135
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    tradie

A CLI for building web apps. Like create-react-app but configurable via templates.


Version published
Weekly downloads
159
increased by194.44%
Maintainers
1
Install size
27.8 MB
Created
Weekly downloads
 

Readme

Source

tradie

npm Commitizen friendly

A CLI for building web apps. Like create-react-app but configurable via templates.

The documentation for Tradie is still a little rough. Please ask questions on Github and raise PRs to fix any bugs or missing documentation!

Usage

tradie requires a template in order to know how to build, serve and test your app. Choose a template and follow its documentation to set up up your project.

Commands

tradie clean

Remove all compiled artifacts and temporary files.

tradie build

Bundle source assets into compiled artifacts.

  • --watch - watch all source files and re-compile when they change
  • --optimize - create an optimized build
tradie serve

Bundle and serve compiled artifacts with HMR.

tradie test

Run tests.

  • --watch - watch all test files and re-compile when they change
  • --coverage - collect and output test coverage

Debugging

tradie clears the screen on compilation and attempts to make Webpack messages more readable. In some instances this can make debugging more difficult. You can turn off this functionality by setting a value for the DEBUG environment variable.

For example:

#*nix
export DEBUG=1
tradie serve

#win
set DEBUG=1
tradie serve

Many of tradie's dependencies use the debug package. You can vary the value of the DEBUG environment variable to show more or less information.

For example:

#*nix
export DEBUG="tradie*"
tradie serve

#win
set DEBUG="tradie*"
tradie serve

Templates

Templates tell tradie how to build, serve and test your app. They contain configuration for Webpack and Jest.

Choose from one of the existing templates below or build your own.

Keywords

FAQs

Last updated on 06 Jun 2017

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc