diff --git a/package.json b/package.json index a18142b..4d644f1 100644 --- a/package.json +++ b/package.json @@ -2,16 +2,11 @@ "name": "libcrypto", "description": "Various crypto utils for encryption, signature, ...", "version": "1.0.0", - "author": "Pascal Perrenoud ", - "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" + ] } diff --git a/test/init.ts b/test/init.ts index 02ef1b1..d9bed51 100644 --- a/test/init.ts +++ b/test/init.ts @@ -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)