mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-04-24 16:32:17 +00:00
fix: aegir types
This commit is contained in:
parent
5d36667b0c
commit
c23ba08f58
11
.aegir.js
11
.aegir.js
@ -1,8 +1,13 @@
|
||||
const path = require('path')
|
||||
|
||||
/** @type {import('aegir').Options["build"]["config"]} */
|
||||
const esbuild = {
|
||||
inject: [path.join(__dirname, 'test/fixtures/node-globals.js')]
|
||||
}
|
||||
module.exports = {
|
||||
|
||||
|
||||
/** @type {import('aegir').PartialOptions} */
|
||||
const config = {
|
||||
tsRepo: true,
|
||||
docs: {
|
||||
entryPoint: "src/index.ts"
|
||||
@ -15,7 +20,9 @@ module.exports = {
|
||||
}
|
||||
},
|
||||
build: {
|
||||
bundlesizeMax: '228KB',
|
||||
bundlesizeMax: '214KB',
|
||||
config: esbuild
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = config
|
||||
|
@ -44,8 +44,7 @@
|
||||
"events": "^3.2.0",
|
||||
"microtime": "^3.0.0",
|
||||
"mocha": "^8.2.1",
|
||||
"sinon": "^9.2.4",
|
||||
"typescript": "^4.1.4"
|
||||
"sinon": "^9.2.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"bcrypto": "^5.4.0",
|
||||
@ -71,7 +70,8 @@
|
||||
"@typescript-eslint/strict-boolean-expressions": "off"
|
||||
},
|
||||
"ignorePatterns": [
|
||||
"src/proto/payload.js"
|
||||
"src/proto/payload.js",
|
||||
"test/fixtures/node-globals.js"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user