forked from ensdomains/ens-app-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ens-test-env.config.js
42 lines (40 loc) · 1.1 KB
/
ens-test-env.config.js
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
require('dotenv').config({ path: process.env.INIT_CWD + '/.env.local' })
require('dotenv').config({
path: process.env.INIT_CWD + '/.env',
override: true,
})
require('dotenv').config({
path: process.env.INIT_CWD + '/.env.development.local',
override: true,
})
process.env.ADDRESS_ETH_REGISTRAR = '0xc5a5C42992dECbae36851359345FE25997F5C42d'
process.env.ADDRESS_NAME_WRAPPER = '0x9E545E3C0baAB3E08CdfD552C960A1050f373042'
process.env.BATCH_GATEWAY_URLS = JSON.stringify([
'https://universal-offchain-unwrapper.ens-cf.workers.dev/',
])
/**
* @type {import('@ensdomains/ens-test-env').ENSTestEnvConfig}
**/
module.exports = {
deployCommand: 'pnpm hardhat deploy',
buildCommand: 'pnpm build:glocal',
scripts: [
{
command: 'pnpm start',
name: 'nextjs',
prefixColor: 'magenta.bold',
},
{
command: `pnpm wait-on http://localhost:3000 && ${
process.env.CI ? 'pnpm synpress:ci' : 'pnpm synpress:start'
}`,
name: 'synpress',
prefixColor: 'yellow.bold',
env: process.env,
finishOnExit: true,
},
],
paths: {
data: './data',
},
}