NEO•ONE requires no configuration to get started, but you can customize certain aspects of the toolchain.
NEO•ONE uses cosmiconfig to load configuration with the name
one. This means that you can configure the toolchain using
- "one" as a property in
- an "rc file" named "one" with extensions
Options use dot syntax to indicate an object property. For example,
paths.contracts means the
contracts property of the object at the
paths property of the root configuration object.
This options tells NEO•ONE where your smart contracts are located.
NEO•ONE uses this directory for all generated files that should be checked in with the project. The files generated here will typically also be used in your smart contract tests and in your dapp.
By default, NEO•ONE generates TypeScript source files in the
paths.generated directory. Set this option to
true to instead generate pure