chore: prettier cjs files in root dir

This commit is contained in:
fryorcraken.eth 2022-12-12 22:14:26 +11:00
parent 8f01a453f7
commit 98ac346325
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 5 additions and 3 deletions

View File

@ -13,12 +13,14 @@ module.exports = [
{ {
name: "ECIES encryption", name: "ECIES encryption",
path: "packages/message-encryption/bundle/ecies.js", path: "packages/message-encryption/bundle/ecies.js",
import: "{ generatePrivateKey, createEncoder, createDecoder, DecodedMessage }", import:
"{ generatePrivateKey, createEncoder, createDecoder, DecodedMessage }",
}, },
{ {
name: "Symmetric encryption", name: "Symmetric encryption",
path: "packages/message-encryption/bundle/symmetric.js", path: "packages/message-encryption/bundle/symmetric.js",
import: "{ generateSymmetricKey, createEncoder, createDecoder, DecodedMessage }", import:
"{ generateSymmetricKey, createEncoder, createDecoder, DecodedMessage }",
}, },
{ {
name: "DNS discovery", name: "DNS discovery",

View File

@ -133,7 +133,7 @@
"*.ts": [ "*.ts": [
"eslint --fix" "eslint --fix"
], ],
"*.{ts,json,js,md}": [ "*.{ts,json,js,md,cjs}": [
"prettier --write" "prettier --write"
] ]
} }