Use modern template

This commit is contained in:
2026-01-22 10:26:18 +01:00
parent 56fab67974
commit f338e82e72
10 changed files with 123 additions and 34 deletions
+23 -5
View File
@@ -2,14 +2,32 @@
"name": "logger-console",
"description": "Logger to console, for client and server",
"version": "1.0.0",
"author": "Pascal Perrenoud <pascal@pband.ch>",
"module": "index.ts",
"type": "module",
"files": ["index.ts"],
"scripts": {
"check": "clear ; npm run typecheck && npm run lint && npm run check:fmt && clear && echo 'OK'",
"check:fmt": "npx prettier -c **/*.{js,jsx,ts,tsx}",
"fmt": "prettier --write **/*.{js,jsx,ts,tsx}",
"lint": "eslint **/*.{js,jsx,ts,tsx}",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"log": "git+https://git.pband.ch/typescript/log.git"
"log": "git+ssh://git@git.pband.ch:typescript/log.git"
},
"devDependencies": {
"@eslint/js": "^9.35.0",
"eslint": "^9.35.0",
"globals": "^16.4.0",
"jiti": "^2.5.1",
"prettier": "^3.6.2",
"typescript": "^5.9.2",
"typescript-eslint": "^8.43.0"
},
"type": "module",
"main": "./src/index.ts",
"exports": {
".": "./src/index.ts"
}
}