-
Notifications
You must be signed in to change notification settings - Fork 0
/
.neo-one.config.ts
55 lines (54 loc) · 2.74 KB
/
.neo-one.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import { defaultNetworks } from '@neo-one/cli';
export default {
contracts: {
// The NEO•ONE compile command will output the compile results in this directory.
outDir: 'neo-one/compiled',
// NEO•ONE will look for smart contracts in this directory.
path: 'neo-one/contracts',
// Set this to true if you want the compile command to output JSON.
json: true,
// Set this to true if you want the compile command to output a Nef (Neo Executable Format 3) file.
nef: true,
// Set this to true if you want the compile command to output additional debug information.
debug: true,
// Set this to true if you want the compile command to output the contract's script in a human-readable format for debugging (requires debug: true).
opcodes: true,
},
artifacts: {
// NEO•ONE will store build and deployment artifacts that should be checked in to vcs in this directory.
path: 'neo-one/artifacts',
},
migration: {
// NEO•ONE will load the deployment migration from this path.
path: 'neo-one/migration.ts',
},
codegen: {
// NEO•ONE will write source artifacts to this directory. This directory should be committed.
path: 'src/neo-one',
// NEO•ONE will generate code in the language specified here. Can be one of 'javascript' or 'typescript'.
language: 'typescript',
// NEO•ONE will generate client helpers for the framework specified here. Can be one of 'react', 'angular', 'vue' or 'none'.
framework: 'react',
// Set this to true if you're using an environment like Expo that doesn't handle browserifying dependencies automatically.
browserify: false,
// Set this to true if you're running in codesandbox to workaround certain limitations of codesandbox.
codesandbox: false,
},
network: {
// NEO•ONE will store network data here. This path should be ignored by your vcs, e.g. by specifiying it in a .gitignore file.
path: '.neo-one/network',
// NEO•ONE will start the network on this port.
port: 9040,
},
// NEO•ONE will configure various parts of the CLI that require network accounts using the value provided here, for example, when deploying contracts.
// Refer to the documentation at https://neo-one.io/docs/config-options for more information.
networks: defaultNetworks,
neotracker: {
// NEO•ONE will start an instance of NEO Tracker using this path for local data. This directory should not be committed.
path: '.neo-one/neotracker',
// NEO•ONE will start an instance of NEO Tracker using this port.
port: 9041,
// Set to false if you'd like NEO•ONE to start an instance of NEO Tracker when running 'neo-one build'. You will need @neotracker/core installed as a dependency for this to work.
skip: true,
}
};