techpacket-build-tools
v1.0.17
Published
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/80596bc67fc44d4189c50ce41147f22d)](https://app.codacy.com/app/vladislav-andreevich/techpacket-build-tools?utm_source=github.com&utm_medium=referral&utm_content=TechPacket/techpacket-build-tools&u
Downloads
43
Readme
How to use
Installing
npm install techpacket-build-tools --save
Configuration
- 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')()], };
- To start a project in a development environment, use the command:
techpacket-build-tools --config .techpacketrc.js
- To build a project in the product environment, use the command:
techpacket-build-tools build --config .techpacketrc.js
- To start an watcher without to start the server, use the command:
techpacket-build-tools watch --config .techpacketrc.js