1 Star 0 Fork 0

filecoin-project/js-ipfs

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.aegir.js 981 Bytes
一键复制 编辑 原始数据 按行查看 历史
Alex Potsides 提交于 2020-11-09 23:05 +08:00 . chore: update-deps (#3367)
'use strict'
const EchoServer = require('aegir/utils/echo-server')
const echoServer = new EchoServer()
module.exports = {
bundlesize: { maxSize: '13kB' },
karma: {
files: [
{
pattern: 'node_modules/interface-ipfs-core/test/fixtures/**/*',
watched: false,
served: true,
included: false
},
{
pattern: 'dist/**/*',
watched: true,
served: true,
included: false
}
],
browserNoActivityTimeout: 210 * 1000,
singleRun: true,
captureConsole: true,
logLevel: 'LOG_DEBUG',
mocha: {
bail: true
}
},
hooks: {
browser: {
pre: async () => {
await echoServer.start()
return {
env: {
IPFS_WORKER_URL: `/base/dist/worker.bundle.js`,
ECHO_SERVER: `http://${echoServer.host}:${echoServer.port}`
}
}
},
post: async () => {
await echoServer.stop()
}
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ipfs2/js-ipfs.git
git@gitee.com:ipfs2/js-ipfs.git
ipfs2
js-ipfs
js-ipfs
master

搜索帮助