Skip to content

A tool for building projects that does not require additional dependencies.

License

Notifications You must be signed in to change notification settings

TechPacket/techpacket-build-tools

This branch is 1 commit ahead of, 1 commit behind develop.

Folders and files

NameName
Last commit message
Last commit date
Sep 2, 2018
Sep 2, 2018
Feb 13, 2019
Jun 5, 2019
Sep 2, 2018
Sep 2, 2018
Sep 2, 2018
Sep 2, 2018
Sep 2, 2018
Sep 2, 2018
Jan 13, 2019
Sep 24, 2018
Sep 2, 2018
Sep 2, 2018
Sep 2, 2018
Sep 2, 2018
Jul 29, 2018
Sep 10, 2018
Sep 5, 2018
Sep 2, 2018
Sep 2, 2018
Feb 13, 2019
Feb 13, 2019

Repository files navigation

How to use

Codacy Badge Greenkeeper badge

Installing

npm install techpacket-build-tools --save

Configuration

  1. Create .techpacketrc.js config. As example:
     module.exports = {
    
         // HTML OPTIONS
    
         html: {
             templatePath: './packages/client/src',
         },
    
         // OPTIONS
    
         publicPath: './packages/client',
         outDir: './packages/client/dist',
         entry: './packages/client/src/app.js',
    
         // PLUGINS
    
         plugins: [require('techpacket-build-tools/packages/plugin-typescript')()],
    
     };
  2. To start a project in a development environment, use the command:
     techpacket-build-tools --config .techpacketrc.js
  3. To build a project in the product environment, use the command:
    techpacket-build-tools build --config .techpacketrc.js
  4. To start an watcher without to start the server, use the command:
    techpacket-build-tools watch --config .techpacketrc.js