Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/techpacket/techpacket-build-tools
A tool for building projects that does not require additional dependencies.
https://github.com/techpacket/techpacket-build-tools
babel build-tool react react-bundle typescript webpack webpack-boilerplate zero-configuration
Last synced: 22 days ago
JSON representation
A tool for building projects that does not require additional dependencies.
- Host: GitHub
- URL: https://github.com/techpacket/techpacket-build-tools
- Owner: TechPacket
- License: mit
- Created: 2018-07-29T09:34:03.000Z (over 6 years ago)
- Default Branch: develop
- Last Pushed: 2020-05-30T23:47:50.000Z (over 4 years ago)
- Last Synced: 2024-12-11T14:07:39.354Z (28 days ago)
- Topics: babel, build-tool, react, react-bundle, typescript, webpack, webpack-boilerplate, zero-configuration
- Language: JavaScript
- Homepage:
- Size: 3.12 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 36
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# How to use
[![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&utm_campaign=Badge_Grade_Dashboard)
[![Greenkeeper badge](https://badges.greenkeeper.io/TechPacket/techpacket-build-tools.svg)](https://greenkeeper.io/)## Installing
```bash
npm install techpacket-build-tools --save
```## Configuration
1. Create `.techpacketrc.js` config. As example:
```bash
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/plugin-typescript")()],
};
```
2. To start a project in a development environment, use the command:
```bash
techpacket-build-tools --config .techpacketrc.js
```
3. To build a project in the product environment, use the command:
```bash
techpacket-build-tools build --config .techpacketrc.js
```
4. To start an watcher without to start the server, use the command:
```bash
techpacket-build-tools watch --config .techpacketrc.js
```
5. To use the typescript, install the plugin:
```bash
npm i @techpacket-build-tools/plugin-typescript --save-dev
```
And also add it to the config, to the plugins section.