# project-builder

> project build

Latest version **1.0.5** (published 2016-08-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install project-builder
pnpm add project-builder
yarn add project-builder
bun add project-builder
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2016-08-11 |
| First published | 2016-08-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 (+8 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | hellocreep |
| Keywords | project, build, webpack |

## Links

- npm: https://www.npmjs.com/package/project-builder
- npm.io page: https://npm.io/package/project-builder

## Dependencies (5)

- [ora](https://npm.io/package/ora.md) ^0.2.3
- [lodash](https://npm.io/package/lodash.md) ^4.11.1
- [fs-extra](https://npm.io/package/fs-extra.md) ^0.28.0
- [simple-git](https://npm.io/package/simple-git.md) ^1.38.0
- [js-beautify](https://npm.io/package/js-beautify.md) ^1.6.3

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2016-08-11
- 1.0.4 — 2016-08-11
- 1.0.3 — 2016-08-11
- 1.0.1 — 2016-08-11
- 1.0.0 — 2016-08-11

## README

# Project Builder

## Usage

```js
import projectBuilder from 'project-builder'

async function main() {
  const builder = await projectBuilder.fetch('git@github.com:hellocreep/project-build-collection.git')

  const webpackBuilder = builder.webpack()
  webpackBuilder.base('webpack')
  webpackBuilder.use('config', 'config/base')
  webpackBuilder.use('loaders', ['loaders/babel', 'loaders/react'])
  webpackBuilder.use('plugins', ['plugins/definePlugin', 'plugins/noErrorPlugin'])
  webpackBuilder.dest('./webpack')


  const fileBuilder = builder.file()
  fileBuilder.base('dotfiles')
  fileBuilder.use(['.eslintrc'])
  fileBuilder.dest('./')


  const scriptBuilder = builder.script()
  scriptBuilder.base('scripts')
  scriptBuilder.use(['test', 'build'])

  builder.run()

}

main()
```

---
_Source: https://npm.io/package/project-builder · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
