fmt
This commit is contained in:
+12
-9
@@ -2,16 +2,11 @@
|
||||
"name": "libcrypto",
|
||||
"description": "Various crypto utils for encryption, signature, ...",
|
||||
"version": "1.0.0",
|
||||
|
||||
"author": "Pascal Perrenoud <pascal@pband.ch>",
|
||||
|
||||
"module": "index.ts",
|
||||
"type": "module",
|
||||
"files": ["index.ts", "src"],
|
||||
|
||||
"scripts": {
|
||||
"test": "bun test"
|
||||
"fmt": "prettier --config .prettierrc '**/*.ts' --write",
|
||||
"test": "bun test",
|
||||
"fmt": "prettier --config .prettierrc '**/*.ts' --write"
|
||||
},
|
||||
|
||||
"dependencies": {
|
||||
@@ -23,6 +18,14 @@
|
||||
"devDependencies": {
|
||||
"@happy-dom/global-registrator": "^14.10.2",
|
||||
"@types/bun": "^1.1.2",
|
||||
"logger-console": "git+https://git.pband.ch/typescript/logger-console.git"
|
||||
}
|
||||
"logger-console": "git+https://git.pband.ch/typescript/logger-console.git",
|
||||
"prettier": "^3.3.3"
|
||||
},
|
||||
|
||||
"module": "index.ts",
|
||||
"type": "module",
|
||||
"files": [
|
||||
"index.ts",
|
||||
"src"
|
||||
]
|
||||
}
|
||||
|
||||
+1
-4
@@ -1,8 +1,5 @@
|
||||
import {GlobalRegistrator} from '@happy-dom/global-registrator'
|
||||
import {Console} from 'logger-console'
|
||||
import {writers, Level} from 'log'
|
||||
|
||||
GlobalRegistrator.register()
|
||||
|
||||
const logger = new Console({ minLevel: Level.DEBUG, with_color: true })
|
||||
const logger = new Console({minLevel: Level.TRACE, with_color: true})
|
||||
writers.set('console', logger)
|
||||
|
||||
Reference in New Issue
Block a user