mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-05-01 08:52:26 +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')
|
const path = require('path')
|
||||||
|
|
||||||
|
/** @type {import('aegir').Options["build"]["config"]} */
|
||||||
const esbuild = {
|
const esbuild = {
|
||||||
inject: [path.join(__dirname, 'test/fixtures/node-globals.js')]
|
inject: [path.join(__dirname, 'test/fixtures/node-globals.js')]
|
||||||
}
|
}
|
||||||
module.exports = {
|
|
||||||
|
|
||||||
|
/** @type {import('aegir').PartialOptions} */
|
||||||
|
const config = {
|
||||||
tsRepo: true,
|
tsRepo: true,
|
||||||
docs: {
|
docs: {
|
||||||
entryPoint: "src/index.ts"
|
entryPoint: "src/index.ts"
|
||||||
@ -15,7 +20,9 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
bundlesizeMax: '228KB',
|
bundlesizeMax: '214KB',
|
||||||
config: esbuild
|
config: esbuild
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
module.exports = config
|
||||||
|
@ -44,8 +44,7 @@
|
|||||||
"events": "^3.2.0",
|
"events": "^3.2.0",
|
||||||
"microtime": "^3.0.0",
|
"microtime": "^3.0.0",
|
||||||
"mocha": "^8.2.1",
|
"mocha": "^8.2.1",
|
||||||
"sinon": "^9.2.4",
|
"sinon": "^9.2.4"
|
||||||
"typescript": "^4.1.4"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bcrypto": "^5.4.0",
|
"bcrypto": "^5.4.0",
|
||||||
@ -71,7 +70,8 @@
|
|||||||
"@typescript-eslint/strict-boolean-expressions": "off"
|
"@typescript-eslint/strict-boolean-expressions": "off"
|
||||||
},
|
},
|
||||||
"ignorePatterns": [
|
"ignorePatterns": [
|
||||||
"src/proto/payload.js"
|
"src/proto/payload.js",
|
||||||
|
"test/fixtures/node-globals.js"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user