# truffle-conflux-workflow-compile

> Core workflow behavior for `truffle compile` command

Latest version **0.0.2-alpha.0** (published 2019-09-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install truffle-conflux-workflow-compile
pnpm add truffle-conflux-workflow-compile
yarn add truffle-conflux-workflow-compile
bun add truffle-conflux-workflow-compile
```

## Health

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

Positive: no vulnerabilities; popular repo.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2-alpha.0 |
| Published | 2019-09-24 |
| First published | 2019-09-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Unpacked size | 16.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 13905 |
| Author | Truffle Suite |
| Maintainers | liuis |

## Links

- npm: https://www.npmjs.com/package/truffle-conflux-workflow-compile
- Repository: https://github.com/trufflesuite/truffle/tree/master/packages/truffle-conflux-workflow-compile
- Homepage: https://github.com/trufflesuite/truffle/tree/master/packages/truffle-conflux-workflow-compile#readme
- Issues: https://github.com/trufflesuite/truffle/issues
- npm.io page: https://npm.io/package/truffle-conflux-workflow-compile

## Dependencies (9)

- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.1
- [fs-extra](https://npm.io/package/fs-extra.md) ^7.0.1
- [truffle-conflux-config](https://npm.io/package/truffle-conflux-config.md) 0.0.2-alpha.0
- [truffle-conflux-expect](https://npm.io/package/truffle-conflux-expect.md) 0.0.2-alpha.0
- [truffle-conflux-compile](https://npm.io/package/truffle-conflux-compile.md) 0.0.2-alpha.0
- [truffle-conflux-resolver](https://npm.io/package/truffle-conflux-resolver.md) 0.0.2-alpha.2
- [truffle-conflux-artifactor](https://npm.io/package/truffle-conflux-artifactor.md) 0.0.2-alpha.0
- [truffle-conflux-compile-vyper](https://npm.io/package/truffle-conflux-compile-vyper.md) 0.0.2-alpha.0
- [truffle-conflux-external-compile](https://npm.io/package/truffle-conflux-external-compile.md) 0.0.2-alpha.0

## Recent versions

- 0.0.2-alpha.0 (latest) — 2019-09-24

## README

# truffle-conflux-workflow-compile
Core workflow logic for the `truffle compile` command behavior

### install

```
$ npm install truffle-conflux-workflow-compile
```

### Usage

```javascript
const Contracts = require("truffle-conflux-workflow-compile");

// expected config object
const config = {
  contracts_directory: "/users/myPath/to/contracts", // dir where contracts are located
  contracts_build_directory: "/users/myPath/to/buildDir" // dir where contract artifacts will be saved
};

// compiles contracts found in contracts_directory,
// saves them in contracts_build_directory
Contracts.compile(config)
  .then(() => console.log("Compilation complete!"))
  .catch(e => console.error(e))
```

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