1
2
3
4
5
6
7
8
9
10
11
12
13
14
| const path = require('path')
| // 用户home目录
| const home = require('os').homedir()
| const clientRecordPath = path.join(home, 'hap-toolkit-client-records.json')
| module.exports = {
| projectPath: process.cwd(),
| clientRecordPath,
| sourceRoot: './src', // 源码根目录
| signRoot: './sign', // 证书签名路径
| releasePath: './dist', // 快应用包目录
| outputPath: './build', // 输出目录,
| dataCoverage: './.nyc_output', // 项目运行的代码覆盖率数据
| server: { port: 8000 }
| }
|
|